pub struct PrivilegedOperationAuditControl;Expand description
Surfaces privileged operations from two evidence sources:
- Structured git events (force push, admin bypass, tag/branch deletion)
- Agent action log commands matched against notable patterns
This control does not enforce policy — it makes operations visible. The OPA profile decides whether each finding is pass/review/fail.
Trait Implementations§
Source§impl Control for PrivilegedOperationAuditControl
impl Control for PrivilegedOperationAuditControl
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 PrivilegedOperationAuditControl
impl RefUnwindSafe for PrivilegedOperationAuditControl
impl Send for PrivilegedOperationAuditControl
impl Sync for PrivilegedOperationAuditControl
impl Unpin for PrivilegedOperationAuditControl
impl UnsafeUnpin for PrivilegedOperationAuditControl
impl UnwindSafe for PrivilegedOperationAuditControl
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