//! Audit sink abstraction.
//!
//! Decouples audit event recording from the file-based JSON-lines
//! implementation in `a3s-box-runtime`. Implementations can write to
//! any backend: files, databases, SIEM systems, cloud logging, etc.
use crateAuditEvent;
use crateResult;
/// Abstraction over audit event recording.
///
/// The runtime calls `record` whenever a security-relevant action occurs
/// (box creation, exec commands, image pulls, etc.). Implementations
/// decide how and where to persist these events.
///
/// # Thread Safety
///
/// Implementations must be `Send + Sync`. Concurrent `record` calls
/// must be safe.