CI / Check (push) Skipped
CI / Check (pull_request) Successful in 5m59s
CI / Detect Changes (pull_request) Skipped
CI / Deploy Agent (pull_request) Skipped
CI / Deploy Dashboard (pull_request) Skipped
CI / Deploy Docs (pull_request) Skipped
CI / Deploy MCP (pull_request) Skipped
After the deterministic tools run, the orchestrator's new control_triage stage stamps each finding with the compliance control(s) it is evidence for and flags control false positives. triage_repo_findings builds control specs from the ingested OSCAL catalog, reads a code window per finding, and runs ControlTriage (control-map LUT -> grounded judge). Adds Finding.control_refs (serde default); the ground gate stamps it. Opt-in via BREAKPILOT_BASE_URL. 2 region tests. Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
19 lines
625 B
Rust
19 lines
625 B
Rust
//! Controls corpus providers.
|
|
//!
|
|
//! Implementations of [`compliance_core::traits::ControlsProvider`] that supply
|
|
//! the control corpus the mapping engine assesses findings against. Currently:
|
|
//! [`OscalControlsProvider`], which pulls breakpilot-compliance's OSCAL catalog
|
|
//! and snapshots it locally.
|
|
|
|
mod checker;
|
|
mod judge;
|
|
mod oscal_provider;
|
|
mod scan_triage;
|
|
mod triage;
|
|
|
|
pub use checker::GroundedControlChecker;
|
|
pub use judge::{ControlJudge, LlmControlJudge, PROMPT_VERSION};
|
|
pub use oscal_provider::OscalControlsProvider;
|
|
pub use scan_triage::triage_repo_findings;
|
|
pub use triage::{ControlTriage, TriageOutcome};
|