Repository navigation
Alert To Case Correlation
Last reviewed: 2026-11-28
Prerequisites: Detection Engineering index ยท Incident Response playbook (enhanced) ยท Tuning & false positives.
An alert is a rule match. A case is the unit of work an analyst owns. This guide covers the steps between them: enrichment, deduplication and grouping, ownership, and the evidence links a case needs. It hands off to the incident-response playbooks in this repository.
Lists the alert fields to carry forward from Suricata, Zeek and Wazuh, gives grouping keys and the engine mechanisms that already deduplicate, defines who owns what, and gives a minimum case record.
Every case can be traced back to the exact rule version, raw events and test evidence behind each alert in it, and every closed case feeds back to the rule's owner.
- Designing how a SIEM turns alerts into cases or tickets.
- Triaging an alert and deciding whether it joins an existing case.
- Closing a case and recording what it means for the rule.
| Source | Fields | Why |
|---|---|---|
| Suricata EVE alert |
timestamp, flow_id, src_ip, src_port, dest_ip, dest_port, proto, alert.signature_id, alert.rev, alert.signature, alert.severity, alert.action
|
Rule identity and version, and the flow to pivot on. The field is dest_ip, not dst_ip
|
Suricata community_id
|
Off by default (community-id: false in the 8.0.8 suricata.yaml.in); enable it with the same community-id-seed on every sensor |
A flow ID that can be matched to other tools' records, such as Zeek |
| Zeek | Notice type; Zeek 9.0.1 ships policy/protocols/conn/community-id-logging.zeek for the matching flow ID |
Join Zeek context to the Suricata alert |
Wazuh alert (logtest output) |
rule.id, rule.level, rule.description, rule.groups, rule.firedtimes, decoder.name, plus the decoded source fields |
Rule identity, and how often the rule has fired. Logtest returned rule.id as a string (observed) |
| Rule metadata | Suricata rev, Sigma id and modified, Wazuh rule file Git commit |
Which version of the rule produced the alert |
Add context at case creation, and record where each value came from and when it was fetched:
- Asset: owner, role and criticality of the hosts involved, from the asset inventory in the IR playbook preparation steps.
- Identity: account owner and whether it is a service account.
- Threat intelligence: reputation lookups for addresses, domains and hashes, using the providers in the Security API catalog. A failed or missing lookup is recorded as unverified, not clean.
- Detection context: the rule's known false positives, open blind spots (register) and recent tuning records.
Deduplicate in the engine where possible, and group in the case system.
| Mechanism | Effect | Source |
|---|---|---|
Suricata threshold: type limit
|
One alert per tracker (for example by_src) per period; the lab saw two canary flows give one alert |
Suricata 8.0.8 thresholding docs and lab evidence |
Wazuh frequency + timeframe on if_matched_sid
|
A separate, higher-level alert when the parent repeats; the lab's 100603 (level 12) fired on the second 100601 event in one session | Lab evidence |
Wazuh same_srcip, same_user, same_field and related options |
Restrict a frequency rule to repeats that share a value | Wazuh 4.14 rules syntax |
Wazuh ignore
|
Ignores the rule for N seconds after it triggers | Same page |
The lab's 100603 has no same_* option, so any two 100601 matches from the same agent within 300 seconds count, whatever their source IP or user. Wazuh counts only events from the same agent unless the rule sets global_frequency (4.14 rules syntax; the agent check is in Search_LastSids in eventinfo.c at v4.14.11). Add a same_* option when repeats should be per source IP or per user.
Suggested grouping key for the case system: rule identity + primary entity + time window, for example Suricata signature_id + src_ip within one hour, or Wazuh rule.id + agent within one hour. Keep every grouped alert ID in the case; do not replace them with a count. Do not group alerts from different rules into one case only because they share a host. Link the cases instead, so each rule's true- and false-positive record stays accurate.
| Role | Owns |
|---|---|
| Detection engineer (rule owner) | Rule logic, fixtures, tuning records, blind-spot register |
| Triage analyst | Initial disposition, enrichment, grouping decision |
| Case owner (incident handler) | Investigation, containment decisions and closure, following the IR playbook |
| Data-source owner | Sensor and log pipeline health |
Record the rule owner on the rule, and the case owner on the case. A case closed as a false positive or benign true positive is sent to the rule owner as tuning input.
Case ID: <case system ID>
Opened: <UTC timestamp> Owner: <role>
Alerts: <alert IDs, each with engine, rule ID and version>
Raw events: <links or hashes of the original EVE lines / log records>
Entities: <hosts, accounts, addresses, hashes>
Enrichment: <source, value, fetched at>
Rule evidence: <evidence manifest or test record for the rule version>
Blind spots: <open register entries for the data sources involved>
Disposition: true positive | benign true positive | false positive | not determined
Playbook: <IR playbook followed>
Feedback to rule: <tuning record ID, or "none">
"Rule evidence" points at what is actually known about the rule. For the canary lab rules that is evidence/ci-run-46219831976.json, which covers synthetic fixtures only and says nothing about alert delivery or analyst handling.
| Situation | Procedure |
|---|---|
| General triage, containment and recovery | IR playbook (enhanced) ยท IR playbook (simple) |
| Unauthorized access and brute force | Unauthorized access investigation |
| Wireless intrusion or rogue access | Network intrusion |
| Reported phishing | Phishing analysis SOP |
| Endpoint evidence collection | Velociraptor triage |
| Findings from client assessments | Assessment findings lifecycle |
- README.md - Detection Engineering index
- ../../PlayBooks/README.md - playbook index
- ../Digital-Forensics/README.md - forensics index
โฌ ๏ธ Detection Engineering index | Master Index | ๐ฏ Role Navigation | Legal Notice
๐ Source: IncidentResponse/DetectionEngineering/alert-to-case-correlation.md | โ๏ธ Suggest an edit | โฌ
๏ธ Back to Incident Response
- ๐บ๏ธ Browse by Topic
- ๐ All Repository Files
- ๐งญ Learning Paths
- ๐ Master Guide
- ๐ค Glossary
- โ๏ธ Legal & Disclaimer
๐ Foundations & Learning
๐ก๏ธ Defense & Investigations
- Incident Response
- Open Source Intelligence (OSINT)
- Reverse Engineering
- Operations Security (OPSEC)
- Compliance
โ๏ธ Platforms & Infrastructure
๐ก Hardware, Wireless & Field Projects
- PNWC Cyberdeck
- Hardware Testing
- Hardware Hacking
- Software-Defined Radio
- Wardriving
- uConsole
- Space Security
๐งฐ Assessment & Field Reference
๐ฆ Downloads & Project Resources
๐๏ธ Additional Topics