Audit log
The Axiom server keeps a tamper-evident audit log of sign-ins and of account, case and server administration. This page lists what is recorded, how to view and export it, how the hash chain and Verify integrity work, and how to rotate the file.
Where it lives
The log is audit.jsonl in the server's data volume, one JSON object per line, appended as events happen. audit-head.json beside it records where the chain ends. Only the server writes either file; never edit them by hand, or the integrity check will report it.
Each entry has these fields:
| Field | Meaning |
|---|---|
at | When it happened, in UTC |
kind | The event type (below) |
actor | Who did it, or the username typed at a failed sign-in |
ip | The client address, as described in Gateway and certificates |
detail | Event-specific text, such as the affected username or case ID |
prev, hash | The hash chain (below) |
Free text is capped: the actor at 256 bytes and the detail at 1,024.
What is recorded
| Kind | Recorded when |
|---|---|
login_ok | A sign-in succeeds (detail: api or portal) |
signout | A sign-out ends a live session, from the app or the portal. Never a token; an already-ended session's sign-out is not recorded |
login_fail | A sign-in, a two-factor code, or the current-password check of a password change fails |
login_locked | An attempt is refused with 429 during a lockout, with when the lock ends |
user_created | An admin creates an account |
user_disabled, user_enabled | An admin disables or re-enables an account |
admin_granted, admin_revoked | An admin changes an account's admin flag |
password_reset | An admin resets a password |
password_self_change | A user changes their own password |
sessions_revoked | A user ends their own other sessions from the portal's Your sessions card, one or all. The detail is a count, never a token |
mfa_setup_started, mfa_enabled, mfa_disabled | A user starts setting up two-factor sign-in, turns it on, or turns it off |
mfa_disable_fail | A wrong code when turning two-factor sign-in off |
mfa_reset | An admin resets someone's two-factor sign-in |
team_created, team_renamed, team_deleted, user_teams_changed | An admin manages teams or changes the teams an account is on |
checklist_template_added, checklist_template_changed, checklist_template_removed | An admin manages the team's checklist templates |
tools_changed | An admin changes which companion tools an account can open |
email_changed | An admin sets, changes or removes an account's email address (detail: set, changed or removed — never the address) |
knowngood_added, knowngood_removed, knowngood_imported | An admin adds, removes or pastes entries on the known-good list. The detail has the kind and value of each entry, never its note |
kg_proposed, kg_approved, kg_denied | An analyst proposes a known-good entry from the portal, or an admin approves or denies the proposal. The detail has the kind and value, never the reason or the deny note |
sso_signin | An account signs in to a tool (Portainer) through single sign-on |
sso_config_changed, sso_secret_rotated, sso_client_refused | An admin changes a tool's single sign-on settings or secret, or a tool presents a wrong secret |
signup_requested | Someone confirms the email address on an account request |
signup_approved, signup_denied | An admin approves or denies an account request |
mail_config_changed, mail_test | An admin saves the email settings or sends a test email (never the mail password) |
digest_test | An admin sends themselves a test of the weekly digest |
inv_shared, inv_deleted | A case is shared to the server, or deleted |
inv_invite, inv_role_changed, inv_member_removed | Case membership changes |
inv_closed, inv_reopened | A case is closed or reopened |
inv_lead_set, inv_lead_cleared | A case's lead analyst is set, changed or cleared (the detail names the new lead's username) |
inv_retention_closed | A stale case is closed under retention, by an admin or, for an automatic close, the actor retention |
reminder_added, reminder_changed, reminder_done, reminder_deleted | A member sets, changes, completes or deletes a reminder on a shared case. The detail has the case, reminder and assignee, never the reminder's title |
comment_added, comment_deleted | A comment on a node of a shared case is added or deleted. The detail is the case, node and comment IDs (and who an added comment mentions), never the comment's text |
lock_forced | An admin force-releases someone else's edit lock |
release_upload, release_withdraw | An app release is published or withdrawn |
xsiam_config_updated | An admin saves the XSIAM settings (never the key) |
xsiam_ioc_add, xsiam_ioc_enrich, xsiam_ioc_bulk | The XSIAM tenant accepts an IOC write |
audit_verified, audit_verify_failed | An admin runs Verify integrity |
Account changes are recorded only once they are saved. Not recorded: case saves, added search results, taking or releasing your own edit lock, reading or searching a case, XSIAM lookups, and refused account changes. Each analyst's AxiomSearch also keeps its own local audit log of searches, exports, reports and sharing.
Viewing the log
The Security → Audit log section of the admin page shows the newest 200 entries, newest first, with columns When (UTC), Event, Actor, IP and Detail. Click Refresh to reload it. Events whose kind contains fail, locked or forced are highlighted, so failed sign-ins, lockouts, forced lock releases and failed integrity checks stand out.
The same 200 entries are available to admins from GET /api/audit.
Exporting the log
The admin page shows only the newest entries. To take a full copy, for a SIEM or an investigation, copy the file out of the running container:
docker cp axiom-server:/data/audit.jsonl ./axiom-audit-2026-10-19.jsonl
Every backup of the data volume includes it too. Each line is a standalone JSON object, so most log tools can ingest the file directly.
Hash chain and Verify integrity
Every entry carries prev, the hash of the entry before it, and ends with hash, the SHA-256 of the entry's own bytes. So:
- editing an entry breaks its own hash;
- removing, inserting or reordering entries breaks the next entry's
prev; - cutting entries off the end shows up against
audit-head.json, which records the last hash and the file's size after every append.
Click Verify integrity under Security → Audit log (or Verify now in the Health card on the Overview) to check the whole file. It reports either "Intact" with the number of entries and a fingerprint, or "Integrity check FAILED" with what broke and on which line. The check itself is audited as audit_verified or audit_verify_failed. Entries written by an older server before chaining existed are reported as sealed by the first chained entry.
Tip: Record the fingerprint now and then outside the server, for example in a ticket. Someone who can write the data volume could rebuild the whole chain, but a fingerprint you recorded earlier that no longer appears in the log catches that.
If a check fails, keep the file as evidence, find out what changed it, and then restore it from a backup or rotate it to start a new file.
Rotation
The log is never rotated automatically and grows with every event, including every failed sign-in from anyone who can reach a sign-in page. Check its size now and then. To start a new file, move the current one aside inside the data folder:
docker exec axiom-server mv /data/audit.jsonl /data/audit-2026-10-19.jsonl
No restart is needed: the server opens the file for each event and creates a new one on the next event. Leave audit-head.json where it is. The new file's first entry chains to the moved file's last one, and Verify integrity names the file it continues from, as long as that file stays in /data with a name that starts with audit and contains .jsonl. If it isn't there, for example because you moved it off the server, the check warns, because emptying the log looks the same as rotating it.
The admin page shows only the current file. Rotated files stay in the volume and in backups.