Skip to main content

Module definition

Module definition 

Source
Expand description

The source definition file format.

A definition is written by people who know a log source, not Rust, and is loaded as untrusted input: see docs/adr/0007-source-and-parser-model.md for the model and sources/sysmon.yaml for a complete example.

Structs§

ClassSpec
The OCSF class of a kind. The category and type follow from it.
KindDefinition
One kind of record, and how it maps to an OCSF class.
SourceDefinition
A source definition as written.

Enums§

Coercion
A conversion of a source value to an OCSF type.
Decoding
How a record becomes a field map.
FieldSpec
Where an attribute’s value comes from.
Framing
How a byte stream splits into records.
Scalar
A constant or a value to compare with, as YAML writes it.