Crate gene

Crate gene 

Source

Re-exports§

pub use rules::Rule;
pub use values::FieldValue;

Modules§

rules
values

Structs§

Compiler
Rule compiler
Detection
Structure holding information about the detection rules matching the Event.
Engine
Structure to represent an Event scanning engine. Its role being to scan any structure implementing Event trait with all the Rules loaded into the engine
Filter
Structure holding information about filters matching the Event
ScanResult
Structure representing the result of an Event scanned by the Engine.
Templates
Structure holding string templates to replace in rules. Templating mechanism allow to define once complex regex and use them at multiple places in rules, making rule maintenance easier.
XPath
Cross Path allowing to recursively retrieve a FieldValue from a structure implementing FieldGetter.

Enums§

Error

Traits§

Event
Trait representing a log event
FieldGetter
Trait representing a structure we can fetch field values from a XPath