goliath-rule 0.2.4

Detection rules resolved to OCSF paths, shared by every execution path
Documentation

goliath-rule

crates.io docs.rs License

Detection rules resolved to OCSF paths, in the one form that every execution path of Goliath consumes.

A rule language such as Sigma names fields the way a log source names them. This crate holds the resolved form, which refers only to OCSF paths, so that the streaming match engine and the ClickHouse backend cannot disagree about what a rule means. The reasoning is in ADR-0012.

Scope

  • Dotted paths into an OCSF event, traversing arrays.
  • Case folding that defines case insensitive comparison: Unicode simple case folding, independent of locale.
  • Field mappings from a rule language's field names to OCSF paths, selected by log source. The shipped set for Sigma on Windows is in mappings/.
  • Resolution of parsed Sigma rules into that form: modifiers become wildcard patterns, transformations such as base64offset and windash become the variants pySigma produces, and anything that cannot be resolved exactly is refused.

License

Copyright 2026 arelove. Licensed under the Apache License 2.0; see NOTICE.