Skip to main content
Returns the custom detection rules configured on the Alerts → Rules tab, each with live fire statistics.

List detection rules

fires and last_fired_ns count matches on hosts within your key’s scope. When a rule fires, the match also appears as a finding in GET /v1/findings (with source: "detection_rule") and triggers the detection_rule.matched webhook event.

Scope behavior

Rules are returned when they apply to hosts your key can see — either all-hosts rules or rules scoped to at least one host in your scope. For rules that span additional hosts outside your scope, host_ids and workload_scopes list only the hosts you have access to. Rule management (create, edit, delete) is available in the dashboard.
Last modified on October 8, 2026