pub struct DependencyProvenanceControl;Expand description
Verifies that all dependencies have cryptographic provenance (Dependencies L2).
Requires every dependency to have:
VerificationOutcome::Verified(not justChecksumMatch)source_repopresent (provenance links to source)
This is stricter than L1 (dependency-signature) which accepts checksum-only verification.
Registry scoping: Only evaluates dependencies from registries that support
cryptographic provenance (L2+). Dependencies from checksum-only registries
(e.g. crates.io) are excluded to avoid false positives. If all dependencies
are from checksum-only registries, the control returns NotApplicable.
Trait Implementations§
Source§impl Control for DependencyProvenanceControl
impl Control for DependencyProvenanceControl
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 DependencyProvenanceControl
impl RefUnwindSafe for DependencyProvenanceControl
impl Send for DependencyProvenanceControl
impl Sync for DependencyProvenanceControl
impl Unpin for DependencyProvenanceControl
impl UnsafeUnpin for DependencyProvenanceControl
impl UnwindSafe for DependencyProvenanceControl
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