Skip to Content
Asterrr's Handbook
1 · Detection

Amazon Security Lake

Managed security data lake in S3 using OCSF and Parquet. The answer for central, queryable security logs from many accounts and sources.

Exam tasks: 1.2 (skills 1.2.3 and 1.2.4: security data lakes, analyzing findings), 1.2 (skills 1.2.4 and 1.2.5: analyze logs, normalize, parse and correlate them)

The decision: where do all raw security logs live for years in one schema, and how do analysts or a SIEM read them without copying them out?

Security Lake collects security logs into S3 buckets in your account, converts them to OCSF and Apache Parquet, and lets subscribers read them. It stores and normalizes. It does not detect threats by itself.

SourcesSecurity Lake accountSubscribersOCSF Parquetnormalizequery via Lake Formationdata accessCloudTrailVPC Flow LogsCustom sourceSecurity LakeOCSF Parquet inS3Athena querySIEM
Native and custom sources feed the lake. Subscribers read the data by notification or by query.

Core facts

ItemWhat to remember
FormatOCSF schema, Parquet files, partitioned by Region, account and day
Native AWS sourcesCloudTrail management and data events (S3, Lambda), EKS audit logs, Route 53 Resolver query logs, Security Hub CSPM findings, VPC Flow Logs, WAFv2 logs
Source loggingYou need not turn on logging in the source service. Security Lake pulls its own stream. Exception is CloudTrail management events, which need a trail
Custom sourcesThird party or your own. Must already be OCSF, Parquet, partitioned, written in 5 minute to 1 day batches. Up to 50 per account. Security Lake creates a role, a Lake Formation table and a Glue crawler
Rollup RegionsConsolidate several Regions into one Region for residency or central analysis
Multi-accountOrganizations. Enable for all accounts and Regions from the administrator
LifecycleConfigurable retention and storage tiering with S3 classes
Subscriber sourcesUp to 10 sources per subscriber
  • Data lives in your S3 buckets (aws-security-data-lake-*), catalogued in AWS Glue and governed by AWS Lake Formation. Set lifecycle rules for retention.

Subscriber access

TypeHow it works
Data accessNotified of each new object through an HTTPS endpoint or an SQS queue. The subscriber reads S3 itself. Good for SIEM and ETL
Query accessQueries Lake Formation tables directly with Athena, Redshift or similar. No copy of data. Good for analysts

A subscriber sees only the sources and Regions you grant.

Querying Security Lake

  • Each source becomes a Glue table in the Security Lake database for its Region, for example the CloudTrail management, VPC flow and Route 53 tables. Query the rollup Region to see all contributing Regions.
  • Query access subscribers get Lake Formation grants (shared through resource links) and query with Athena or another Lake Formation-aware engine in their own account. Nothing is copied.
  • Data access subscribers are notified of new objects (through SQS or an HTTPS endpoint) and read the Parquet files directly, which suits a third-party SIEM that ingests data.
  • Permissions are managed in Lake Formation. A cross-account S3 bucket policy on the lake bucket bypasses the governance model and is the wrong answer.

Which one to use

NeedPick
Long-term, normalized, cross-account log lakeSecurity Lake
Ad hoc SQL on CloudTrail onlyAthena on the trail bucket. CloudTrail Lake is closed to new customers
Real-time log search and dashboardsOpenSearch Service with Firehose
Aggregate findings, not raw logsSecurity Hub

Analytics options on the lake include Athena, OpenSearch Service, Amazon Quick dashboards, SageMaker AI and third-party SIEMs.

Exam trap

Security Lake accepts only OCSF Parquet from custom sources. It will not ingest raw text logs. Convert them first, for example with Glue or Lambda.

Exam signal

"Normalize logs from many accounts and vendors into one open schema for SIEM and Athena": Security Lake. "Keep data in one Region for residency": rollup Region.

Exam signal

"Normalize logs from AWS and on-premises tools into one schema and let a third-party SIEM consume them" is Security Lake with a data access subscriber. "Analysts need SQL over the same data without copying it" is a query access subscriber.

Scenarios

Scenario
Threat hunters in a separate analytics account need to run SQL against Security Lake data held in the security account. Compliance forbids copying the data out of the security account, and access must be governed per table. What should the security engineer do?

Security Hub, Route 53 Resolver query logs, Log query engines. Security Lake and OCSF integrations covers source and subscriber integrations.

Further reading

On this page