• HomeTutior
  • AEGISPlatform
  • How it worksPlatform
  • DeploymentPlatform
  • CollectionPlatform
  • DetectionPlatform
  • AI analystPlatform
  • Triage and incidentsPlatform
  • Case managementPlatform
  • ResponsePlatform
  • Threat intelligencePlatform
  • ReportingPlatform
  • Audit recordPlatform
  • Access controlPlatform
  • Data handlingPlatform
  • How it is builtPlatform
  • The consolePlatform
  • Product tourPlatform
  • IntegrationsPlatform
  • SecurityPlatform
  • Too many alertsSolutions
  • Too few analystsSolutions
  • Data that must staySolutions
  • Evidence for an auditSolutions
  • RansomwareSolutions
  • Account takeoverSolutions
  • TelecomSolutions
  • BankingSolutions
  • GovernmentSolutions
  • TestingServices
  • OperationsServices
  • CompareResources
  • Against a traditional SIEMResources
  • Against a cloud SOC platformResources
  • Against separate toolsResources
  • Why self-hostedResources
  • Moving from a SIEMResources
  • ExplainersResources
  • What a SIEM isResources
  • SIEM, SOAR and XDRResources
  • What OCSF isResources
  • What Sigma rules areResources
  • ATT&CK, explainedResources
  • What self-hosted meansResources
  • A buyer's checklistResources
  • CompanyCompany
  • ContactCompany
Menu

Explainers / What OCSF is

OCSF, an open schema for security events

AEGIS stores its events in OCSF, an open schema with every field defined in public. Your analysts or an auditor can read a stored event against those definitions.

Why a common event shape matters

A sign-in is recorded by a directory server, a VPN gateway and a cloud console. Each names the user in a different field, writes the time in a different format, and has its own word for success.

A security platform has to turn all of them into one shape before a rule or a search can treat them alike. For a long time each platform designed that shape itself, which tied the stored history, the rules and the dashboards to that one product.

OCSF, the Open Cybersecurity Schema Framework, is an open-source, vendor-neutral schema for security events, published under the Apache 2.0 licence.

The parts of the schema, in plain terms

A class is one kind of event

Authentication is a class. So are Process Activity and DNS Activity. Each has a fixed identifier and a defined set of fields, so every authentication event has the same shape whatever produced it.

A category groups related classes

Identity and Access Management holds Authentication, Account Change and Group Management. Network Activity holds the classes for connections, HTTP, DNS and email.

Fields come from one dictionary

A user, a device, a process and a file are described the same way in every class that mentions them. A rule about a user does not need to know which class it is reading.

An activity says what happened

Within a class, the activity narrows the event. In Authentication it tells a logon from a logoff.

Extensions add without forking

A vendor can add classes and fields of its own beside the core schema, without changing what the shared fields mean.

One sign-in, from log line to stored event

Arrive

A device sends a line in its own format. At this point only that vendor's documentation says what it means.

Parse

A parser written for that source recognises the line and pulls out its parts: who, from where, when, with what result.

Map

The parts go into the fields of the Authentication class.

Store

The event is kept in that shape. A search for failed sign-ins now covers every source that maps to the class, in one query.

What an open format changes for a buyer

Your analysts, an auditor or another tool can read a stored event against published definitions, without the vendor's private documentation.

A query or a rule that refers to published field names can be understood, reviewed and carried by anyone who knows the schema.

History held in a private schema has to be translated before another product can use it, by someone who understands both. History held in an open schema starts from a description both sides can read.

What the schema does not settle

Whether the mapping is right

OCSF defines where a value belongs. It does not check that a parser put it there.

What the source never logged

A class has a field for the parent process. If the source does not record one, the field is empty in any schema.

How events are stored and queried

The schema describes an event. The database, the query language and the retention period are the product's own.

The OCSF classes AEGIS stores

AEGIS 0.3.4 normalises events to 18 OCSF classes. A record no parser can place is still stored, as the OCSF Base Event.

OCSF categoryWhat it holdsClasses in AEGIS
System ActivityWhat happens on a host's operating systemFile System Activity, Process Activity
FindingsWhat a security tool has already concludedDetection Finding
Identity and Access ManagementSign-ins, accounts, groups and access rightsAccount Change, Authentication, Authorize Session, User Access Management, Group Management
Network ActivityConnections and the protocols carried over themNetwork Activity, HTTP Activity, DNS Activity, DHCP Activity, Email Activity
DiscoveryThe state and inventory of devicesDevice Inventory Info
Application ActivityWhat applications, APIs and data stores doApplication Lifecycle, API Activity, Datastore Activity, File Hosting Activity

Every stored event carries its own time and the time AEGIS received it. User, host, source and destination address, destination domain, process, parent process, command line, file path, SHA-256, bytes out and status are promoted to fields of their own.

Common questions

What happens to a log no parser recognises?

It is still stored, and its source type is listed as unclaimed.

Can we add a source ourselves?

Yes. In the parser editor an administrator tests a record against a parser, sees the field differences, and saves the parser for their own tenant. Saving requires every sample to pass, and each save is audited.

How do we read the stored events?

With read-only SQL in the console, over the event store, limited to your tenant and capped at 60 seconds and 50,000 rows. Pipe-style queries work there too.

Where do values go that have no common field?

Into a map of class-specific attributes on the same event, beside the promoted fields.

Read next.

Talk to an engineer

Tell us what you run today and what worries you. Someone who works on AEGIS will reply.

Get in touch