Skip to content
Cisco AI Defense logo
CiscoAI Security

defenseclaw audit — DefenseClaw

Overview

defenseclaw audit — Audit trail helpers (activity logging).

Reference

Synopsis

defenseclaw audit [OPTIONS]

Subcommands

SubcommandDescription
log-activityRecord a config or operator mutation via Logger.log_activity.

Description

Audit trail helpers (activity logging)

defenseclaw audit log-activity

Record a config or operator mutation via Logger.log_activity

Options

FlagTypeDefaultEnv varRequiredDescription
--payload-filefileSentinel.UNSETyesJSON payload written by the TUI on config save (before/after snapshots).

Usage

Record an activity event

defenseclaw audit log-activity --payload-file activity-event.json

The Python CLI currently exposes activity logging. Exporting the audit database is handled by the gateway binary:

defenseclaw-gateway audit export --output audit.jsonl --include-activity

See Audit store for the persisted schema.

Related