What this miniature lab demonstrates
Calculate time from a fictional report to triage and containment without inventing a completed real incident.
Set up a harmless offline test
Requires Python 3. Run only on your own computer in a text console. No packages, accounts, network connections, malware, production logs or cloud credentials are required. Copy the example into a file or download the runnable script. The script includes assertions that fail if the expected behaviour changes.
from datetime import datetime
records = [
("2026-11-19T09:02:00", "suspicious email reported"),
("2026-11-19T09:07:00", "analyst begins triage"),
("2026-11-19T09:15:00", "affected test account disabled"),
]
times = [datetime.fromisoformat(item[0]) for item in records]
assert times == sorted(times)
triage_minutes = (times[1] - times[0]).total_seconds() / 60
containment_minutes = (times[2] - times[0]).total_seconds() / 60
assert (triage_minutes, containment_minutes) == (5, 13)
print("First triage delay (minutes):", int(triage_minutes))
print("Containment decision delay (minutes):", int(containment_minutes))
Output from the bundled script
The following text was generated by running this exact script in an offline Python environment during package validation. It is not a product or attacker simulation result.
First triage delay (minutes): 5
Containment decision delay (minutes): 13
Interpretation and limits
A two-event interval is not a business continuity measurement, regulatory notification deadline or proof that the right security decision was made.
Questions to discuss
Where would you record who made each decision, the evidence available at that time, and the uncertainty of the incident scope?
To practise further, open the response labs learning track and download a three-case CSV from any individual guide. Those records are fictional and deliberately contain an ambiguous case for analysis.
Primary sources
Scope: An illustrative educational model tested for deterministic output; no real-world security effectiveness or deployed vulnerability assessment is claimed. If a command, API or framework changes, follow the current official documentation and obtain approval before changes to real systems.