Skip to Content
Asterrr's Handbook
3 · Infrastructure security

Security Lake and OCSF Integrations

Centralize AWS, SaaS and third-party security logs in OCSF format with Amazon Security Lake and AWS AppFabric.

Exam tasks: 3.1 (OCSF and third-party WAF integrations)

The decision: how do logs from AWS, SaaS and partner tools reach one OCSF schema that a SIEM or Athena can query?

Different tools log in different shapes. The Open Cybersecurity Schema Framework (OCSF) is an open schema that gives security events one shape. Amazon Security Lake stores normalized data as Apache Parquet in S3 buckets that you own. AWS AppFabric normalizes SaaS audit logs to OCSF.

SourcesSubscribersParquetquery accessdata accessCloudTrail, VPCFlow Logs, WAFAppFabric SaaSlogsCustom source(OCSF)Athena queriesSIEM or partnertoolSecurity LakeYour S3 bucket
Native AWS sources are converted automatically. Custom and SaaS sources must arrive as OCSF Parquet. Subscribers read the lake.

Security Lake

ItemDetail
StorageCustomer-owned S3 buckets, Apache Parquet, OCSF
Native sourcesCloudTrail management and data events (S3, Lambda), EKS audit logs, Route 53 resolver query logs, Security Hub findings, VPC Flow Logs, WAFv2 logs
ScopeMulti-account and multi-Region. Rollup Regions consolidate data for residency
SubscribersData access (notified of new objects) or query access (Athena, Redshift, partner tools via Lake Formation and Glue)
LifecycleConfigurable retention and tiering

Custom source requirements

RequirementValue
Schema and formatOCSF (version 1.3 and earlier), Apache Parquet, one OCSF event class per source
Partition pathregion=, accountId=, eventDay=YYYYMMDD (UTC)
Parquet sizingData page up to 1 MB uncompressed, row group up to 256 MB compressed. Zstandard preferred
Delivery cadenceFiles every 5 minutes up to 1 event day. Sending faster is acceptable only if files exceed 256 MB
Sort orderRecords ordered by time within each object
QuotaUp to 50 custom sources per account

Security Lake creates a write role for each custom source, a Lake Formation table, and a Glue crawler.

AppFabric and third parties

AppFabric connects SaaS applications without code and normalizes their audit data to OCSF so common alerts and policies work across apps. Security vendors provide connectors that transform their telemetry into OCSF, often with a Lambda function or API integration, for ingestion into Security Lake.

Exam signal

"Normalize logs from AWS, SaaS and partner tools into one vendor-neutral schema in my own S3" means Security Lake with OCSF. "SaaS audit logs into the lake without custom code" means AppFabric.

Exam trap

Security Lake converts only natively supported AWS sources for you. A custom source that sends CSV or JSON, or does not follow the partition scheme, will not work. Convert to OCSF Parquet first.

Further reading

On this page