pub struct AuditEntry {
pub timestamp: String,
pub action: String,
pub rule_ids: Vec<String>,
pub command_redacted: String,
pub bypass_requested: bool,
pub bypass_honored: bool,
pub interactive: bool,
pub policy_path: Option<String>,
pub event_id: Option<String>,
pub tier_reached: u8,
}Expand description
An audit log entry.
Fields§
§timestamp: String§action: String§rule_ids: Vec<String>§command_redacted: String§bypass_requested: bool§bypass_honored: bool§interactive: bool§policy_path: Option<String>§event_id: Option<String>§tier_reached: u8Trait Implementations§
Source§impl Clone for AuditEntry
impl Clone for AuditEntry
Source§fn clone(&self) -> AuditEntry
fn clone(&self) -> AuditEntry
Returns a duplicate of the value. Read more
1.0.0 · 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 AuditEntry
impl Debug for AuditEntry
Auto Trait Implementations§
impl Freeze for AuditEntry
impl RefUnwindSafe for AuditEntry
impl Send for AuditEntry
impl Sync for AuditEntry
impl Unpin for AuditEntry
impl UnwindSafe for AuditEntry
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