Skip to main content

Operational Management: SIEM log export

Availability
FoundationsNot availableEnterpriseIncluded
Available InOrionNebulaMagellan

SIEM log export delivers a stream of security and audit events from your HaaS Space to your own security information and event management (SIEM) or central logging system. Your security team can then monitor CDR activity alongside the rest of your estate: who authorised what and when, which Software Products were registered or changed, and every CDR data request and Data Adapter call HaaS made on your behalf.

What is exported​

HaaS emits three families of event. The Event Types catalogue lists every event, its message and its fields.

FamilyCoversIdentifiers
AuthorisationGrant (arrangement) creation, amendment and revocation, by the Consumer, an administrator, the ADR or the CDR Register; holds and reactivations driven by the CDR Register; token issuance; ADR client registrationsGrant ID, realm, User ID and Principal, and any Authority to Operate holder
Data APIEach CDR data request an ADR makes, for example List TransactionsPairwise identifiers (PPIDs) only, with the ADR as the counter-party
AdapterEach call HaaS makes to your Data Adapter, and each failed callThe request sent to the Data Adapter, which can include HaaS User and Principal identifiers

Setting it up​

  1. Choose a target: an AWS S3 bucket or an Azure Blob Storage container that your organisation controls.
  2. Grant Biza's log service permission to write to it: a bucket policy for Biza's log-writing role on S3, or a Shared Access Signature (SAS) token on Azure. The SIEM configuration pages and runsheets list exactly what to provide.
  3. Biza configures your Red (production) Space to deliver to the target. Your SIEM then collects the log files from it.
Note

SIEM log export is only available in the production (Red) environment.

IMPORTANT

HaaS can deliver SIEM events as logs to a customer's central logging system. Do not use these streamed SIEM events as a consent store or consent source of truth: doing so can complicate ongoing consent management. Biza strongly advises against using SIEM events as a secondary consent store.

General guidance​

The following statements apply to all events:

  • Every event is a log line prefixed with @BIZA.SIEM.EVENT@, followed by the event as a JSON object.
  • Data API events carry pairwise identifiers (PPIDs) only. Direct identifiers that could be PII are masked.
  • Data API and adapter events include a JSON object called siemDetails. For Data API events it contains interaction identifiers and the pairwise customer, counter-party and account information. For adapter call events it contains the request details sent to the Data Adapter, which can include HaaS user and Principal identifiers.

Validated event targets​

HaaS can probably deliver events to other targets, but the following are currently validated and in use in production environments:

See Event Types for the catalogue of events.

Payload structure​

Authorisation​

Authorisation (grant) events have the following structure:

  • @class: The source class within HaaS that emitted the event.
  • interactionId: The Interaction ID related to the event.
  • level: A severity level aligned to syslog severities.
  • time: An RFC 3339 timestamp.
  • grantId: Grant identifier.
  • realm: Realm name.
  • realmUserID: Identifier of the user who triggered the event.
  • realmPrincipal: The Principal being managed at the time of the event.
  • atoUserID (optional): User identifier of the Authority to Operate (ATO) holder, if applicable.
  • atoType (optional): ATO type, if applicable.
  • expiry: An RFC 3339 timestamp giving the expiry time of the grant.
  • fullMessage: The full text, as given in the Message column of Event Types.

The fields after realm vary by event. For example, token issuance events carry scopes and expiry, and client events carry clientId or realmName instead of grantId.

Example payload​

The following is an example of a JSON payload sent by the SIEM engine:

{
"@class": "io.biza.wikkitgate.auth.events.GrantCreationEvent",
"interactionId": "I1",
"level": "INFO",
"time": "2021-06-28T16:00:04Z",
"grantId": "dd8023ac-9f3a-4b63-8f01-64bee901b116",
"realm": "azib-bank",
"realmUserID": "joe-blogs",
"realmPrincipal": "564e6525f6f8408fa641f3f18976fd2c",
"atoUserID": "harry-smith",
"atoType": "POWER_OF_ATTORNEY",
"expiry": "2021-06-29T16:00:04Z",
"fullMessage": "Initial Consent Established with expiry set to 2021-06-29T16:00:04Z by ATO authority of type POWER_OF_ATTORNEY by user harry-smith"
}

Data API​

Data API events have the following structure:

  • @class: The source class within HaaS that emitted the event.
  • interactionId: The Interaction ID related to the event.
  • level: A severity level aligned to syslog severities.
  • time: An RFC 3339 timestamp.
  • siemDetails, containing:
    • customer: an object with the pairwise identifier (PPID) for the customer and the counter-party (that is, the ADR sector identifier URI).
    • userId: an object with the PPID for the user and the counter-party.
    • account or accounts: the PPIDs of the account(s), the customer and the counter-party.
    • interactionId: the interaction ID (x-fapi-interaction-id) of the CDR Data API call.
    • xFapiCustomerIp, xFapiAuthDate and cdsClientHeaders: the Consumer request headers received with the CDR Data API call, where present.
  • upstreamFiltered (List Transactions only): whether the call was made to a Data Adapter that supports filtering.
  • fullMessage: The full text, as given in the Message column of Event Types.

The exact siemDetails fields vary by event; the SIEM Detail Fields column of Event Types lists them.

Example payload​

The following is an example of a JSON payload sent by the SIEM engine:

{
"@class": "io.biza.adapter.events.ListTransactionsUpstreamEvent",
"interactionId": "393c2857-6753-4449-8d48-f59dd394be49",
"level": "INFO",
"time": "2021-08-19T07:32:27.001296Z",
"siemDetails": {
"customer": {
"ppid": "6df5f01d-6d44-4f8f-98f6-00bf1167ce6b",
"ppidCustomerId": "",
"counterParty": "secure.adr.com.au"
},
"account": {
"ppid": "fec107e0-c3c5-4122-831a-e0de52236cb0",
"ppidCustomerId": "6df5f01d-6d44-4f8f-98f6-00bf1167ce6b",
"counterParty": "secure.adr.com.au"
},
"interactionId": "9a65022d-f606-47fe-94c6-e4deac973f8f"
},
"upstreamFiltered": true,
"fullMessage": "List transactions for customer accounts."
}