Every device, cloud and application in your estate logs in its own shape. Until you normalise those shapes into one, every detection rule, every retention policy and every regulator query you write is quietly bound to the source it was written against — and breaks the moment you add another.
This is the tax nobody prices into a SIEM rollout. You onboard the firewall, write detections against its field names. You onboard the identity provider, and its “user” is somewhere else, called something else, with a different notion of what a failed login is. Six sources in, you are maintaining six dialects of the same question, and the analyst who wants to ask “show me every failed authentication for this account across everything” cannot, because there is no everything — only six overlapping partial answers. Normalisation is the discipline of collapsing those dialects into one language before the data lands anywhere a rule or a report can see it.
Why source-specific detections rot
A detection rule written against raw vendor fields inherits every accident of that vendor’s log format. The field name, the timestamp format, whether an outcome is a string like FAILURE or an integer, whether the source IP lives at the top level or three objects deep — all of it is now load-bearing in your rule. Change the log source, change the vendor’s format in a product update, or try to reuse the rule on a second product that does the same job, and the rule is worthless. You have coupled your detection logic to an implementation detail you do not control.
Free · 4 minutes
Would you survive contact with a determined attacker — or an auditor?
Fourteen questions on access, patching, detection, and recovery — the basics that prevent most real incidents, and the ones most often assumed rather than verified. Banded finding on screen, full sheet by email.
The same rot hits retention and reporting. If “authentication event” means something structurally different for each source, you cannot set one retention policy for a class of event — you set N policies and hope they stay aligned. And when a supervisor asks a cross-cutting question — which under DORA’s incident-reconstruction expectations or NIS2’s logging duties they increasingly will — you are reconstructing the answer from N incompatible stores under time pressure. The cost of not normalising is not visible on day one. It is visible on the day you most need a single, defensible answer and cannot produce one.
What OCSF actually is
The Open Cybersecurity Schema Framework is a vendor-agnostic event model for security telemetry. It launched at Black Hat in August 2022, sponsored initially by AWS and Splunk alongside a group of founding contributors and derived from Symantec’s ICD schema; in November 2024 it moved under the Linux Foundation, which matters if you are betting infrastructure on it — it is now governed as a neutral open project rather than a single vendor’s initiative. The schema is versioned and moves quickly: 1.6.0 landed in August 2025, 1.7.0 in November 2025, and 1.8.0 in March 2026.
The structure is worth understanding before you map to it, because it is what makes the normalisation stable. Events are grouped into categories — System Activity, Findings, Identity & Access Management, Network Activity, Discovery, Application Activity and others — each with a numeric category_uid. Within a category sit event classes, each with a class_uid; Authentication, for example, is class 3002 in the Identity & Access Management category. Within a class, an activity_id captures the specific action, and the two combine into a type_uid that uniquely names the exact event. On top of the core model, profiles add optional overlays of context (cloud, container, host) without changing the base class, and extensions let you register your own attributes and classes in reserved identifier ranges so you can extend the schema without forking it. That last property is the one that makes OCSF worth adopting rather than inventing your own model, which is a point it shares with any well-designed contract — the same reasoning behind designing an API contract before the code. You are writing your detections against a stable public interface, not a private shape you now own forever.
OCSF is not the only option. Elastic Common Schema (ECS) does a similar job and, since Elastic contributed it to OpenTelemetry in 2023, is converging with OTel’s semantic conventions on the observability side. If your estate is Elastic-centric, ECS may be the pragmatic target. The principle is identical either way: pick one common event model and map everything to it. What you must not do is run two target schemas in parallel and rediscover the fragmentation you were trying to remove.
Where the mapping belongs
Normalisation should happen as early in the pipeline as you can afford to run it — at ingestion, in the collector or transform tier, before the event is written to storage. Normalise at read time and every consumer re-implements the mapping, inconsistently. Normalise at write time and you pay the transform cost once, and everything downstream — detection engine, data lake, retention tier, reporting — sees the same clean shape. Keep the raw event too; store the original vendor payload in a raw_data field or a parallel object so you can re-map when the schema evolves or prove provenance to an auditor. Normalisation is a projection, not a destruction.
A mapping transform is mostly unglamorous field translation plus a few computed identifiers. Here is the shape of one, turning a raw identity-provider authentication log into an OCSF Authentication event:
# Map a raw IdP auth log to an OCSF Authentication event (class_uid 3002).
# Runs in the ingestion transform tier, before the event is stored.
OCSF_VERSION = "1.8.0"
AUTH_CLASS_UID = 3002 # Identity & Access Management / Authentication
# Vendor outcome string -> OCSF activity_id and status_id
_ACTIVITY = {"login": 1, "logout": 2} # 1 = Logon, 2 = Logoff
_STATUS = {"success": 1, "failure": 2} # 1 = Success, 2 = Failure
def to_ocsf_authentication(raw: dict) -> dict:
activity_id = _ACTIVITY.get(raw.get("event_type", "").lower(), 0) # 0 = Unknown
status_id = _STATUS.get(raw.get("outcome", "").lower(), 0)
return {
"class_uid": AUTH_CLASS_UID,
"category_uid": 3,
"activity_id": activity_id,
# type_uid uniquely names the event: class_uid * 100 + activity_id
"type_uid": AUTH_CLASS_UID * 100 + activity_id,
"time": raw["timestamp_ms"], # OCSF expects epoch milliseconds
"severity_id": 1,
"status_id": status_id,
"user": {"name": raw.get("actor"), "uid": raw.get("actor_id")},
"src_endpoint": {"ip": raw.get("client_ip")},
"metadata": {
"version": OCSF_VERSION,
"product": {"name": raw.get("source_product", "unknown")},
},
"raw_data": raw, # keep the original for re-mapping/provenance
}
Every other authentication source — the VPN, the cloud console, the database — gets its own small mapper that emits the same Authentication class. The detection engineer then writes one rule against class_uid == 3002 and status_id == 2 and it fires correctly regardless of which product produced the event. That is the entire point: the detection is written once, against the schema, not against the source.
Handling schema evolution without a rewrite
OCSF changes several times a year, and your sources change on their own schedule. Treat the mapping layer as versioned code, not configuration hidden in a vendor console. Pin the metadata.version you emit, so a query can tell which schema version produced a stored event and old data stays interpretable. When you need a field the standard does not yet carry, use a registered extension rather than bolting an ad-hoc key onto a core class — that keeps you upgrade-compatible and stops your “OCSF” quietly becoming a private dialect again. Because you retained the raw payload, a schema upgrade is a re-mapping job over stored data, not a data-loss event. This is the same instinct as keeping a bill of materials for anything you depend on: you cannot manage evolution in a dependency you have not inventoried.
Two operational cautions. The mapping tier is now a security-relevant component in its own right — it sees every event in the clear, so the path from collector to transform to store deserves the same authenticated, encrypted treatment you would give any internal service, of the kind covered in mutual TLS between internal services. And an unmapped source is an invisible source: decide explicitly what happens to events that fall through to activity_id 0, because a detection built on a common schema is only as complete as the mapping coverage behind it.
Onboarding a new log source should cost you one mapper and nothing downstream. If it still costs you a rewrite of your detections and your reports, you have not normalised — you have just moved the fragmentation somewhere a supervisor cannot see it yet.
Free interactive tool
Website compliance checklist
What your site has to do, based on what it actually does
Answer as much or as little as you like — the list builds as you go. Nothing is stored against your name and no email is required.
Everything that applies
Ordered by what to do first: legal requirements you can close quickly, then larger pieces of work, then what is expected rather than required. Not exhaustive, and not a legal audit.
Dated PDF, yours to keep or circulate.
Can you trust the architecture you have?
Architecture diagrams rarely show the reality of how systems actually operate. An independent review establishes what is really there.