Use this when reducing noisy detections without losing real ones.
Detection Tuning · Detection Engineering
Detection tuning adjusts rules to cut false positives without losing real detections: add precise exclusions, adjust thresholds, enrich with context and retire rules that never produce useful alerts.
1. Tuning improves precision without losing recall.
2. Use context and allowlists with expiry.
3. Re-test after tuning.
4. Review regularly.
5. Involve analysts.
alerts → analysis → tuned rule → re-test
Context & applicabilityCommon mistakes · platform/version boundaries
Operational reference
Fast context before you go deeper.
Verification & Troubleshooting
Start with the observed symptom, prove the nearest boundary, and move outward only when the current state is understood.
Use the operational verification above to establish the expected state.
Capture the concrete output, symptom, packet, log or counter before changing anything.
Step 1 Process Narrow the fault
1. Measure alert volume and true/false positive rate per rule.
2. Find the common pattern in false positives.
3. Add the narrowest exclusion (host + process + path) or refine logic.
4. Replay past data to confirm known attacks still trigger.
5. Document the change, owner and review date.
Step 2 Common mistakes Narrow the fault
- Broad exclusions that create blind spots.
Evidence · 1 on this Topic
Expected observations and documentation recipes are reference material. Record actual output, device identity, scope and time before claiming a verified result.
- Use precise exclusions, not broad ones.
- Enrichment helps analysts decide.
- Retire rules that never produce useful alerts.
- Rule performance metrics (TP/FP) — quality
- Tuning change log — history
- Regression tests after tuning — no lost detections
ReferenceWhy it matters1 section · depth on demand
How it works
Detection tuning adjusts rules to keep true positives while cutting false positives: refine logic, add narrow exclusions for known-good activity, adjust thresholds, and test against historical data before and after the change.
Additional reference context Scope · expected state · examples · history · terminology Open only when you need the supporting context
Verification history & basis
When and against what this Topic was checked. Later text edits do not count as a new check.
Authoritative/upstream documentation reviewed for bounded claims in Detection Engineering → Detection Tuning. Documentation verification only; this is not observed lab or production Evidence.
Basis: https://sigmahq.io/docs/basics/rules.html · confidence 94%