pub trait ControlProfile {
// Required methods
fn name(&self) -> &str;
fn map(&self, finding: &ControlFinding) -> ProfileOutcome;
// Provided method
fn severity_labels(&self) -> SeverityLabels { ... }
}Expand description
Maps raw control findings to severity and gate decisions for a given policy.
Required Methods§
fn name(&self) -> &str
fn map(&self, finding: &ControlFinding) -> ProfileOutcome
Provided Methods§
fn severity_labels(&self) -> SeverityLabels
Dyn Compatibility§
This trait is dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".