Detections and hunts
A rule is one SQL query tied to a source. A hunt runs rules on a schedule and writes what they match to the alerts table.
Figure 1. L4 Detail -- Rules and hunts. Up: L2 Services -- DFE data path.
The alerts table is itself a source. It has the same schema management, retention and query surface as any other, and a rule written against it is how you express correlation.
Coming from Splunk? Rules are ClickHouse SQL, so there's no separate correlation language to learn. A rule can join
alertsor any source against another table, such as an asset inventory. Detections on a source has the rule file, the hunt, which organisations a hunt reads, and the lookup databases a rule condition may read.
In the console
Rules and Hunts sit under Detect. Matches are under Observe, in Hunt Results. A search in the console can start a rule: the Create Rule trigger sends the search's SQL to the rule editor. Creating a rule from a search walks it.
Sigma
Sigma is off by default in this release. Every path under /api/v1/sigma answers 404 until sigma.enabled is set (DFE_ENGINE_SIGMA_ENABLED=true). A sigma entry in a source's views is a field-map view and deploys either way. Turned on, the Sigma pipeline pulls community rule feeds into a catalogue you curate, and each rule you select becomes a DFE rule and a hunt. Field mapping says how Sigma's field names reach your columns.
Running the hunts
The hunt runner is one pod by default. Autoscaling is opt-in, through huntRunner.autoscaling.enabled. Hunt-runner scaling says how the due backlog is computed and what the runner does with no engine.
Conditions
Match conditions use CEL, Google's Common Expression Language. The expression language says why we chose CEL.