pub struct MergeCommitPolicyControl;Expand description
Verifies that source revisions follow a linear history policy (no merge commits).
Maps to SOC2 CC8.1: change management process integrity. Merge commits in a change request indicate non-linear history (e.g. merging the base branch into the feature branch), which can obscure the audit trail and make it harder to review individual changes.
Trait Implementations§
Source§impl Control for MergeCommitPolicyControl
impl Control for MergeCommitPolicyControl
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 MergeCommitPolicyControl
impl RefUnwindSafe for MergeCommitPolicyControl
impl Send for MergeCommitPolicyControl
impl Sync for MergeCommitPolicyControl
impl Unpin for MergeCommitPolicyControl
impl UnsafeUnpin for MergeCommitPolicyControl
impl UnwindSafe for MergeCommitPolicyControl
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