pub struct SandboxAuditEntry {
pub timestamp: String,
pub agent_id: String,
pub action: String,
pub target: String,
pub allowed: bool,
pub reason: Option<String>,
}Expand description
Audit log entry for a sandbox decision.
Fields§
§timestamp: StringTimestamp (ISO 8601).
agent_id: StringAgent identifier.
action: StringAction attempted (e.g., “file_read”, “network_connect”, “tool_invoke”).
target: StringTarget of the action (e.g., file path, URL, tool name).
allowed: boolWhether the action was allowed.
reason: Option<String>Reason for denial (if denied).
Implementations§
Trait Implementations§
Source§impl Clone for SandboxAuditEntry
impl Clone for SandboxAuditEntry
Source§fn clone(&self) -> SandboxAuditEntry
fn clone(&self) -> SandboxAuditEntry
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 SandboxAuditEntry
impl Debug for SandboxAuditEntry
Source§impl<'de> Deserialize<'de> for SandboxAuditEntry
impl<'de> Deserialize<'de> for SandboxAuditEntry
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 SandboxAuditEntry
impl RefUnwindSafe for SandboxAuditEntry
impl Send for SandboxAuditEntry
impl Sync for SandboxAuditEntry
impl Unpin for SandboxAuditEntry
impl UnsafeUnpin for SandboxAuditEntry
impl UnwindSafe for SandboxAuditEntry
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