Common finding type produced by any analyzer (static, behavioral, MCP, semantic). Converted to Finding for graph state; use severity, location, tags for consistency.
| 45 | |
| 46 | @dataclass |
| 47 | class AnalyzerFinding: |
| 48 | """ |
| 49 | Common finding type produced by any analyzer (static, behavioral, MCP, semantic). |
| 50 | Converted to Finding for graph state; use severity, location, tags for consistency. |
| 51 | """ |
| 52 | |
| 53 | rule_id: str |
| 54 | message: str |
| 55 | severity: Severity |
| 56 | location: Location |
| 57 | confidence: float = 0.5 |
| 58 | remediation: str | None = None |
| 59 | tags: list[str] = field(default_factory=list) |
| 60 | context: str | None = None |
| 61 | matched_text: str | None = None |
| 62 | |
| 63 | |
| 64 | @dataclass |
no outgoing calls