Skip to content

Exponential CMS

The audit log

Who did what, in a tamper-evident log: what is recorded, who may read it, the command line, alerts and archives.

Exponential 6.0.15 records security-relevant events in a tamper-evident log: sign-ins and refusals, content changes, settings writes, cache clears, deploys, orders and tax changes. It is on by default, needs no setup, and can be read in the administration or from the command line.

Why you want it

  • Answer "who removed this?": a subtree removal is one parent event with one child per node.
  • Notice trouble early: alert rules watch for brute-force sign-ins, an administrator role being granted, settings written out of hours, mass deletes, the audit being switched off and a broken chain.
  • Prove the record is intact: every record carries the hash of the one before it, and daily files are archived and listed in signed manifests.
  • Respect privacy: addresses are truncated, sessions hashed and query values removed. Passwords, tokens and secrets are never recorded.

Channels

  • content: publish, move, copy, remove, hide, sections, states, trash, versions, URL aliases, classes, content jobs.
  • access: sign-in, failed sign-in, refused view, account lock, role assignment, password reset.
  • system: settings writes, cache clears, cronjob runs, commands, package installs, maintenance, deploys.
  • commerce: orders, payments (never card data), tax, currencies, discounts, exports and imports.
  • read: sampled node views, searches and downloads, only when reads are switched on.

The files live in var/<site>/log/audit/. The main channels keep 90 days live and 730 days archived by default; read keeps 30 and 90. Override in settings/override/audit.ini.append.php.

Try it

./console exp:audit status
./console exp:audit tail --channel=access --name='access.session.*' --lines=3
./console exp:audit verify        # exit 1 when a chain is broken

In the administration, the Audit tab shows a dashboard and a console with filters. exp:audit also has show, search, rotate, archive, restore, export, alerts and more.

Three things to do once

  1. Make sure the frequent cronjob part runs every few minutes. It indexes, delivers to sinks, evaluates alerts and, once a day, rotates, verifies and archives. See Cron jobs.
  2. Check who gets alert mail: ./console exp:audit alerts recipients. The default is the site's AdminEmail.
  3. Back up settings/override/audit.ini.append.php: it holds the signing and pseudonym keys.

Who may look

Two policies of the audit module: audit/read (the tab, dashboard, console, charts and export, optionally limited by channel) and audit/manage (archives, settings and Verify now). Only Administrator holds them in a new installation. A refused attempt is itself recorded.

When the log cannot be written

OnWriteFailure=continue (the default) keeps the site running and warns on the dashboard, so a full disk does not take the site down. With refuse, security-relevant actions are refused while their channel cannot be written, so nothing important happens unrecorded.

Sinks can forward records to syslog, a signed webhook or e-mail on critical events.

Last updated 11/26/2026. Something missing or wrong? Write to info@se7enx.com.