Brume · Docs
Audit Logs

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

ActionCovered triggersOCSF classOCSF activity
auth.login.successSuccessful hub or tenant loginAuthentication (3002)Logon (1)
auth.login.failureLogin rejected before or after tenant resolutionAuthentication (3002)Logon (1)
auth.sso.login.successSuccessful SSO loginAuthentication (3002)Logon (1)
auth.sso.login.failureRejected SSO loginAuthentication (3002)Logon (1)
auth.logoutLogout and session invalidationAuthentication (3002)Logoff (2)
token.createdSession JWT, tenant/workspace provider key, native connector key, brm_ gateway tokenAuthorize Session (3003)Assign Privileges (1)
token.revokedLogout, password reset, key rotation/deletion, gateway revocationAuthorize Session (3003)Revoke Privileges (2)
member.invitedTenant invitation or workspace access grantAccount Change (3001)Create (1)
member.role.changedTenant role changeUser Access Management (3005)Update (3)
member.status.changedAccess request, invitation acceptance, member activation or suspensionAccount Change (3001)Update (3)
member.removedMember removalAccount Change (3001)Delete (2)
workspace.createdShared or private workspace creationEntity Management (3004)Create (1)
workspace.deletedWorkspace deletionEntity Management (3004)Delete (2)
settings.updatedTenant, role, or workspace settingsEntity Management (3004)Update (3)
sso.config.createdSSO configuration creationEntity Management (3004)Create (1)
sso.config.updatedSSO configuration update or activationEntity Management (3004)Update (3)
sso.config.deletedSSO configuration deletionEntity Management (3004)Delete (2)
admin.instance.upstream.updatedInstance upstream updateEntity Management (3004)Update (3)
audit.log.viewedAuthorized unfiltered audit list or event-detail viewEntity Management (3004)Other (99)
audit.log.searchedAuthorized view with search filtersEntity Management (3004)Other (99)
audit.log.exportedAudit log export from the audit interfaceEntity Management (3004)Other (99)
audit.log.pulledAggregated collection through the pull APIEntity Management (3004)Other (99)
audit.report.generatedAudit report generationEntity Management (3004)Other (99)
audit.anchor.failedAudit-log anchoring failureEntity Management (3004)Other (99)
audit.retention.purgedCompleted retention purgeEntity Management (3004)Other (99)
audit.retention.failedRetention purge failureEntity Management (3004)Other (99)
audit.retention.changedRetention policy changeEntity Management (3004)Update (3)
audit.hold.createdLegal hold creationEntity Management (3004)Create (1)
audit.hold.releasedLegal hold releaseEntity Management (3004)Update (3)
audit.verify.failedHash-chain or anchor verification failureEntity Management (3004)Other (99)
outbound.httpInstrumented outbound HTTP request, HTTP response or transport errorHTTP Activity (4002)Other (99)
network.egressEgress proxy CONNECT decision, allowed or denied by the ACLNetwork Activity (4001)Other (99)
audit.siem.destination.createdSIEM export destination creationEntity Management (3004)Create (1)
audit.siem.destination.updatedSIEM destination update or activationEntity Management (3004)Update (3)
audit.siem.destination.deletedSIEM destination soft deletionEntity Management (3004)Delete (2)
audit.siem.destination.testedSIEM destination delivery testEntity Management (3004)Update (3)
audit.siem.delivery.replayedManual replay of a SIEM deliveryEntity 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 fieldECS fieldProjection rule
event.event_idevent.idDirect copy
event.seqevent.sequenceDirect copy
event.occurred_at@timestampAction timestamp
event.recorded_atevent.createdAudit-log write timestamp
event.actionevent.actionDirect copy
event.outcomeevent.outcomeCopy success or failure; normalize any other value before indexing
event.actor_user_iduser.idOmit the field when its value is null
event.tenant_idorganization.idTenant identifier, including the platform tenant
schemaevent.datasetConstant value brume.audit; also retain brume.audit.export.v1 in labels.brume_schema
event.workspace_idlabels.brume_workspace_idOptional workspace identifier
event.target_typelabels.brume_target_typeBrume target type
event.target_idlabels.brume_target_idTarget identifier when present
event.row_hashlabels.brume_row_hashHexadecimal row hash
event.chain_epochlabels.brume_chain_epochMonthly chain epoch
event.schema_versionlabels.brume_schema_versionInteger row-schema version
event.metadatabrume.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.

Outbound HTTP boundary

On this page