Skip to content
Vaulthalla LogoVaulthalla

vh audit

Reference for vh audit - list, verify and export the tamper-evident audit trail.

vh audit reads the tamper-evident audit trail: who did what, hash-chained and signed. All three commands need the view audits admin permission and are themselves recorded. Dates are YYYY-MM-DD (UTC) or Unix seconds. See Audit Trail.

1vh audit list [--action <prefix>] [--since <date>] [--until <date>] [--limit <n>] [--json]2vh audit verify [--json]3vh audit export [--since <date>] [--until <date>] > audit.ndjson

Commands

vh audit
CommandArgumentsAliasesEffectSummary
ls, showreadRecent audit events, newest first.
checkreadRecompute the audit hash chain and check every signed head.
readWrite events as NDJSON (vh-audit-export-v1) to stdout, with their hashes and the signed heads that cover them, so the file verifies offline (tools/audit/verify_export.py).

vh audit list

vh audit list [options]
vh audit list
OptionAliasesTypeDefaultSummary
prefixOnly actions starting with this ("auth.", "rbac.").
n50How many events (1..1000).
numberOnly one paired device: what it did (under whatever scope) and what was done to it; its number from vh device list --all.
idOnly one connector grant: its tool calls and its own events; its id.
timeFrom this time: YYYY-MM-DD (UTC) or Unix seconds.
timeBefore this time: YYYY-MM-DD (UTC) or Unix seconds.
flagPrint the result as JSON (the ws shapes).

vh audit verify

vh audit verify [--json]

verify exits with status 1 when the trail was altered; the output names the first bad event.

vh audit verify
OptionAliasesTypeDefaultSummary
flagPrint the result as JSON (the ws shapes).

vh audit export

vh audit export [--since <time>] [--until <time>]
vh audit export
OptionAliasesTypeDefaultSummary
timeFrom this time: YYYY-MM-DD (UTC) or Unix seconds.
timeBefore this time: YYYY-MM-DD (UTC) or Unix seconds.