pub enum SandboxDenialConfidence {
Captured,
PolicyCorroborated,
SandboxReported,
OutputClassified,
Unknown,
}Expand description
How strong the evidence behind a denial is. A denial the sandbox itself recorded is a fact; one inferred from a command’s output text is a judgement, and an analysis that cannot tell them apart will treat a false positive as enforcement.
Variants§
Captured
The sandbox’s own denial capture recorded the refused access. The strongest evidence available: the kernel observed it, not the runtime.
PolicyCorroborated
The command named a path that the effective policy independently denies. No capture confirmed it, but the policy did.
SandboxReported
The failure carried a fingerprint the sandbox itself emits, so the sandbox is known to have refused something even though the resource was not confirmed.
OutputClassified
Classified from the command’s own output text alone. The weakest evidence: a command that merely prints sandbox-like wording reaches this level.
Unknown
Unknown variant for forward compatibility.
Trait Implementations§
Source§impl Clone for SandboxDenialConfidence
impl Clone for SandboxDenialConfidence
Source§impl Debug for SandboxDenialConfidence
impl Debug for SandboxDenialConfidence
Source§impl Default for SandboxDenialConfidence
impl Default for SandboxDenialConfidence
Source§impl<'de> Deserialize<'de> for SandboxDenialConfidence
impl<'de> Deserialize<'de> for SandboxDenialConfidence
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
impl Eq for SandboxDenialConfidence
Source§impl PartialEq for SandboxDenialConfidence
impl PartialEq for SandboxDenialConfidence
Source§impl Serialize for SandboxDenialConfidence
impl Serialize for SandboxDenialConfidence
impl StructuralPartialEq for SandboxDenialConfidence
Auto Trait Implementations§
impl Freeze for SandboxDenialConfidence
impl RefUnwindSafe for SandboxDenialConfidence
impl Send for SandboxDenialConfidence
impl Sync for SandboxDenialConfidence
impl Unpin for SandboxDenialConfidence
impl UnsafeUnpin for SandboxDenialConfidence
impl UnwindSafe for SandboxDenialConfidence
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
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> DeserializeOwned for Twhere
T: for<'de> Deserialize<'de>,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
key and return true if they are equal.