Skip to main content

Module external

Module external 

Expand description

External-findings integration — parse, store, and fuse external SARIF scanner output with CodeLore’s behavioral signal.

§Entry point

sarif_parse::parse_sarif_with_engines converts a raw SARIF 2.1.0 JSON string into a Vec<ExternalFinding> plus the list of scanner engine names present across all runs. Each finding is normalized to a repo-relative path and carries a stable fingerprint derived from the dialect-appropriate source (partialFingerprints → fingerprints → self-hash fallback), which absorbs the fingerprint-field variance across SARIF 2.1.0 producers.

Re-exports§

pub use sarif_parse::ExternalFinding;
pub use sarif_parse::parse_sarif_with_engines;
pub use store::ExternalStore;
pub use store::PathFindings;

Modules§

sarif_parse
SARIF 2.1.0 subset parser for external scanner findings.
store
Sidecar DuckDB store for external scanner findings.

Functions§

group_findings_by_engine
Group a flat list of findings by engine name.