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

audit.ini [AuditBridgeSettings]

The settings of [AuditBridgeSettings] in audit.ini: Bridge

Download as PDF

Address: https://doc.exponential.earth/exphelp/viewer/examples/ini-settings/audit/AuditBridgeSettings.md

On this page

audit.ini [AuditBridgeSettings]

The block [AuditBridgeSettings] of settings/audit.ini, with 1 setting(s).

Never edit settings/audit.ini itself: an update replaces it. Put the settings you change in an override, which wins over the shipped file:

  • settings/override/audit.ini.append.php for every siteaccess,
  • settings/siteaccess/<siteaccess>/audit.ini.append.php for one siteaccess,
  • extension/<extension>/settings/audit.ini.append.php in an extension (read when the extension is active).

Bridge

ezpEvent bridge (Z3): record an existing kernel event as an audit event.
Bridge[<ezpEvent name>]=<audit name>
The listener records after.args, the event's arguments made scalar (numbers and short strings as they are,
objects as class#id); the arguments of session/* events are session ids and only ever recorded hashed. A
filter event's value is passed through unchanged. Extensions add their own events the same way, e.g.
Bridge[myext/vote]=content.myext_poll.vote (with the branch registered in [AuditEventSettings] Branches[])
Kernel events of the catalogue are raised directly where they happen; the bridge is for the events that exist
only as ezpEvents. The two session events below are off by default (Disabled[]); switching them on in
[AuditEventSettings] Enabled[] is all it takes.

Default: a hash of 3: session/regenerate=access.session.regenerate, session/destroy=access.session.expire, session/gc=access.session.expire.

<?php /* #?ini charset="utf-8"?
# settings/override/audit.ini.append.php
[AuditBridgeSettings]
# an empty "Bridge[]" first replaces the shipped list; without it the items are added
Bridge[]
Bridge[session/regenerate]=access.session.regenerate
Bridge[session/destroy]=access.session.expire
Bridge[session/gc]=access.session.expire
*/ ?>

Generated by ./console exp:help:examples from settings/audit.ini. Do not edit this page: change the source and generate again (how). Free documentation: GFDL 1.3 or later.

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