pub struct EnvironmentProtectionRulesControl;Expand description
Validates that production/release environments have required reviewer protection rules.
Maps to SOC2 CC6.1 / CC8.1: enforce separation of duties for production deployments. GitHub environment protection rules ensure that deployments to production require explicit approval from designated reviewers.
Evaluation:
- Satisfied: production environment has required reviewer rules
- Violated: production environment lacks required reviewer rules
- Indeterminate: branch protection is not configured (cannot assess environment rules)
Trait Implementations§
Source§impl Control for EnvironmentProtectionRulesControl
impl Control for EnvironmentProtectionRulesControl
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 EnvironmentProtectionRulesControl
impl RefUnwindSafe for EnvironmentProtectionRulesControl
impl Send for EnvironmentProtectionRulesControl
impl Sync for EnvironmentProtectionRulesControl
impl Unpin for EnvironmentProtectionRulesControl
impl UnsafeUnpin for EnvironmentProtectionRulesControl
impl UnwindSafe for EnvironmentProtectionRulesControl
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