#[non_exhaustive]pub enum RuntimeEvidence {
Show 31 variants
Redirect {
target: String,
},
PopupOpen {
target: String,
},
WebSocket {
url: String,
operation: String,
payload_preview: String,
},
WebRtc {
operation: String,
target: String,
payload_preview: String,
},
WorkerSpawn {
worker_type: String,
script_url: String,
},
NetworkRequest {
url: String,
method: String,
},
DomMutation {
target: String,
operation: String,
value: String,
},
CookieAccess {
operation: String,
name: String,
},
DynamicCodeExec {
source: String,
code_preview: String,
},
CssExfiltration {
selector: String,
url: String,
trigger: String,
},
FingerprintAccess {
api: String,
detail: String,
},
WasmInstantiation {
module_size: usize,
},
ContextMessage {
from_context: String,
to_context: String,
payload_preview: String,
},
CredentialForm {
action: String,
password_field: bool,
},
ServiceWorkerRegister {
script_url: String,
},
NotificationPermissionRequest,
NotificationCreate {
title: String,
},
PaymentRequest {
stage: String,
},
ClipboardAccess {
operation: String,
content_preview: String,
},
GeolocationAccess {
operation: String,
},
CryptoOperation {
operation: String,
detail: String,
},
IndexedDbOpen {
name: String,
},
TrustedTypesPolicy {
name: String,
},
StorageWrite {
area: String,
key: String,
},
TimerScheduled {
delay_ms: u32,
is_interval: bool,
},
SchedulerTask {
operation: String,
priority: String,
},
InputMonitor {
event_type: String,
},
Dialog {
dialog_type: String,
message: String,
},
NavigationTrap {
trap_type: String,
message: String,
},
ResourceLimit {
limit_kind: String,
detail: String,
},
Error {
message: String,
},
}Expand description
Machine-consumable runtime evidence derived from one observation.
This is intentionally narrower than Observation. It captures the stable
security-relevant fact consumers can fuse into their own risk models.
Variants (Non-exhaustive)§
This enum is marked as non-exhaustive
Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.
Redirect
PopupOpen
WebSocket
WebRtc
WorkerSpawn
NetworkRequest
DomMutation
CookieAccess
DynamicCodeExec
CssExfiltration
FingerprintAccess
WasmInstantiation
ContextMessage
CredentialForm
ServiceWorkerRegister
NotificationPermissionRequest
NotificationCreate
PaymentRequest
ClipboardAccess
GeolocationAccess
CryptoOperation
IndexedDbOpen
TrustedTypesPolicy
StorageWrite
TimerScheduled
SchedulerTask
InputMonitor
Dialog
ResourceLimit
Error
Trait Implementations§
Source§impl Clone for RuntimeEvidence
impl Clone for RuntimeEvidence
Source§fn clone(&self) -> RuntimeEvidence
fn clone(&self) -> RuntimeEvidence
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for RuntimeEvidence
impl Debug for RuntimeEvidence
Source§impl<'de> Deserialize<'de> for RuntimeEvidence
impl<'de> Deserialize<'de> for RuntimeEvidence
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>,
Deserialize this value from the given Serde deserializer. Read more
impl Eq for RuntimeEvidence
Source§impl PartialEq for RuntimeEvidence
impl PartialEq for RuntimeEvidence
Source§impl Serialize for RuntimeEvidence
impl Serialize for RuntimeEvidence
impl StructuralPartialEq for RuntimeEvidence
Auto Trait Implementations§
impl Freeze for RuntimeEvidence
impl RefUnwindSafe for RuntimeEvidence
impl Send for RuntimeEvidence
impl Sync for RuntimeEvidence
impl Unpin for RuntimeEvidence
impl UnsafeUnpin for RuntimeEvidence
impl UnwindSafe for RuntimeEvidence
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
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
Compare self to
key and return true if they are equal.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§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
Source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more