true negative
Harmless activity that a rule correctly left alone.
In more detail
When testing a detection, true negative samples are clean events that must not match. They catch over-corrections, where a rule is broadened so far that it fires on normal work.
Related terms
- true positive — An alert that fired on real malicious activity: the rule was right and the activity was an attack.
- false positive — A check result that claims something is true when it is not, such as a test passing on broken code or a tool flagging correct code.
- detection as code — Treating detection rules like software: stored in version control, reviewed, and tested automatically on every change.
Taught in
- Detection as Code: Authoring & Testing Sigma Rules — Security Operations & Threat Hunting (SOC)