Overview
defenseclaw-gateway audit — Inspect and export the local audit database.
Reference
Synopsis
audit
Subcommands
| Subcommand | Description |
|---|---|
export | Export audit_events as JSONL (v7 schema) |
Description
Inspect and export the local audit database
defenseclaw-gateway audit export
Synopsis
export
Description
Write one JSON object per line. Each audit row is validated against schemas/audit-event.json before it is written. With --include-activity, append rows from activity_events validated against activity-event.json.
Flags
| Flag | Type | Default | Description |
|---|---|---|---|
--include-activity | bool | — | Append activity_events payloads (activity-event.json) after audit lines |
--limit | int | 0 | Max audit rows (0 = unlimited) |
-o, --output | string | - | Output file path, or '-' for stdout |
Usage
Concrete invocation recipes are added by the cli-commands subagents.
Pair this with the equivalent Python wrapper command under
Python CLI — most gateway operations are
also available one layer up.