maqpna llamay verify-audit
Verify llamay's hash-chained request audit, offline
Synopsis#
maqpna llamay verify-audit [--continuation] FILE... [-o json]Description#
From the help of maqpna llamay:
verify-audit checks a llamay request audit (llamay serve -audit FILE): every record's SHA-256 and its link to the one before. Give rotated files oldest first. Exit code 3 when the chain is broken. The gateway anchors the same chain in its ledger with llamay.auditAnchors (docs/integrations/llamay.md).
Flags#
| Flag | Type | Description | Default |
|---|---|---|---|
--continuation | switch | the first file continues an earlier one (llamay serve -audit-continue) | none |
The global flags (--context, -o, --no-color, ...) work with every command.
Examples#
# Verify llamay's hash-chained request audit (rotated files oldest first)
maqpna llamay verify-audit /var/log/llamay/audit.jsonl
maqpna llamay verify-audit --continuation audit-2027-02.jsonl audit-2027-03.jsonl -o jsonWhat happens when you run it#
- Prints a table by default;
-o jsonor-o yamlprint the data, and--jq EXPRfilters the JSON.
Exit codes#
| Code | Meaning |
|---|---|
0 | success |
1 | error (the message says what failed, with a hint when there is one) |
2 | usage error: unknown flag, missing argument or bad value; the synopsis is printed |
3 | a check failed, a change is blocked, or a result did not match (tamper, policy mismatch) (not used by this command) |