pub struct AuditEntry {
pub timestamp: String,
pub caller_id: String,
pub target_id: String,
pub decision: String,
pub reason: String,
pub matched_rule: Option<String>,
pub matched_rule_index: Option<usize>,
pub identity_type: Option<String>,
pub roles: Vec<String>,
pub call_depth: Option<usize>,
pub trace_id: Option<String>,
pub handler_error: Option<String>,
}Expand description
Audit log entry produced by ACL checks.
Fields§
§timestamp: String§caller_id: String§target_id: String§decision: String§reason: String§matched_rule: Option<String>§matched_rule_index: Option<usize>§identity_type: Option<String>§roles: Vec<String>§call_depth: Option<usize>§trace_id: Option<String>§handler_error: Option<String>Error message from a condition handler that panicked or returned an error during evaluation, if any. Cross-language parity with apcore-python AuditEntry.handler_error and apcore-typescript AuditEntry.handlerError (sync finding A-D-024).
Trait 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 (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 AuditEntry
impl Debug for AuditEntry
Source§impl<'de> Deserialize<'de> for AuditEntry
impl<'de> Deserialize<'de> for AuditEntry
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
Auto Trait Implementations§
impl Freeze for AuditEntry
impl RefUnwindSafe for AuditEntry
impl Send for AuditEntry
impl Sync for AuditEntry
impl Unpin for AuditEntry
impl UnsafeUnpin 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