Skip to content

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 100

Verify 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 verify

The 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 ​

FlagWhat it doesDefaultAllowed valuesApplies in
-sinceOnly records newer than this.noneduration, for example 24hall
-actorOnly this actor.noneaccount nameall
-actionOnly actions starting with this.noneprefix, for example ha.all
-nMost records returned, newest first.50numberall

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.