pub struct DecisionRecord {Show 19 fields
pub call_index: u64,
pub seq: u64,
pub at_micros: u64,
pub caller: String,
pub capability: String,
pub context: Value,
pub context_truncated: bool,
pub context_digest: u64,
pub allowed: bool,
pub action: DecisionAction,
pub cause: DecisionCause,
pub near_misses: Vec<NearMissRecord>,
pub source: String,
pub rule: Option<usize>,
pub reason: Option<String>,
pub entry_path: EntryPath,
pub line: Option<SourceLine>,
pub filtered: bool,
pub payload_dropped: bool,
}Fields§
§call_index: u64§seq: u64§at_micros: u64§caller: String§capability: String§context: ValueCapped; see DecisionLogConfig::max_context_value_bytes.
context_truncated: bool§context_digest: u64Hash of the full context, kept when the payload copy is dropped.
allowed: bool§action: DecisionAction§cause: DecisionCause§near_misses: Vec<NearMissRecord>§source: StringThe audit’s source: policy, invariant, read_only, quota, egress_guard.
rule: Option<usize>§reason: Option<String>§entry_path: EntryPath§line: Option<SourceLine>§filtered: boolA denial the host function swallowed to filter a listing.
payload_dropped: boolThe context and near misses were dropped to stay within the recorder’s byte budget.
Trait Implementations§
Source§impl Clone for DecisionRecord
impl Clone for DecisionRecord
Source§impl Debug for DecisionRecord
impl Debug for DecisionRecord
Source§impl<'de> Deserialize<'de> for DecisionRecord
impl<'de> Deserialize<'de> for DecisionRecord
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 DecisionRecord
impl RefUnwindSafe for DecisionRecord
impl Send for DecisionRecord
impl Sync for DecisionRecord
impl Unpin for DecisionRecord
impl UnsafeUnpin for DecisionRecord
impl UnwindSafe for DecisionRecord
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