MCPcopy Create free account
hub / github.com/ParzivalHack/PySpector / Issue

Class Issue

src/pyspector/_rust_core/src/issues.rs:16–37  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

14#[pyclass]
15#[derive(Debug, Clone)]
16pub struct Issue {
17 #[pyo3(get)]
18 pub rule_id: String,
19 #[pyo3(get)]
20 pub description: String,
21 #[pyo3(get)]
22 pub file_path: String,
23 #[pyo3(get)]
24 pub line_number: usize,
25 #[pyo3(get)]
26 pub code: String,
27 #[pyo3(get)]
28 pub severity: Severity,
29 #[pyo3(get)]
30 pub confidence: String,
31 #[pyo3(get)]
32 pub remediation: String,
33 /// CWE identifier inherited from the rule (e.g. "CWE-502"). Used for
34 /// cross-rule dedup and downstream SARIF/JSON output.
35 #[pyo3(get)]
36 pub cwe: Option<String>,
37}
38
39// This new block exposes methods to Python
40#[pymethods]

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected