The Identity Cloud’s SIEM event service is built on top of Amazon S3 (Simple Storage Service) buckets and the Kinesis Data Firehose data delivery system. In brief, events are:
- Generated within the Akamai Identity Cloud.
- Are gathered together based on application ID.
- Are delivered via the Kinesis Firehose to an Amazon S3 storage bucket.
But, like we said, that’s the process in brief. Here’s a more detailed look at how the SIEM Event Delivery service does its thing.
As events are generated and added to the event delivery pipeline, these events are inspected by event consumers, software code programmed to check each event for a specific application ID. For example, suppose a consumer is programmed to look for application ID htb8fuhxnf8e38jrzub3c7pfrr, and a new event appears, an event associated with application ID 23qpduatarjrzdx3eh2ndcx38z. What does the event consumer do? In this case, nothing; after all, the consumer is only interested in application ID htb8fuhxnf8e38jrzub3c7pfrr.
Now let’s suppose that the next event that appears in the pipeline is associated with application ID htb8fuhxnf8e38jrzub3c7pfrr (we know the ID because that’s the value assigned to the event’s captureApplicationId property). This event is something that the event consumer is interested in; as a result:
- The event consumer makes sure that the event type is not on the application’s SIEM event blacklist. If it is on the blacklist, then the event ignored.
- If the event isn’t on the blacklist, the event consumer makes a copy of the event (the original event will be stored in Akamai’s data warehouse).
- The relevant event details are packaged into a JSON object designed specifically for the SIEM Event Delivery service. For example:
Note. Curious as to what those cryptic parameters (msts?) and values actually mean? The article SIEM Event Delivery Service Event Details should answer all your questions. (Or at least your questions about SIEM parameters.) We might also note that SIEM event messages do not contain any personally-identifiable information: a message might include a user’s Identity Cloud UUID, but an event message will never include a user’s name, email address, phone number, etc. In addition, while event messages might tell you which attributes have been changed (e.g., email), those messages will never include the before or after values for that attribute (e.g., a user changed his email address from firstname.lastname@example.org to email@example.com
- The JSON-formatted event is placed into an application-specific event queue, a sort of SIEM event “waiting room.” This process repeats itself each time until one of the following happens:
- 5 minutes have elapsed since the last time events were delivered to the customer, or,
- The total file size of all the events in the queue exceeds 128 MB.
Note. Keep in mind that the 5-minute time interval between event deliveries is not a service level agreement: SIEM event deliveries will usually take place every 5 minutes, but this is not guaranteed. However, we do have a goal of ensuring that 99% of all event notifications are delivered within 15 minutes after the time the event occurred.
When either of the preceding conditions are met, all the events currently in the queue are bundled into a .ZIP file, with the filename consisting of the Kinesis data stream followed by a timestamp indicating when the file was created. That file is then delivered to an Amazon S3 bucket. If delivery cannot take place for any reason (for example, because of a network failure), the system will automatically attempt delivery again, and again (and again) until the file is successfully delivered or until 24 hours have elapsed. (Data can only remain in a Firehose queue for 24 hours until it is automatically expired.) Based on Amazon service level agreements, it’s all-but-impossible for any SIEM event file to not be delivered.
So what happens after events are delivered to your S3 bucket? (Each application enabled for SIEM events has a corresponding S3 bucket.) At that point, it’s up to you. Organizations will be given download and delete permissions to the S3 bucket. (But not write permissions: you’re allowed to take data out of the S3 bucket, but you’re not allowed to add data to the S3 bucket.) That means you can download (and, as needed, delete) .ZIP files from the S3 bucket whenever it’s convenient for you.
And then what you do with the zipped files after you download them? Again, that’s up to you. Based on the name alone, however, one obvious suggestion would be to unzip the files and import them into a SIEM data aggregation tool.
Note. Whatever you decide to do with the .ZIP files, just be sure that you do it within 30 days: each file has a time-to-live value of 30 days. After 30 days in the S3 bucket, a file is automatically deleted and cannot be restored.