Threat Hunting Tools

Field note · Logged September 2026

Detection-as-code explained

Treating detection rules like software.

Editorial assessment · From vendor product pages, docs and announcements · Updated 2026-10-18

About 1 minutes

What are the parts of a detection-as-code workflow?

Parts of a detection-as-code workflow
PracticeWhat it meansWhy it matters
Version controlRules live in a repository; every change has an author and a historyYou can see who changed what and revert
ReviewChanges are approved by a second personCatches logic errors before they ship
TestingRules run against sample or historical data before deployMeasures noise and misses in advance
CI/CDTests and deployment run automatically on mergeRemoves manual copy-paste into consoles
RollbackA bad change can be undone quicklyLimits the cost of mistakes

Which tools in this guide support detection-as-code?

Detection-as-code support by tool
ToolDAC scoreWhat the vendor publishesOur reason
Anvilogic9"Detection-as-Code with version control"Detection-as-code with version control is stated on the platform page.
Nebulock8Immutable version history, GitHub export, required retrohuntImmutable version history with compare and revert, GitHub export, and a required retrohunt before deployment.
Vega8"Detections live in source control, reviewed like any other code change"Detections live in source control, each change with a diff, an author and an approver.
CardinalOps8CI/CD support; rules delivered in native SIEM syntax or EDR formatsCI/CD support, with rules delivered in native SIEM syntax or EDR formats.
Cotool7"compatible with your existing detection-as-code infrastructure"Compatible with existing detection-as-code tooling, with agent version control.
Mars Security630-day backtest on customer data; version control not described publiclyBacktests each rule on 30 days of the customer's own data; public pages do not describe version control or CI.
Artemis Security5Detections written and tuned automatically; no workflow describedDetections are written and tuned automatically; no detection-as-code workflow is described.

Is backtesting the same as detection-as-code?

No, but it is one of its most valuable parts. A backtest runs a rule against past data to show what it would have caught. Mars Security's 30-day backtest and Nebulock's required retrohunt are both strong testing steps. Detection-as-code adds the rest: history, review and automated deployment.

Where does Sigma fit?

Sigma rules are plain text and not tied to one platform, which makes them a natural fit for a repository. Converters such as Sigma CLI and pySigma turn them into the query language of each platform at deploy time.

Source: github.com/SigmaHQ/sigma · Reviewed Sep 2026