pub struct ActionsPinnedDependenciesControl;Expand description
Validates that GitHub Actions workflow uses: references are pinned to commit SHAs.
Maps to SOC2 CC7.1 / PI1.4: prevent supply-chain attacks via mutable action tags.
Unpinned action references (e.g. actions/checkout@v4) can be silently replaced
by a compromised upstream, whereas SHA-pinned references are immutable.
Evaluation:
- Satisfied: no unpinned action references found
- Violated: one or more workflow files contain unpinned
uses:references
Trait Implementations§
Source§impl Control for ActionsPinnedDependenciesControl
impl Control for ActionsPinnedDependenciesControl
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 ActionsPinnedDependenciesControl
impl RefUnwindSafe for ActionsPinnedDependenciesControl
impl Send for ActionsPinnedDependenciesControl
impl Sync for ActionsPinnedDependenciesControl
impl Unpin for ActionsPinnedDependenciesControl
impl UnsafeUnpin for ActionsPinnedDependenciesControl
impl UnwindSafe for ActionsPinnedDependenciesControl
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