pub struct SecretScanningPushProtectionControl;Expand description
Validates that secret scanning push protection is enabled.
Maps to PCI DSS Req 3.5.1, NIST SI-7, SOC2 CC6.1 / CC6.6. Push protection actively blocks credential commits at push time, going beyond detection-only secret scanning.
Requires secret scanning to be enabled as a prerequisite.
Trait Implementations§
Source§impl Control for SecretScanningPushProtectionControl
impl Control for SecretScanningPushProtectionControl
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 SecretScanningPushProtectionControl
impl RefUnwindSafe for SecretScanningPushProtectionControl
impl Send for SecretScanningPushProtectionControl
impl Sync for SecretScanningPushProtectionControl
impl Unpin for SecretScanningPushProtectionControl
impl UnsafeUnpin for SecretScanningPushProtectionControl
impl UnwindSafe for SecretScanningPushProtectionControl
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