veirox audit

Inspect the immutable audit log

Synopsis

veirox audit <subcommand> [args] [flags]

Description

Inspect the immutable audit log

Subcommands

CommandDescription
veirox audit exportExport audit logs
veirox audit listList audit log entries
veirox audit statsShow audit log stats

veirox audit export

Export audit logs

FlagTypeDefaultDescription
--action-prefixstringfilter actions starting with this prefix
--formatstringcsvexport format: csv | json
--fromstringstart of date range
--tostringend of date range
veirox audit export --format csv

veirox audit list

List audit log entries

FlagTypeDefaultDescription
--action-prefixstringfilter actions starting with this prefix (e.g. auth., project.)
--actor-idstringfilter by actor uuid
--fromstringstart of date range (ISO8601 or RFC3339)
--limitint0page size
--offsetint0pagination offset
--resource-idstringfilter by resource uuid
--resource-typestringfilter by resource type (e.g. project, task, secret)
--sortstringdescsort order: asc | desc
--tostringend of date range (ISO8601 or RFC3339)
veirox audit list --action-prefix auth. --limit 50

veirox audit stats

Show audit log stats

FlagTypeDefaultDescription
--daysint7trailing window in days
veirox audit stats --days 30

Exit codes

CodeMeaning
0Success.
1Generic error (network, API 5xx).
2Validation error (bad flag, missing required arg).
3Unauthenticated — run veirox login or set VEIROX_API_KEY.
4Not found (resource does not exist in this project).
5Permission denied (your role / API key lacks the scope).

See also