AxiomSearch

Wiki › Admin guide

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:

FieldMeaning
atWhen it happened, in UTC
kindThe event type (below)
actorWho did it, or the username typed at a failed sign-in
ipThe client address, as described in Gateway and certificates
detailEvent-specific text, such as the affected username or case ID
prev, hashThe hash chain (below)

Free text is capped: the actor at 256 bytes and the detail at 1,024.

What is recorded

KindRecorded when
login_okA sign-in succeeds (detail: api or portal)
signoutA 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_failA sign-in, a two-factor code, or the current-password check of a password change fails
login_lockedAn attempt is refused with 429 during a lockout, with when the lock ends
user_createdAn admin creates an account
user_disabled, user_enabledAn admin disables or re-enables an account
admin_granted, admin_revokedAn admin changes an account's admin flag
password_resetAn admin resets a password
password_self_changeA user changes their own password
sessions_revokedA 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_disabledA user starts setting up two-factor sign-in, turns it on, or turns it off
mfa_disable_failA wrong code when turning two-factor sign-in off
mfa_resetAn admin resets someone's two-factor sign-in
team_created, team_renamed, team_deleted, user_teams_changedAn admin manages teams or changes the teams an account is on
checklist_template_added, checklist_template_changed, checklist_template_removedAn admin manages the team's checklist templates
tools_changedAn admin changes which companion tools an account can open
email_changedAn admin sets, changes or removes an account's email address (detail: set, changed or removed — never the address)
knowngood_added, knowngood_removed, knowngood_importedAn 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_deniedAn 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_signinAn account signs in to a tool (Portainer) through single sign-on
sso_config_changed, sso_secret_rotated, sso_client_refusedAn admin changes a tool's single sign-on settings or secret, or a tool presents a wrong secret
signup_requestedSomeone confirms the email address on an account request
signup_approved, signup_deniedAn admin approves or denies an account request
mail_config_changed, mail_testAn admin saves the email settings or sends a test email (never the mail password)
digest_testAn admin sends themselves a test of the weekly digest
inv_shared, inv_deletedA case is shared to the server, or deleted
inv_invite, inv_role_changed, inv_member_removedCase membership changes
inv_closed, inv_reopenedA case is closed or reopened
inv_lead_set, inv_lead_clearedA case's lead analyst is set, changed or cleared (the detail names the new lead's username)
inv_retention_closedA stale case is closed under retention, by an admin or, for an automatic close, the actor retention
reminder_added, reminder_changed, reminder_done, reminder_deletedA 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_deletedA 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_forcedAn admin force-releases someone else's edit lock
release_upload, release_withdrawAn app release is published or withdrawn
xsiam_config_updatedAn admin saves the XSIAM settings (never the key)
xsiam_ioc_add, xsiam_ioc_enrich, xsiam_ioc_bulkThe XSIAM tenant accepts an IOC write
audit_verified, audit_verify_failedAn 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.