Skip to main content

ControlProfile

Trait ControlProfile 

Source
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§

Source

fn name(&self) -> &str

Source

fn map(&self, finding: &ControlFinding) -> ProfileOutcome

Provided Methods§

Implementors§