Skip to main content
Detection rules match events as they arrive, and each match is a security finding. This recipe lists the rule packs of a project, then counts the enabled rules for each tactic and technique of the MITRE ATT&CK Enterprise matrix, so that an agent can find the techniques with no rule. Both steps need findings:read. Coverage counts rules that are configured. It does not prove that a log source sends the data a rule reads.

List the rule packs

Each project has the builtin pack, which is always on, and up to 20 packs of its own.
The response is { "packs": [pack] }, the built-in pack first:

Read the coverage

The response has the ATT&CK version, the rule totals, and every tactic with its techniques:
enabled_rules counts the rules of turned-on packs. available_rules also counts the rules of turned-off packs. Each rule counts once for a technique, even when a pack installs it twice. A technique with enabled_rules: 0 and available_rules above 0 needs only a pack turned on.

Next steps

Detection rules

Write, validate, and backtest your own rules.

Dry-run a destructive change

Preview a pack change before you save it.