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

Patterns in kernel/classes/audit

Every class, view, fetch function, operator and plugin point of kernel/classes/audit with its design patterns.

Download as PDF

Address: https://doc.exponential.earth/learninminutes/exphelp/viewer/standards/patterns/area-kernel-classes-audit.md

Patterns in kernel/classes/audit

Note

This page is generated from the source code by php bin/php/exppatterncatalogue.php --write. Do not edit it by hand: change the code or the generator, then run the command again. How the patterns are recognized: the pattern catalogue.

Every class, interface and trait of kernel/classes/audit with the patterns it was recognized as, followed by the module views, policy functions, fetch functions, template operators, cronjobs, event hooks and INI plugin points of the area. All patterns.

Classes (54)

ClassKindPatternsFileDescription
expAuditclassFactory and static factory methods, Registry, Utility (static helper)kernel/classes/audit/expaudit.php:26The audit: what happens in Exponential, recorded as hash-chained JSON lines per channel (doc/eng-us/bc/6.0/audit.md, "The developer API (Z3)").
expAuditAlertEvaluatorclassUtility (static helper)kernel/classes/audit/alerts/expauditalertevaluator.php:23Evaluates the alert rules (doc/eng-us/bc/6.0/audit.md, "Alerts (F5)") and fires system.audit.alert.
expAuditAlertRuleinterfaceInterface (contract)kernel/classes/audit/expauditalertrule.php:14An alert rule class, registered in audit.ini: [AuditAlertSettings] RuleClasses[]= Counted by the RAD survey (registry "auditalertrules").
expAuditAlertRuleBaseabstract class implements expAuditAlertRuleTemplate Method / abstract base classkernel/classes/audit/alerts/expauditalertrulebase.php:13Shared code of the built-in alert rule classes: the record fields a rule groups by, the time of a record, and the de-duplication (doc/eng-us/bc/6.0/a…
expAuditAlertStateclassFactory and static factory methodskernel/classes/audit/alerts/expauditalertstate.php:19The window state of one alert rule (doc/eng-us/bc/6.0/audit.md, "Alerts (F5)"): /alerts/.json, read and written under flock() only when a matching re…
expAuditArchiverclass–kernel/classes/audit/archive/expauditarchiver.php:37Archives, manifests, verification, restore and retention of the audit channels (doc/eng-us/bc/6.0/audit.md, "The archive manifest and its HMAC", "Rot…
expAuditBridgeclassAdapter / bridge / wrapper, Utility (static helper)kernel/classes/audit/bridge/expauditbridge.php:24The ezpEvent bridge of the audit (doc/eng-us/bc/6.0/audit.md, "The ezpEvent bridge", Z3): kernel and extension events that already exist (ezpEvent::g…
expAuditBufferclass–kernel/classes/audit/expauditbuffer.php:11The records of one request (or one stretch of a command), per channel, until they are flushed (doc/eng-us/bc/6.0/audit.md, "Buffering and flushing (F…
expAuditBzip2Formatclass extends expAuditFormatBaseINI plugin point (extension point), Strategy / handlerkernel/classes/audit/format/expauditbzip2format.php:11The bzip2 archive format (PHP extension bz2): .jsonl.bz2.
expAuditConfigclassFactory and static factory methods, Utility (static helper)kernel/classes/audit/expauditconfig.php:21The audit settings (settings/audit.ini, doc/eng-us/bc/6.0/audit.md "The settings reference") read once into one array.
expAuditConsoleclassUtility (static helper)kernel/classes/audit/console/expauditconsole.php:16What the views of the audit module share (doc/eng-us/bc/6.0/audit.md, "The console: module audit"): the channels the current user may read (audit/rea…
expAuditExporterclass–kernel/classes/audit/archive/expauditexporter.php:26Searching the audit files and exporting records (exp:audit search --files, exp:audit export; doc/eng-us/bc/6.0/audit.md, "The command: exp:audit").
expAuditExportStreamclassFactory and static factory methodskernel/classes/audit/console/expauditexportstream.php:28The audit records of a filter as CSV, JSON lines or JSON, newest first, written piece by piece to a callback as they are read: the download of audit/…
expAuditFormatBaseabstract class implements expAuditFormatHandlerStrategy / handler, Template Method / abstract base classkernel/classes/audit/format/expauditformatbase.php:14Shared code of the archive format handlers (doc/eng-us/bc/6.0/audit.md, "Rotation, archives and retention"): streaming compression through a PHP stre…
expAuditFormatHandlerinterfaceInterface (contract), Strategy / handlerkernel/classes/audit/expauditformathandler.php:14An archive format (gzip, bzip2, xz, zstd, zip), registered in audit.ini: [AuditArchiveSettings] FormatHandlers[]= Counted by the RAD survey (registry…
expAuditFormatRegistryclassRegistry, Utility (static helper)kernel/classes/audit/format/expauditformatregistry.php:16The archive format registry: [AuditArchiveSettings] FormatHandlers[]= (RAD survey registry "auditformats").
expAuditFunctionCollectionclassFetch function (Query Object, Facade), Utility (static helper)kernel/classes/audit/console/expauditfunctioncollection.php:22The fetch functions of the audit module (kernel/audit/function_definition.php; doc/eng-us/bc/6.0/audit.md, "Template operator and fetch"):
expAuditGuardclassUtility (static helper)kernel/classes/audit/expauditguard.php:32[AuditSettings] OnWriteFailure (doc/eng-us/bc/6.0/audit.md, "When the audit cannot write"): what happens to an action whose audit record cannot be wr…
expAuditGzipFormatclass extends expAuditFormatBaseINI plugin point (extension point), Strategy / handlerkernel/classes/audit/format/expauditgzipformat.php:11The gzip archive format (zlib, always available): .jsonl.gz.
expAuditHookclassUtility (static helper)kernel/classes/audit/hook/expaudithook.php:25The kernel's audit call sites (doc/eng-us/bc/6.0/audit.md, "The event catalogue", stage 3): one guarded way to record an event from a hook point, and…
expAuditImporterclass–kernel/classes/audit/archive/expauditimporter.php:28Import of the 4.x text audit logs (doc/eng-us/bc/6.0/audit.md, "Import of the old logs (Z4)"; exp:audit import).
expAuditIndexerclass–kernel/classes/audit/index/expauditindexer.php:20Fills the audit index from the channel files (doc/eng-us/bc/6.0/audit.md, "Incremental indexing", "Rebuild", "Pseudonymisation after 90 days").
expAuditIndexRowclassFactory and static factory methods, Utility (static helper)kernel/classes/audit/index/expauditindexrow.php:12One audit record as a row of expaudit_event (doc/eng-us/bc/6.0/audit.md, "Tables"): the columns the console filters on, the record itself (as written…
expAuditIndexSchemaclassUtility (static helper)kernel/classes/audit/index/expauditindexschema.php:18The audit index tables (doc/eng-us/bc/6.0/audit.md, "The index"): their definition in the generic schema format of share/db_schema.dba, creating them…
expAuditIndexSettingsclassUtility (static helper)kernel/classes/audit/index/expauditindexsettings.php:12The settings of the audit index and console (audit.ini [AuditIndexSettings], [AuditConsoleSettings] and [AuditPrivacySettings] PseudonymiseAfterDays)…
expAuditJsonclassUtility (static helper)kernel/classes/audit/expauditjson.php:16The canonical JSON of audit records (doc/eng-us/bc/6.0/audit.md, "Canonical JSON").
expAuditKeysclass–kernel/classes/audit/expauditkeys.php:23The audit keys (doc/eng-us/bc/6.0/audit.md, "Keys (Z7)", "Key handling"): the installation id (a UUID, part of every channel's genesis hash), the sig…
expAuditMailRecipientsclassUtility (static helper)kernel/classes/audit/sinks/expauditmailrecipients.php:30Who gets the audit's alert mail (doc/eng-us/bc/6.0/audit.md, "E-mail"; owner decision 2026-10-02).
expAuditMailSinkclass extends expAuditSinkBaseINI plugin point (extension point)kernel/classes/audit/sinks/expauditmailsink.php:23The e-mail sink (doc/eng-us/bc/6.0/audit.md, "E-mail"): events at MinSeverity (critical) or matching Events[] are mailed through eZMail, one mail per…
expAuditMaintenanceclass–kernel/classes/audit/archive/expauditmaintenance.php:20The audit's scheduled work (doc/eng-us/bc/6.0/audit.md, "Rotation, archives and retention (Q8)"), run by the cronjob part audit (cronjobs/audit.php),…
expAuditMatchRuleclass extends expAuditAlertRuleBaseINI plugin point (extension point)kernel/classes/audit/alerts/expauditmatchrule.php:20The alert rule class "match" (RuleClasses[match]=expAuditMatchRule): fires for every record matching Event (and, with Policies[], only when the role…
expAuditPrivacyclass–kernel/classes/audit/expauditprivacy.php:16The privacy rules of audit records (doc/eng-us/bc/6.0/audit.md, "Fields", "Never recorded"; settings [AuditPrivacySettings] and [AuditRecordSettings]…
expAuditQueryclass–kernel/classes/audit/index/expauditquery.php:21Searches the audit index (doc/eng-us/bc/6.0/audit.md, "The console", URL parameters): the console's filters turned into one WHERE clause that every e…
expAuditReaderclass–kernel/classes/audit/expauditreader.php:12Reads audit records from the live channel files: the newest records (read backwards from the end of the files, so a large day file is not read whole)…
expAuditReauthclassUtility (static helper)kernel/classes/audit/console/expauditreauth.php:26Password re-entry before the audit's manage actions (doc/eng-us/bc/6.0/audit.md, Q9; [AuditConsoleSettings] ReauthForManage, ReauthMinutes).
expAuditScheduleRuleclass extends expAuditAlertRuleBaseINI plugin point (extension point)kernel/classes/audit/alerts/expauditschedulerule.php:15The alert rule class "schedule" (RuleClasses[schedule]=expAuditScheduleRule): fires for records matching Event that happen outside business hours ([A…
expAuditSinkinterfaceInterface (contract)kernel/classes/audit/expauditsink.php:15A copy of the audit records outside the file (syslog, webhook, mail), registered in audit.ini: [AuditSinkSettings] SinkClasses[]= Counted by the RAD…
expAuditSinkBaseabstract class implements expAuditSinkTemplate Method / abstract base classkernel/classes/audit/sinks/expauditsinkbase.php:14Shared code of the audit sinks: the sink's settings block ([AuditSink_]), which records it wants (Events[] patterns and MinSeverity) and whether it d…
expAuditSinkRegistryclassRegistry, Utility (static helper)kernel/classes/audit/sinks/expauditsinkregistry.php:23The sink registry and delivery (doc/eng-us/bc/6.0/audit.md, "Sinks (Q7)", "The sink registry").
expAuditSourceinterfaceINI plugin point (extension point), Interface (contract)kernel/classes/audit/console/expauditsource.php:23An optional source of the audit console: an extension that writes its own events (usually into a channel of its own) and tells the console's views ho…
expAuditSourceBaseabstract class implements expAuditSourceTemplate Method / abstract base classkernel/classes/audit/console/expauditsourcebase.php:11The base of an audit console source (expAuditSource): every method answers "nothing", so a source implements only what it shows.
expAuditSourceRegistryclassFactory and static factory methods, Registry, Utility (static helper)kernel/classes/audit/console/expauditsourceregistry.php:16The registry of the audit console's sources (expAuditSource), from audit.ini [AuditSourceSettings] Sources[]: which are registered, which work here,…
expAuditSpoolclass–kernel/classes/audit/sinks/expauditspool.php:16The spool of a sink (doc/eng-us/bc/6.0/audit.md, "Webhook"): records for network sinks are appended at flush time to /.jsonl under flock(), so a web…
expAuditSyslogSinkclass extends expAuditSinkBaseINI plugin point (extension point)kernel/classes/audit/sinks/expauditsyslogsink.php:36The syslog / journald sink (doc/eng-us/bc/6.0/audit.md, "Sinks", "syslog / journald"): one RFC 5424 message per record,
expAuditTaxonomyclassUtility (static helper)kernel/classes/audit/expaudittaxonomy.php:21The audit taxonomy registry (doc/eng-us/bc/6.0/audit.md, "Taxonomy", "Naming rules", "The event catalogue").
expAuditTaxonomyBranchinterfaceInterface (contract)kernel/classes/audit/expaudittaxonomybranch.php:15An extension's branch of the audit taxonomy, registered in audit.ini: [AuditEventSettings] Branches[myext]=myExtAuditBranch Counted by the RAD survey…
expAuditTemplateOperatorclassTemplate operator (Interpreter plugin)kernel/classes/audit/console/expaudittemplateoperator.php:13The template operator audit_label (doc/eng-us/bc/6.0/audit.md, "Template operator and fetch"): the human label of an audit event name from the taxono…
expAuditThresholdRuleclass extends expAuditAlertRuleBaseINI plugin point (extension point)kernel/classes/audit/alerts/expauditthresholdrule.php:16The alert rule class "threshold" (RuleClasses[threshold]=expAuditThresholdRule): fires when Threshold events matching Event fall within Window second…
expAuditVerifierclass–kernel/classes/audit/expauditverifier.php:22Verifies the hash chain of audit channels (doc/eng-us/bc/6.0/audit.md, "Verification").
expAuditWebhookSinkclass extends expAuditSinkBaseINI plugin point (extension point)kernel/classes/audit/sinks/expauditwebhooksink.php:20The webhook sink (doc/eng-us/bc/6.0/audit.md, "Webhook"): POSTs batches of records as JSON,
expAuditWriterclass–kernel/classes/audit/expauditwriter.php:29Appends audit records to a channel's live file and keeps the hash chain (doc/eng-us/bc/6.0/audit.md, "The hash chain").
expAuditXzFormatclass extends expAuditFormatBaseINI plugin point (extension point), Strategy / handlerkernel/classes/audit/format/expauditxzformat.php:11The xz archive format: .jsonl.xz, through the xz binary (no PHP extension is commonly available).
expAuditZipFormatclass extends expAuditFormatBaseINI plugin point (extension point), Strategy / handlerkernel/classes/audit/format/expauditzipformat.php:12The zip archive format (PHP extension zip): .jsonl.zip, one archive per live file holding that one file, so a single file can be restored.
expAuditZstdFormatclass extends expAuditFormatBaseINI plugin point (extension point), Strategy / handlerkernel/classes/audit/format/expauditzstdformat.php:11The zstd archive format: .jsonl.zst, through the PHP extension zstd when it is loaded, else the zstd binary.

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