pub struct LicenseComplianceControl;Expand description
Validates that no copyleft-licensed dependencies exist without explicit approval.
Maps to SOC2 CC7.1: monitor and evaluate system components. Copyleft licenses (GPL, AGPL, SSPL) impose distribution obligations that may conflict with proprietary licensing. This control flags copyleft dependencies for legal review.
Evaluation:
- Satisfied: no copyleft dependencies detected
- Violated: one or more copyleft dependencies found
Trait Implementations§
Source§impl Control for LicenseComplianceControl
impl Control for LicenseComplianceControl
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.
Source§fn remediation_hint(&self) -> Option<&'static str>
fn remediation_hint(&self) -> Option<&'static str>
Actionable remediation hint shown when the control fails or needs review.
Auto Trait Implementations§
impl Freeze for LicenseComplianceControl
impl RefUnwindSafe for LicenseComplianceControl
impl Send for LicenseComplianceControl
impl Sync for LicenseComplianceControl
impl Unpin for LicenseComplianceControl
impl UnsafeUnpin for LicenseComplianceControl
impl UnwindSafe for LicenseComplianceControl
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