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.
Core facts
| Item | What to remember |
|---|---|
| Format | OCSF schema, Parquet files, partitioned by Region, account and day |
| Native AWS sources | CloudTrail management and data events (S3, Lambda), EKS audit logs, Route 53 Resolver query logs, Security Hub CSPM findings, VPC Flow Logs, WAFv2 logs |
| Source logging | You 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 sources | Third 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 Regions | Consolidate several Regions into one Region for residency or central analysis |
| Multi-account | Organizations. Enable for all accounts and Regions from the administrator |
| Lifecycle | Configurable retention and storage tiering with S3 classes |
| Subscriber sources | Up 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
| Type | How it works |
|---|---|
| Data access | Notified of each new object through an HTTPS endpoint or an SQS queue. The subscriber reads S3 itself. Good for SIEM and ETL |
| Query access | Queries 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
| Need | Pick |
|---|---|
| Long-term, normalized, cross-account log lake | Security Lake |
| Ad hoc SQL on CloudTrail only | Athena on the trail bucket. CloudTrail Lake is closed to new customers |
| Real-time log search and dashboards | OpenSearch Service with Firehose |
| Aggregate findings, not raw logs | Security 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
A query access subscriber receives Lake Formation grants on the tables and queries them in place, which meets both "no copy" and "governed per table". A data access subscriber is designed to pull the objects into its own tool. A raw bucket policy bypasses Lake Formation, and replication copies the data, which compliance forbids.
Related
Security Hub, Route 53 Resolver query logs, Log query engines. Security Lake and OCSF integrations covers source and subscriber integrations.
Further reading
Route 53 Resolver query logs
DNS query logging for VPCs, what it captures, where it goes, and why it matters for threat hunting.
Log query engines and normalization
Querying and correlating security logs with CloudWatch Logs Insights, Athena and OpenSearch Service fed by Amazon Data Firehose, plus parsing and normalizing logs with Lambda and OCSF.