pub enum AuditEvent {
Show 13 variants
ProcExec {
ts_ms: u64,
pid: u32,
ppid: u32,
comm: String,
},
ProcExit {
ts_ms: u64,
pid: u32,
comm: String,
},
NetDns {
ts_ms: u64,
domain: String,
qtype: u16,
resolved_ips: Vec<String>,
decision: String,
proc: Option<ProcInfo>,
},
NetConnect {
ts_ms: u64,
ip: String,
domain: Option<String>,
port: u16,
decision: String,
proc: Option<ProcInfo>,
},
NetTlsSni {
ts_ms: u64,
ip: String,
port: u16,
sni: String,
proc: Option<ProcInfo>,
},
NetTlsDecrypted {
ts_ms: u64,
ip: String,
domain: Option<String>,
port: u16,
method: String,
direction: String,
http_summary: Option<String>,
preview: String,
bytes: usize,
proc: Option<ProcInfo>,
},
NetHttp {
ts_ms: u64,
ip: String,
port: u16,
method: String,
path: String,
host: Option<String>,
proc: Option<ProcInfo>,
},
NetClose {
ts_ms: u64,
ip: String,
domain: Option<String>,
port: u16,
bytes_tx: u64,
bytes_rx: u64,
duration_ms: u64,
proc: Option<ProcInfo>,
},
FsOp {
ts_ms: u64,
mount: String,
op: String,
path: String,
target_path: Option<String>,
bytes: Option<usize>,
sensitive: bool,
decision: String,
proc: Option<ProcInfo>,
},
VmPaused {
ts_ms: u64,
reason: String,
},
VmResumed {
ts_ms: u64,
paused_ms: u64,
},
ApprovalRequired {
ts_ms: u64,
approval_id: u64,
kind: ApprovalKind,
target: String,
detail: Option<String>,
proc: Option<ProcInfo>,
},
ApprovalResolved {
ts_ms: u64,
approval_id: u64,
kind: ApprovalKind,
target: String,
decision: ApprovalDecision,
},
}Expand description
Structured host-side audit event emitted outside the guest VM (untamperable by guest root).
Variants§
ProcExec
ProcExit
NetDns
Fields
NetConnect
Fields
NetTlsSni
NetTlsDecrypted
Fields
NetHttp
Fields
NetClose
Fields
FsOp
Fields
VmPaused
VmResumed
ApprovalRequired
Fields
§
kind: ApprovalKindApprovalResolved
Trait Implementations§
Source§impl Clone for AuditEvent
impl Clone for AuditEvent
Source§impl Debug for AuditEvent
impl Debug for AuditEvent
Auto Trait Implementations§
impl Forget for AuditEvent
impl Freeze for AuditEvent
impl Move for AuditEvent
impl RefUnwindSafe for AuditEvent
impl Send for AuditEventwhere
RawVecInner: Send,
impl Sync for AuditEventwhere
RawVecInner: Sync,
impl Unpin for AuditEvent
impl UnsafeUnpin for AuditEventwhere
*const u8 is !null: UnsafeUnpin,
PhantomData<u8>: UnsafeUnpin,
PhantomData<String>: UnsafeUnpin,
impl UnwindSafe for AuditEventwhere
RawVecInner: UnwindSafe,
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,
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