Detections¶
A detection rule is a DQL query that runs on a schedule; each hit becomes an alert, and alerts are grouped into incidents. Open DETECTION & RESPONSE > Detections: tabs Built-in, Custom rules, Runs, Coverage and Suppressions.
Reading needs Read in the Detections & content area; switching built-in rules, custom rules, suppressions and Sigma import need Read-Write. Rules read every data source of the organization (a rule belongs to the organization, not to a user).
Built-in rules¶
DRACO maintains a catalog of built-in rules, grouped in content packs and mapped to MITRE ATT&CK. Nothing has to be installed: the Built-in tab lists every rule of the catalog by pack and data source, with its status:
- On: enabled and running; Off: switched off by your organization;
- Needs a data source: enabled, but your organization has no data source the rule reads yet (it starts once you add one);
- Disabled by the platform or Retired: switched off or withdrawn by DRACO.
The recommended rules of each pack are on by default; switch any rule on or off with its toggle. To switch a whole group (a pack's rules for one data source), use Turn group off in its header: DRACO asks for confirmation with the number of rules it changes, applies it to your organization only and offers Undo. Turn group on later turns back on the rules that were on before. Each change is in the audit log like a single switch. Groups collapse with a click on their name (Collapse all / Expand all for every group); your browser remembers which are collapsed. Built-in rules are updated with DRACO releases and cannot be edited: narrow one with a Suppression, or Duplicate as custom rule to change its logic (the copy starts disabled).
| Pack | Rules (recommended) | Data sources |
|---|---|---|
| draco-core | 79 (30) | AWS CloudTrail, Cloudflare, Fly.io, nginx, Okta, GitHub, Microsoft 365, Azure, Google Cloud, Databricks |
| draco-saas | 22 (12) | Google Workspace, Slack, 1Password |
| draco-edr-network | 43 (30) | CrowdStrike, SentinelOne, Microsoft Defender XDR, Kubernetes, firewalls |
| draco-elastic-wazuh | 19 (14) | Elastic Security, Wazuh |
| draco-splunk | 11 (8) | Splunk |
| draco-easm | 10 (9) | Attack surface findings and changes |
Writing a rule¶
New rule (or Open as detection on the Search page) opens the editor:
| Setting | Meaning |
|---|---|
| Query | DQL. An event rule is a filter (with optional where, eval...); an aggregate rule ends in stats, timechart, top or rare |
| Schedule | every N minutes (5 to 1440), hourly, or daily at an hour in a time zone |
| Lookback | how far back each run reads |
| Trigger | any result, or count ≥ threshold |
| Group by | fields that make one alert per value (for example src_ip, actor_user) |
| Dedup window | a repeat within the window updates the same alert instead of creating a new one |
| Grouping | how alerts become incidents: by entity (same rule and group-by values within the grouping window, 24 h by default), by rule (one open incident per rule), per alert, or alerts only (no incident) |
| Severity, MITRE ATT&CK, tags | describe the alerts; ATT&CK techniques are picked by id or name |
| Title template | the alert title, with {src_ip}, {count}, {rule} or any output column |
| What to do | response guidance in Markdown: triage steps, likely false positives, containment, references. It shows as the What to do panel on the rule's alerts and incidents, in incident emails and in the security posture report. Every built-in rule ships one |
| Notify | lets the rule's incidents reach the on_incident notifications |
| Playbook | a workflow (playbook) to run when the rule opens an incident |
A rule's weight in risk scores (a multiplier, default 1.0, or fixed points) is set through the API (risk_multiplier, risk_points of the rule); the editor does not show it.
Test runs the rule over a range and shows the alerts it would create, without writing any; a test reads only the data sources you can see, while the enabled rule reads every source. Errors appear at the field.
For an event rule with count ≥ threshold, DRACO counts the events per group-by values over the lookback and raises one alert per group that reaches the threshold. For an aggregate rule, each output row is an alert (the threshold needs a count column).
Runs¶
Each enabled rule runs on its schedule (one run per rule at a time). After missed runs (for example a restart), the next run reaches back to the end of the last successful run, up to 24 hours. A run creates at most 500 alerts: above that it raises one "rule too noisy" alert and puts the rule in error so you can narrow it. Run now queues a run; the Runs tab lists every run with its window, duration, events matched, alerts created, updated and suppressed, and errors.
Events that arrive late (a cloud audit log delivered 15 minutes after the fact, a backfill, a connector catching up after an outage) still reach the rules: each scheduled run also reads every event stored since the rule's previous run whose own time lies up to 7 days back. An event rule alerts on such an event once, in the dedup window of the event's time. A count ≥ threshold or aggregate rule counts the late events together with the events already stored for the same lookback-sized period, so a threshold reached only thanks to late events still fires, and an alert that already fired for that period is updated instead of raised again. The Runs tab shows how many events of a run came late; those more than 7 days late are counted there (too late) but not matched. Run now and Test read the time range only.
Suppressions¶
A suppression silences known-good hits: optional rule, conditions (field = value or !=, * wildcards, on group-by fields, entities or severity), an expiry and a reason. A suppressed hit is counted in the run but creates no alert. While you edit, a preview counts the stored alerts of the last days (7 by default, up to 90) the suppression would have suppressed. Suppress similar on an alert fills the form for you (see Alerts and incidents).
Sigma rules¶
Custom rules > Import Sigma translates Sigma rules to DQL: paste or upload YAML (up to 200 rules), preview the DQL, the field mapping, warnings and errors per rule, then import the ones you select. Imported rules are disabled at first and carry a Sigma badge.
- Supported: selections, keyword lists,
filter,and/or/not,1 of,all of, the modifierscontains,startswith,endswith,all,re,cidr,gt/gte/lt/lte,exists,cased,fieldref, base64 and wide variants,level,attack.*tags andtimeframe, and the deprecated| count() by X > Naggregation. - Mapped log sources: AWS CloudTrail, Cloudflare, Fly.io, Okta, GitHub, Microsoft 365, Azure Activity, Google Cloud audit, web servers and proxies, authentication, Linux
sshdandauth, CrowdStrike (crowdstrike), SentinelOne (sentinelone), Microsoft Defender XDR (microsoft365defender), Elastic (elastic), Wazuh (wazuh), Splunk (splunk) and antivirus alerts of the EDRs (category: antivirus). Other log sources search every data source. - Not importable: correlation rules,
near, several conditions, unknown modifiers, and regular expressions with lookaround or backreferences.
Coverage¶
Coverage is the MITRE ATT&CK matrix (ATT&CK 20): tactics as columns, techniques coloured by the number of enabled rules, with the rule names in a tooltip and the incidents of 30 days. A click lists the technique's rules. Techniques an active or concluded threat hunt looks for are marked hunted (dashed amber outline). The Indicators toggle shows threat intel indicators per technique instead.
With AI Assistant¶
Propose with AI (Custom rules) and Suggest detections on a data source open the AI rule proposals wizard: DRACO AI Assistant proposes rules from profiles of your logs, each compiled, back-tested and compared with your existing rules before you accept it.