Skip to content

Accounts and audit ​

These commands manage the accounts that can sign in to the console and the API, and read and verify the audit log.

waap admin init ​

Creates the first administrator. It works only when no account exists. It asks for the password: twice on a terminal, or one line from standard input.

sh
waap admin init -user NAME

waap admin add ​

Adds an account. -apps limits it to some applications. The default is every application.

sh
waap admin add -user NAME -role admin|operator|viewer [-apps A,B]

waap admin password ​

Sets a new password and ends the account's sessions. Use it to recover a lost administrator password.

sh
waap admin password -user NAME

waap audit list ​

Lists audit records, newest first. The default is 50.

sh
waap audit list [-since 24h] [-actor NAME] [-action PREFIX] [-n N]

waap audit verify ​

Checks every audit hash chain (one per node). Exit code 1 if a record was edited, deleted or inserted.

sh
waap audit verify