pub struct CodeownersCoverageControl;Expand description
Validates that a CODEOWNERS file exists and provides meaningful coverage.
Maps to SOC2 CC6.1: logical access controls ensure that code changes to sensitive areas are routed to designated owners for review. Also an ASPM signal — code ownership coverage reduces unreviewed blast radius.
Evaluation tiers:
- Satisfied: catch-all pattern exists, OR 3+ targeted entries (intentional ownership)
- Violated: no entries, or fewer than 3 entries without catch-all
Trait Implementations§
Source§impl Control for CodeownersCoverageControl
impl Control for CodeownersCoverageControl
Source§fn description(&self) -> &'static str
fn description(&self) -> &'static str
Human-readable description for SARIF rule output.
Source§fn evaluate(&self, evidence: &EvidenceBundle) -> Vec<ControlFinding>
fn evaluate(&self, evidence: &EvidenceBundle) -> Vec<ControlFinding>
Evaluates the evidence bundle and returns one finding per subject.
Source§fn tsc_criteria(&self) -> &'static [&'static str]
fn tsc_criteria(&self) -> &'static [&'static str]
SOC2 Trust Services Criteria this control maps to (e.g., &[“CC6.1”, “CC8.1”]).
Returns empty slice for controls not mapped to SOC2.
Auto Trait Implementations§
impl Freeze for CodeownersCoverageControl
impl RefUnwindSafe for CodeownersCoverageControl
impl Send for CodeownersCoverageControl
impl Sync for CodeownersCoverageControl
impl Unpin for CodeownersCoverageControl
impl UnsafeUnpin for CodeownersCoverageControl
impl UnwindSafe for CodeownersCoverageControl
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more