What it records#
Administration → Audit log (administrators) lists, newest first:
- Access — sign-ins and sign-outs (with the way in: password, passkey, single sign-on), failed attempts and lockouts, second factors switched on and off, passkeys added and removed, recovery codes, password resets, refused single sign-on attempts.
- Actions — every change to accounts, projects and their members and resources, MCP servers, domains, backups and their schedules and targets, connectors, the system settings (two-factor policy, visibility, updates), and the actions on infrastructure, databases and Redis, with the values before and after; accounts created and roles changed by single sign-on; exports of the audit log itself.
Each entry says who did it (or the address that was typed, for a failed attempt), on what, from which address and with which browser. Filter by kind, event, person, address and dates; open an entry for its details; Export CSV downloads what the filters show.
Kept the way the GDPR asks#
| How | |
|---|---|
| Retention | Entries older than AUDIT_RETENTION_DAYS (365) are deleted every night by the scheduler (model:prune). |
| Addresses | AUDIT_MASK_IP=true keeps only the network: IPv4 /24, IPv6 /48. AUDIT_STORE_USER_AGENT=false keeps no browser. |
| Secrets | Passwords, tokens, client secrets, recovery codes and codes by email never reach an entry. |
| Erasure | Deleting an account replaces its name and email with a pseudonym (Deleted account #…) and drops address and browser, in every entry about it and in the failed attempts typed with its address: what happened stays, who it was does not. |
Turn the log off with AUDIT_ENABLED=false — not recommended: it is how you answer “who did this?” and how you notice someone guessing passwords.
