Skip to main content

Module audit

Module audit 

Source
Expand description

ai-memory audit — operator-facing CLI for the security audit trail (PR-5 of issue #487).

Subcommands:

  • verify — walk the configured audit log and assert the hash chain is intact. Exits non-zero on any mismatch with the precise line number and failure kind.
  • tail — print recent audit events in JSON or text form.
  • path — print the resolved audit log path. Useful for SIEM ingestion configuration scripts.

Structs§

AuditArgs
ShowArgs
TailArgs
VerifyArgs

Enums§

AuditAction

Functions§

run
ai-memory audit entry point. Returns the desired process exit code so the caller can surface a non-zero status from the top-level dispatch without panicking.