Verify the audit trail
This task is for administrators and audit owners, weekly, after an incident and before handing records to anyone. At the end you have proof that the record was not edited or cut. Background: Audit trail verification.
Contents
Before you start
- Shell access, or
audit/managefor Verify now in the browser.
Steps
./console exp:audit status --allow-root-user
./console exp:audit verify --allow-root-user
./console exp:audit verify --archives --allow-root-user # also every archived daystatus lists each channel (content, access, system, commerce, read) with files, bytes, records today and
the chain state. verify prints INTACT per channel; exit code 0 intact, 1 broken, 2 error. In the browser: Audit
tab, dashboard, Verify now.
For one day of one channel: --channel=access --date=2026-10-01.
Reading the result
| Result | Do |
|---|---|
Every channel INTACT | keep the output with your weekly record or the evidence package |
BROKEN | do not edit or remove anything; note file, line and kind; copy the audit directory somewhere safe; compare with syslog or webhook copies; treat as a possible incident (Suspected account compromise) |
| Error (exit 2) | the audit directory or keys cannot be read; check permissions and settings/override/audit.ini.append.php |
A crash or a full disk can damage the last line of a file; the audit guide explains each kind of break (audit guide, section 4.4).
Related pages
- Export audit records for an auditor
- Check who gets audit alerts
- Audit trail archives and backups
- Audit trail (hosting)
- Free documentation: this page is free to copy, translate and improve under the GNU FDL 1.3.
Become an Exponential Partner
Partners share their information, provide funding, contribute back and develop the products with us, and that is how Exponential grows. A partner website and dashboard are planned for mid-2027: please become a partner today to speed up our growth rate and land new features faster.