From Alert to Incident: Triage, Severity and Scope
Decide when an alert becomes an incident, score severity from privilege, scope and impact with a small tested function, and choose a first containment step that keeps evidence. Framed with NIST SP 800-61 Rev. 3 and the six CSF 2.0 functions, and how they replace the old four phases.
Contentsand lesson path
On this page
- Why it matters
- Events, adverse events and incidents
- Triage: is it real, and what is at stake?
- A severity score you can explain
- Scope, then the first containment decision
- Check your understanding
- Apply it
- Review prompt
Lessons of Security Incident Response & Forensics
- From Alert to Incident: Triage, Severity and Scope Concept · 20 min
- Containment Under Pressure and Ransomware-Ready Recovery Worked example · 30 min
- Collecting Evidence Without Destroying It Lab · 30 min
- Building a Timeline from Host and Log Artifacts Lab · 30 min
- Tabletop Exercises and the Incident Report Worked example · 25 min
- Incident Response Check Knowledge check · 10 questions
What you will learn
- Triage a security alert into an incident, classify severity and scope, and choose containment actions that balance evidence preservation against business impact.
01. Why it matters
A security team receives far more alerts than it can investigate deeply. Most are harmless: a password typed wrong, a scanner on the internet, a tool that flags an admin doing normal admin work. A few are the start of a serious incident. The first minutes decide which is which, and they also decide how much evidence survives. If you treat a real intrusion as noise, the attacker keeps working. If you treat every alert as a crisis, people burn out and real cases wait in the queue.
This lesson covers three decisions that come before any deep investigation. Is this alert really an incident? How severe is it compared with everything else open today? What is the first containment step that stops the damage without destroying the evidence you will need later? The rest of the skill builds on these decisions: containment and recovery in lesson 2, evidence in lesson 3, the timeline in lesson 4 and the report in lesson 5.
02. Events, adverse events and incidents
NIST SP 800-61 Rev. 3, published in April 2025, is the current United States guidance on incident response. It replaced Revision 2 from 2012. It uses three words carefully. An event is anything observable on your systems, such as a login attempt or a software update. An adverse event is an event with a negative consequence, whatever the cause. An incident is an occurrence that actually or imminently puts the confidentiality, integrity or availability of information or systems at risk, or that breaks the law or your security policies. An alert from a tool is an event until someone checks it. Declaring an incident is a decision, and the guide expects you to have written criteria for it (the CSF 2.0 outcome DE.AE-08).
Revision 2 described a four-phase cycle: preparation; detection and analysis; containment, eradication and recovery; and post-incident activity. Revision 3 keeps the work but organises it around the six functions of the NIST Cybersecurity Framework (CSF) 2.0: Govern, Identify, Protect, Detect, Respond and Recover. Its Table 1 maps the old phases onto them:
- Preparation becomes Govern, Identify and Protect. These are broad risk management activities that also support incident response.
- Detection and analysis becomes Detect, with the Improvement category of Identify (ID.IM).
- Containment, eradication and recovery becomes Respond and Recover, again with Improvement.
- Post-incident activity becomes Improvement alone.
The reason for the change is in the guide itself. Incidents used to be rare, narrow and finished in a day or two, so a separate team could run a circle of phases and hold one lessons-learned meeting at the end. Today incidents are frequent, recovery can take weeks, and lessons should be shared as soon as they are found. So improvement runs through every function instead of waiting at the end. The guide also says to use whichever model suits you, so the four phases are not wrong; just know how they map to the CSF terms.
03. Triage: is it real, and what is at stake?
Triage is the short first review of a new report. Revision 3 describes it under RS.MA-02: check that an incident has really occurred, then estimate its severity and how urgently you must respond. In practice the analyst answers a few questions with evidence, not with guesses:
- Is it real? Find the raw events behind the alert and rule out a known benign cause, such as a planned test or a scanner you run yourself.
- What privilege is involved? A normal user, a service account and a directory administrator are very different starting points for an attacker.
- How far could it reach? One kiosk, a group of servers, a whole site, or the whole tenant of your identity provider.
- What is the impact on the business and on people? Lost availability, personal data, money or safety.
- Is it still happening? Active data theft or encryption is time-critical.
Write down what you checked and found, with times, even for a false positive. RS.AN-06 asks for this record, and it protects the analyst when a decision is questioned later. Triage also routes the case: a confirmed incident gets an incident lead, a ticket and, for serious cases, people from legal, communications and management.
04. A severity score you can explain
Revision 3 asks you to prioritise by scope, likely impact, how time-critical the incident is and the resources you have (RS.MA-03). Most teams turn this into a short matrix so that two analysts reach the same priority for the same facts. The function below is one example, not a standard: it adds points for privilege, scope and impact, adds one when the attacker is active, and maps the total to P1 (most urgent) to P4. An alert that nobody has validated stays an event and gets no score. Create a folder triage, save the file, and run it with Python 3.11 or later.
"""Turn a validated alert into an incident priority. P1 is the most urgent."""
PRIVILEGE = {"none": 0, "user": 1, "service": 2, "admin": 3}
SCOPE = {"one-host": 0, "several-hosts": 1, "site": 2, "tenant": 3}
IMPACT = {"none": 0, "low": 1, "high": 2, "critical": 3}
def level(table, name, value):
if value not in table:
raise ValueError(f"unknown {name}: {value!r}")
return table[value]
def triage(alert):
"""Return (label, score). An alert nobody has validated is still an event."""
if not alert["validated"]:
return "event: validate before scoring", None
score = (level(PRIVILEGE, "privilege", alert["privilege"])
+ level(SCOPE, "scope", alert["scope"])
+ level(IMPACT, "impact", alert["impact"])
+ (1 if alert["active"] else 0))
for priority, floor in (("P1", 7), ("P2", 4), ("P3", 2)):
if score >= floor:
return priority, score
return "P4", score
ALERTS = [
{"id": "A kiosk-adware", "validated": True, "privilege": "none",
"scope": "one-host", "impact": "low", "active": False},
{"id": "B idp-admin-app-reg", "validated": True, "privilege": "admin",
"scope": "tenant", "impact": "high", "active": True},
{"id": "C finance-beacon", "validated": True, "privilege": "user",
"scope": "one-host", "impact": "high", "active": True},
{"id": "D edr-new-alert", "validated": False, "privilege": "user",
"scope": "one-host", "impact": "low", "active": True},
]
if __name__ == "__main__":
for alert in ALERTS:
label, score = triage(alert)
shown = "" if score is None else f"score {score}"
print(f"{alert['id']:<20} {label:<32} {shown}".rstrip())python3 severity.pyA kiosk-adware P4 score 1
B idp-admin-app-reg P1 score 9
C finance-beacon P2 score 4
D edr-new-alert event: validate before scoringAlert A is commodity adware on a public kiosk: no privilege worth stealing, one machine, low impact. Alert B is a valid administrator signing in to the identity provider from an unknown network and creating an app registration, which is a known way to keep access to a cloud tenant. It scores the maximum on privilege and scope, so it goes first even though adware is "confirmed malware" and the sign-in might still be legitimate. Severity comes from what is at stake, not from the alert type. Alert C, a finance workstation beaconing to a command-and-control (C2) server, lands in the middle, and alert D waits for validation.
Scoring code needs tests like any other security code. The most important test here is a negative one: a typo such as admn must raise an error. If the function quietly scored unknown values as zero, a serious case would slide down the queue without anybody noticing.
import unittest
from severity import ALERTS, triage
def alert(**changes):
base = {"validated": True, "privilege": "user", "scope": "one-host",
"impact": "low", "active": False}
return {**base, **changes}
class TriageTests(unittest.TestCase):
def test_admin_in_tenant_outranks_kiosk_adware(self):
kiosk, admin = triage(ALERTS[0]), triage(ALERTS[1])
self.assertEqual((kiosk[0], admin[0]), ("P4", "P1"))
def test_active_attacker_raises_the_score(self):
self.assertEqual(triage(alert(active=True))[1], triage(alert())[1] + 1)
def test_unvalidated_alert_is_not_scored(self):
self.assertIsNone(triage(alert(validated=False))[1])
def test_typo_is_rejected_not_scored_as_zero(self):
with self.assertRaises(ValueError):
triage(alert(privilege="admn"))
if __name__ == "__main__":
unittest.main()python3 -m unittest test_severity 2>&1 | grep -v '^Ran '....
----------------------------------------------------------------------
OKTreat the score as a starting point. An analyst may raise a priority when the matrix misses something, such as a low-privilege payroll account, and records why.
05. Scope, then the first containment decision
Scoping means finding every place the attacker has touched. Revision 3 calls estimating an incident's magnitude one of the hardest parts of the work (RS.AN-08) and asks you to look for indicators of compromise and persistence on other potential targets, not only on the host that alerted. Take what you know from the first host, such as a file hash, a C2 domain, an account name or a scheduled task, and search for it across your endpoint and log data. If you skip this step, you clean one machine while the attacker works from another.
Containment stops the incident from spreading (RS.MI-01). Each option has a cost, so match it to the facts:
- Network isolation through the endpoint detection and response (EDR) agent cuts the host off from everything except the security console. The machine stays on, so memory, running processes and open connections are still there to collect. Give the user another device so that the business keeps going.
- Disabling or resetting an account stops a stolen identity. For cloud accounts, also revoke active sessions and tokens, because a password reset alone may not end them.
- Blocking a domain or address at the proxy or firewall is quick and useful, but attackers often have a second channel, so it rarely contains on its own.
- Powering off stops everything, including the evidence in memory. Keep it for cases where damage is active and you cannot isolate the machine any other way.
Sometimes the right first step is to wait. When you find one foothold, such as a web shell, and scoping suggests others you have not found yet, deleting the first one warns the attacker. They may dig in deeper or destroy data through the footholds you missed. If there is no sign of active damage, many teams monitor quietly, finish scoping and then remove every foothold in one planned move. This is called coordinated eviction. Revision 3 describes the trade-off (RS.MA-03): fast recovery against the need to observe the attacker and investigate. It also warns that deliberate delay is dangerous and should be agreed with your legal team first. The rule changes the moment data starts leaving or files start being encrypted: then you contain at once, even with scoping unfinished.
06. Check your understanding
07. Apply it
Prepare for the skill project, the compromised Linux host case:
- Write your own severity matrix as code, with at least the four factors used here, and add tests for two real alerts from your environment and one typo.
- Add a factor for personal data, so that a breach that may need regulator notification can never score below P2. Write the test first.
- For the case host, list the first three containment options you would consider, what each one costs in evidence and in business time, and which you would choose if the attacker were quiet and if they were active.
08. Review prompt
Without looking back:
- What is the difference between an event, an adverse event and an incident?
- How do the four phases of Revision 2 map to the six CSF 2.0 functions?
- Why did the admin sign-in outrank confirmed adware?
- When is coordinated eviction the better choice, and what makes you contain at once instead?
References
Your progress
Reading state
Sign in to save that you finished reading this lesson.
Prove this skill
10 questions · about 8 minutes · scored automatically. Marking a lesson as read never demonstrates a skill.