Skip to the content
Documentation
Help Start
Reading in:
  • German: 9,221 of 9,224 pages
About the help in other languages
All help pages

Audit alerts and their recipients

For administrators of public sites - the seven alert rules Exponential ships (brute force, administrator role granted, settings changed out of hours, mass delete, audit switched off, broken chain), who receives the…

Download as PDF

Address: https://doc.exponential.earth/exphelp/viewer/help/government/security/audit-alerts-and-recipients.md

On this page

Audit alerts and their recipients

This page is for administrators who make sure that a serious event on a public site reaches a person. The audit trail evaluates alert rules over its records; each firing is recorded as system.audit.alert and sent to syslog and mail (4.5 Alerts and their recipients).

Contents

  1. The shipped rules
  2. Who gets the mail
  3. Routing alerts to your security team
  4. Testing and tuning
  5. Related pages

The shipped rules

From settings/audit.ini [AuditAlertSettings] Rules[]:

RuleFires whenSeveritySent to
brute_force20 failed sign-ins from one network within 5 minutescriticalsyslog, mail
brute_force_user10 failed sign-ins for one account within 15 minutesalertsyslog, mail
admin_role_granteda role with */*, setup/*, role/* or audit/manage is assignedcriticalsyslog, mail
settings_out_of_hoursa setting is written outside business hourswarningsyslog
mass_delete500 nodes removed by one user within 10 minutes (children counted)criticalsyslog, mail
audit_disabledthe audit is switched offemergencysyslog, mail
chain_brokenverification finds a broken chainalertsyslog, mail

Alerts are evaluated by the cronjob part (the frequent group): if it does not run, no alert fires.

Who gets the mail

The first of these that is set:

  1. the rule's own [AlertRule_<rule>] Recipients[];
  2. [AuditAlertSettings] Recipients[];
  3. [AuditSink_mail] Receivers[] (older name);
  4. admin, which is site.ini [MailSettings] AdminEmail.

Recipients can be admin, an address, group:<name> (a list in [AlertRecipients_<name>]), user:<id>, login:<login>, usergroup:<id>, or role:<name or id>. Disabled users and invalid addresses are left out. Mail goes from the cronjob part only, one per recipient, at most one per rule and recipient within 900 seconds.

Routing alerts to your security team

In settings/override/audit.ini.append.php:

[AuditAlertSettings]
Recipients[]
Recipients[]=group:security

[AlertRecipients_security]
Addresses[]
Addresses[]=[email protected]
Recipients[]
Recipients[]=role:Administrator

Use a team mailbox rather than one person's address, so alerts are seen during absences. Then check:

./console exp:audit alerts recipients --allow-root-user
./console exp:audit alerts recipients --rule=admin_role_granted --allow-root-user

The command lists every address with the entries that produced it and any problem (an unknown group, a disabled user).

Testing and tuning

  • Replay a rule against a past day before changing it: ./console exp:audit alerts test mass_delete --replay=<YYYY-MM-DD> --allow-root-user.
  • Business hours for settings_out_of_hours are [AuditAlertSettings] BusinessDays=1-5 and BusinessHours=7-19 as shipped (in the site's time zone); match them to your office.
  • Look at fired alerts in the Audit tab under Alerts (/audit/alerts).
  • Write down, for each rule, who acts and how (see "Incident response" in this section).

Become an Exponential Partner

Partners share their information, provide funding, contribute back and develop the products with us, and that is how Exponential grows. A partner website and dashboard are planned for mid-2027: please become a partner today to speed up our growth rate and land new features faster.

Something wrong on this page? Report an error

Documentation license

This documentation is free documentation, licensed under the GNU Free Documentation License 1.3 or later.

Exponential Copyright © 1998-2026 Exponential Foundation and 7x