Application audit events
Taxonomy and guarantees of the Brume security audit log.
In brief
Each security mutation and its audit event share a fail-closed transaction. The version 1 taxonomy, attribution, data contract, and export boundaries are detailed below.
Brume writes security events synchronously and fail-closed to its tamper-evident log. The business mutation and its event share one PostgreSQL transaction: if the audit write fails, the mutation is rolled back. The stdout projection is produced only after commit.
Events without a business tenant use the platform identifier
00000000-0000-0000-0000-000000000000. Login attempts retain only
deterministic HMAC pseudonyms isolated per tenant.
Version 1 taxonomy
| Action | Covered triggers | OCSF class | OCSF activity |
|---|---|---|---|
auth.login.success | Successful hub or tenant login | Authentication (3002) | Logon (1) |
auth.login.failure | Login rejected before or after tenant resolution | Authentication (3002) | Logon (1) |
auth.sso.login.success | Successful SSO login | Authentication (3002) | Logon (1) |
auth.sso.login.failure | Rejected SSO login | Authentication (3002) | Logon (1) |
auth.logout | Logout and session invalidation | Authentication (3002) | Logoff (2) |
token.created | Session JWT, tenant/workspace provider key, native connector key, brm_ gateway token | Authorize Session (3003) | Assign Privileges (1) |
token.revoked | Logout, password reset, key rotation/deletion, gateway revocation | Authorize Session (3003) | Revoke Privileges (2) |
member.invited | Tenant invitation or workspace access grant | Account Change (3001) | Create (1) |
member.role.changed | Tenant role change | User Access Management (3005) | Update (3) |
member.status.changed | Access request, invitation acceptance, member activation or suspension | Account Change (3001) | Update (3) |
member.removed | Member removal | Account Change (3001) | Delete (2) |
workspace.created | Shared or private workspace creation | Entity Management (3004) | Create (1) |
workspace.deleted | Workspace deletion | Entity Management (3004) | Delete (2) |
settings.updated | Tenant, role, or workspace settings | Entity Management (3004) | Update (3) |
sso.config.created | SSO configuration creation | Entity Management (3004) | Create (1) |
sso.config.updated | SSO configuration update or activation | Entity Management (3004) | Update (3) |
sso.config.deleted | SSO configuration deletion | Entity Management (3004) | Delete (2) |
admin.instance.upstream.updated | Instance upstream update | Entity Management (3004) | Update (3) |
audit.log.viewed | Authorized unfiltered audit list or event-detail view | Entity Management (3004) | Other (99) |
audit.log.searched | Authorized view with search filters | Entity Management (3004) | Other (99) |
audit.log.exported | Audit log export from the audit interface | Entity Management (3004) | Other (99) |
audit.log.pulled | Aggregated collection through the pull API | Entity Management (3004) | Other (99) |
audit.report.generated | Audit report generation | Entity Management (3004) | Other (99) |
audit.anchor.failed | Audit-log anchoring failure | Entity Management (3004) | Other (99) |
audit.retention.purged | Completed retention purge | Entity Management (3004) | Other (99) |
audit.retention.failed | Retention purge failure | Entity Management (3004) | Other (99) |
audit.retention.changed | Retention policy change | Entity Management (3004) | Update (3) |
audit.hold.created | Legal hold creation | Entity Management (3004) | Create (1) |
audit.hold.released | Legal hold release | Entity Management (3004) | Update (3) |
audit.verify.failed | Hash-chain or anchor verification failure | Entity Management (3004) | Other (99) |
outbound.http | Instrumented outbound HTTP request, HTTP response or transport error | HTTP Activity (4002) | Other (99) |
network.egress | Egress proxy CONNECT decision, allowed or denied by the ACL | Network Activity (4001) | Other (99) |
audit.siem.destination.created | SIEM export destination creation | Entity Management (3004) | Create (1) |
audit.siem.destination.updated | SIEM destination update or activation | Entity Management (3004) | Update (3) |
audit.siem.destination.deleted | SIEM destination soft deletion | Entity Management (3004) | Delete (2) |
audit.siem.destination.tested | SIEM destination delivery test | Entity Management (3004) | Update (3) |
audit.siem.delivery.replayed | Manual replay of a SIEM delivery | Entity Management (3004) | Update (3) |
Every action in the table except outbound.http and network.egress uses
Identity & Access Management (3) in the version 1 manifest. The two
network actions use Network Activity (4). The list above is closed for
version 1: adding an action requires an explicit schema revision.
Any db.* labels produced by a pgAudit collector belong to a separate,
instance-level operator channel. They are not part of this application
taxonomy v1, its tamper-evident chain, AUDIT_EVENT_MANIFEST, or its SIEM export
cursor.
ECS mapping
Brume exports the canonical document described in Export logs to a
SIEM.
A collection pipeline can project it to Elastic Common Schema (ECS) with the
following mapping. The labels.brume_* and brume.metadata.* fields are
extensions in your index, not native fields added by Brume.
| Brume export field | ECS field | Projection rule |
|---|---|---|
event.event_id | event.id | Direct copy |
event.seq | event.sequence | Direct copy |
event.occurred_at | @timestamp | Action timestamp |
event.recorded_at | event.created | Audit-log write timestamp |
event.action | event.action | Direct copy |
event.outcome | event.outcome | Copy success or failure; normalize any other value before indexing |
event.actor_user_id | user.id | Omit the field when its value is null |
event.tenant_id | organization.id | Tenant identifier, including the platform tenant |
schema | event.dataset | Constant value brume.audit; also retain brume.audit.export.v1 in labels.brume_schema |
event.workspace_id | labels.brume_workspace_id | Optional workspace identifier |
event.target_type | labels.brume_target_type | Brume target type |
event.target_id | labels.brume_target_id | Target identifier when present |
event.row_hash | labels.brume_row_hash | Hexadecimal row hash |
event.chain_epoch | labels.brume_chain_epoch | Monthly chain epoch |
event.schema_version | labels.brume_schema_version | Integer row-schema version |
event.metadata | brume.metadata.* | Retain the object under a custom namespace |
CEF mapping
HTTP attribution
The context is created after the authentication guard. For an authenticated actor, the log therefore links the tenant, user, and, when relevant, workspace to the actual mutation.
The original IP and User-Agent can be carried by Brume’s server proxy through an authenticated internal header only when the deployment declares a trusted ingress that replaces client headers. The public development secret cannot authenticate this transport, so the backend ignores attribution forged by a direct client. Before authentication, the attempted email, IP, and User-Agent are never retained in clear text: only their tenant-bound HMAC pseudonyms are recorded.
Data contract
The PostgreSQL row stores event and tenant identifiers, sequence number, timestamps, action, target, outcome, encrypted or pseudonymized attribution, and chain hashes. Metadata is a canonical JSON object without floating-point numbers.
Configuration diffs are recursive. Built-in sensitive fields (password,
token, api_key, authorization, cookie, secret, client_secret,
body, content, and prompt) are omitted from changes. Additional
explicitly redacted fields expose neither their old nor their new value.
Every committed event produces exactly one stdout JSON object marked
brume.audit.v1 with marker, recorded_at, event_id, tenant_id, seq,
action, target_type, and outcome. This projection includes no metadata,
target identifier, personal data, pseudonyms, or secrets.