CLOUD CONCEPT

Open Cybersecurity Schema Framework (OCSF)

Open Cybersecurity Schema Framework (OCSF) is an open, vendor-neutral framework for representing cybersecurity events in a common schema.

Cloud Concepts Hub →

What is Open Cybersecurity Schema Framework (OCSF)

OCSF standardizes how security tools describe events, entities, activities, and findings so that data from different sources can be analyzed consistently. In cloud environments, it reduces source-specific parsing and helps integrate edge-service telemetry, third-party security products, and centralized analytics without tying the data model to one provider.

Open Cybersecurity Schema Framework (OCSF) provides a shared vocabulary and structure for cybersecurity data. Different products often describe the same activity using incompatible field names, event categories, timestamps, and identifiers. OCSF defines event classes, reusable objects, attributes, and enumerations that producers and consumers can use to describe those activities consistently. It is a schema framework, not a security appliance, transport protocol, storage service, or detection engine.

An OCSF integration maps a source event to an appropriate event class and populates its attributes according to the selected schema version. Classification fields identify the event class and activity, while objects represent entities such as users, devices, network endpoints, and HTTP requests. Correct normalization requires understanding source semantics: a request blocked by a web application firewall must not be represented as a successful request merely because the original record contains an HTTP status code.

In cloud architectures, normalization can happen in the producing product, an ingestion pipeline, or a managed security data lake. For example, Amazon Security Lake converts supported AWS source data into OCSF and stores it in Apache Parquet format. Custom sources must supply data that meets Security Lake's OCSF, Parquet, and delivery requirements. OCSF itself is independent of Parquet; schema compatibility does not automatically establish compatibility with a particular ingestion destination.

At the network edge, engineers can normalize web application firewall events and third-party security telemetry to support common investigations. An analyst might correlate blocked web requests with network activity and authentication events using normalized source addresses, timestamps, and identities. AWS WAF logs use their own source format; a supported Security Lake integration or an explicitly configured transformation produces the OCSF representation. Do not assume that every edge-service log becomes OCSF simply because it is delivered to object storage.

Ingesting OCSF data and deploying third-party WAF rules solve different integration problems. OCSF makes telemetry interoperable for analysis. A third-party WAF rule group evaluates requests and can influence whether traffic is allowed, blocked, challenged, or counted, depending on configuration. Normalized logs can inform tuning and incident response, but OCSF does not install rules, inspect traffic, or enforce a network control.

Normalization introduces engineering trade-offs. Mapping and validation consume processing resources, can add latency, and require maintenance as source formats and schema versions change. Vendor-specific details may not have a direct common-field equivalent. Preserve important original context through appropriate schema mechanisms or separately retained raw records, subject to retention and privacy requirements. A syntactically valid record can still be misleading if severity, action, identity, or event time is mapped incorrectly.

When troubleshooting, first distinguish delivery failures from schema failures and analytical errors. Check source logging, permissions, encryption access, destination configuration, and delivery health before inspecting class selection, required attributes, data types, enumerated values, and schema version compatibility. Finally, test representative allowed and blocked requests against downstream queries. A successful ingestion response proves neither semantic correctness nor that a detection covers the intended activity. OCSF improves interoperability, but access controls, encryption, retention policies, and detection logic remain separate responsibilities.

Key aspects of Open Cybersecurity Schema Framework (OCSF)

OCSF standardizes security-event meaning and structure while leaving delivery, storage, enforcement, and detection implementation to the surrounding architecture.

Vendor-neutral event model

OCSF provides common event classes and attributes across security products and cloud providers. Consumers can analyze equivalent activities without building every query around a vendor-specific field layout.

Consistent classification and reusable objects

Event classes and activity identifiers describe what happened, while reusable objects describe entities such as users and network endpoints. Choose mappings based on the event's meaning rather than superficial similarities between field names.

Semantic normalization

Normalization aligns values and meanings, not just JSON keys. Validate timestamps, actions, severity, and identities against representative source events to avoid technically valid but misleading records.

Versioning and extensibility

Schema versions and extension mechanisms allow the model to evolve and accommodate additional requirements. Producers and consumers must coordinate supported versions and avoid assuming that every extension is understood downstream.

Separation from storage and transport

OCSF defines the data model rather than prescribing a delivery protocol or storage engine. A destination can impose additional requirements, such as Parquet encoding, partitioning, permissions, and delivery conventions.

Analytics interoperability, not enforcement

OCSF makes security telemetry easier to query and correlate across sources. It does not block requests, deploy WAF rules, or provide detections without additional security controls and analytical logic.

Cloud services for Open Cybersecurity Schema Framework (OCSF)

AWS WAF supplies edge-request telemetry, while Amazon Security Lake can normalize supported sources into OCSF and store the results in Parquet. Third-party producers can contribute compatible custom-source data, with AWS Glue transformations used where explicit mapping is needed. Glue Data Catalog metadata and appropriate permissions allow Amazon Athena to query the resulting datasets. These components separate traffic enforcement, schema transformation, storage, and analysis: WAF rules protect requests, while normalized records support investigation and rule tuning. Engineers must validate both ingestion requirements and the meaning of mapped fields.

Amazon Security Lake

Security Lake normalizes supported AWS security telemetry into OCSF and stores it in Parquet format. It also accepts custom sources that satisfy its OCSF schema and ingestion requirements, enabling centralized analysis of AWS and third-party data.

Open Amazon Security Lake →
AWS WAF image AWS WAF

AWS WAF produces request-inspection logs that can be normalized through its supported Security Lake integration. Third-party WAF rule groups control request evaluation separately; OCSF standardizes the resulting telemetry rather than defining the rules.

Open AWS WAF →
Amazon Athena image Amazon Athena

Athena can query OCSF data stored in Amazon S3 when suitable table definitions and permissions are configured. Shared schema fields make cross-source queries more reusable, although analysts must still account for event classes, missing attributes, and version differences.

Open Amazon Athena →
AWS Glue image AWS Glue

AWS Glue can implement transformations from proprietary event formats into OCSF-aligned records, and its Data Catalog can describe datasets for querying. Cataloging a dataset alone does not validate its OCSF semantics or perform normalization.

Open AWS Glue →