Appearance
Audit log Since v0.1
The audit log records every change and every refused attempt: logins, applies, rollbacks, bans, accounts, tokens and pair operations. It also records system events: start, reloads, inspection services connecting, and the pair peer being reached or lost. Each record has actor, role, source, action, target and result. Request bodies are never recorded.
Before you begin
- Role:
admin.
View the log
text
1. Open System > Audit log.
2. Search by Who and Action starts with, and by time.sh
waap audit list -since 24h
waap audit list -actor olga -action ha. -n 100Verify the log
Records form one hash chain per node, so a changed or removed record is detected.
text
1. Open System > Audit log, Integrity.
2. Read the result. A broken chain shows Tampering detected.sh
waap audit verifyThe command exits with code 1 if a record was edited, deleted or inserted.
Newest records
Deleting the newest records leaves a valid shorter chain. Compare the last sequence number and hash with your SIEM's copy. For details, see SIEM export.
Settings reference
waap audit list
| Flag | What it does | Default | Allowed values | Applies in |
|---|---|---|---|---|
-since | Only records newer than this. | none | duration, for example 24h | all |
-actor | Only this actor. | none | account name | all |
-action | Only actions starting with this. | none | prefix, for example ha. | all |
-n | Most records returned, newest first. | 50 | number | all |
Troubleshooting
waap audit verify exits with 1
- Cause: a record was edited, deleted or inserted, or the database was restored from an older copy.
- Check: the command names the node and the sequence number where the chain breaks.
- Fix: compare with your SIEM's copy of the audit stream. Treat it as a security incident until explained.