Expand description
System-wide audit trail
Every action taken by the server — API calls, tool executions, session operations, cognition decisions — is recorded in a tamper-evident append-only log. Entries are held in a bounded in-memory ring buffer and optionally flushed to a JSONL file on disk.
Structs§
- Audit
Entry - A single entry in the audit log.
- Audit
Log - Thread-safe, append-only audit log.
Enums§
- Audit
Category - Categories of auditable actions.
- Audit
Outcome - Outcome of an audited action.
Functions§
- audit_
log - Get the global audit log (panics if not initialized).
- init_
audit_ log - Initialize the global audit log.
- try_
audit_ log - Get the global audit log if initialized.