Security Onion case templates for repeatable investigations

Security Onion case templates give analysts a standard starting point for each investigation, and a planned mapping from detections to templates keeps every escalation consistent.

On this page

Security Onion case templates for repeatable investigations: when your team needs them

Analysts who escalate alerts into cases often write different notes, skip different checks and record different outcomes for the same type of detection. In Security Onion, a case template is a case with the category template. New cases can reference a template ID, and when an alert has been escalated, SOC can take the template from the alert's rule.case_template field. The practical question for your team is whether that link between detection and template is worth designing and maintaining, and the answer depends on how often the same detection types recur and how many people work the queue.

Teams usually benefit first when several analysts share the same alert queue, because a shared checklist and a consistent note structure make handoffs and reviews easier to follow. Audit and governance expectations also push in this direction. If your internal policy or an assessor asks how investigations of a given detection are performed and recorded, a template gives you one place to point to. Recurring detection types, such as a family of Suricata or Sigma rules that fire every week, are the strongest case for templates, since the same steps repeat and the cost of inconsistency adds up. A single analyst working a low volume of unrelated alerts will gain much less.

The value of templates depends on how well they are written and maintained. A template that lists generic steps, or that still points at a detection retired two years ago, creates false confidence and wastes analyst time. Before you rely on the link, confirm in your own grid how rule.case_template is populated for each detection, who owns each template, and how changes are reviewed. Plan a regular review of templates alongside your rule tuning, and treat the template as part of the detection's documentation rather than a one-time setup task.

How an escalated alert becomes a templated case

The flow starts when a detection fires in the Security Onion Console and an analyst triages the alert. When the analyst escalates it, the case is created from a template: the escalated alert's rule.case_template field supplies the template ID, and the new case references that template. The analyst then works the checklist attached to that detection and closes the case. Check that the field is populated on the rule before you rely on this path, and confirm in your own grid that the template ID resolves to the template case you expect.

Escalated alerts pick up a template ID from the rule and open a checklist-driven case.

Template design options and when each fits

This table compares three ways to structure case templates: one generic template, one template per detection family, and one template per detection with a checklist. Read each row to match the model to your alert volume, the number of analysts, and how much consistency your investigations need. The main takeaway is that more specific templates improve consistency and speed but add upkeep every time a detection changes.

Design optionWhen it fitsWhat to maintainMain risk
One generic templateSmall teams with few detections or a single analyst group that handles every alert type the same wayOne set of task fields, owners and close-out notes, reviewed when the escalation process changesChecklists stay too vague to guide analysts through a specific alert, so steps are skipped or improvised
One template per detection familyTeams that group alerts by source, such as network intrusion, Sigma rules or YARA file detections, and want shared steps per groupA template for each family, plus a review when rules move between families or new rule sources are addedFamilies grow too broad, so a template covers detections with very different triage steps
One template per detection with a checklistMature teams with recurring detections that need precise steps, evidence requirements and tuning decisionsA template and checklist for every detection, updated whenever the rule, its thresholds or its suppressions changeTemplates drift from the live rule, and stale checklists send analysts down steps that no longer apply
Mixed model (illustrative)Teams that keep a generic base template and add detection-specific checklists only for high-volume or high-risk alertsA base template plus a short list of detection-specific checklists, reviewed on the same schedule as detection changesAnalysts may not know which template applies, so confirm the selection rule through rule.case_template before go-live

Setting up case templates in your grid

This sequence turns ad hoc investigation habits into a set of template cases that analysts apply automatically from the alerts that need them. Each step ends with a check so you know the template is ready before it reaches the queue.

  1. Confirm version and case access

    Confirm which Security Onion version your grid runs and that the Cases feature is available to the roles that will create templates and work escalated alerts. Check this in the Console with a test account for each role, since analysts and limited analysts may see different options. Record the version in your change log before you change anything. You are done when a template author and an analyst can both open the Cases area and see the cases they should see.

  2. Define investigation steps per detection family

    Group your detections into families, such as credential access, lateral movement, DNS or command-and-control, and malware file detections, then write the steps an analyst should take for each family. Keep each checklist short and tied to evidence the analyst can collect in the Console, such as pivots to related events, PCAP review, or the affected host's account activity. Have a second analyst review the checklists against two or more real alerts from each family. You are done when every family has a written checklist that the reviewer has signed off in your change record.

  3. Create template cases with the template category

    In the Cases area, create one case per detection family and set its category to template, then write the checklist into the case description or task notes so it appears every time the template is used. Name templates consistently, for example with a family prefix, so administrators can find them later. Confirm the category before saving, because a case that is not marked as a template will not behave as one. You are done when each template appears in the case list with the template category and its checklist is readable.

  4. Record each template ID

    Open each template case and copy its case ID into your configuration record, next to the detection family and the owner who approved the checklist. New cases can reference a template by ID, and you will need these IDs when you map detections to templates. Store the record in your normal change-controlled documentation, not in a personal note. You are done when every template has one ID recorded and the list matches the templates visible in the Console.

  5. Set rule.case_template on detections

    In the Detections interface, open the rules that belong to each family and set the rule.case_template field to the matching template ID. Change one family at a time so that an error affects a small group of alerts. Keep a list of the rules you changed and the template each one now uses. You are done when a sample of rules in each family shows the template ID in the rule's case template field.

  6. Test with a sample escalated alert

    Escalate a test alert from a mapped detection, either from a lab sensor or from a known benign event that matches the rule, and confirm that the new case references the expected template. Check that the checklist content came across and that the analyst can complete the steps without editing the template. Repeat for one alert per family. If a case does not reference the template, check the rule mapping and the template ID before changing anything else. You are done when every family produces a case that references the correct template and the checklist loads without errors.

  7. Document ownership and review changes

    Assign an owner for each template and a review process for changes to checklists or rule mappings, and record who may change templates in your access documentation. Ask your team how often checklists should be reviewed and confirm the cadence with your own governance requirements, since this guidance does not set one. Tie each review to the version of Security Onion you recorded in the first step so that upgrades trigger a check. You are done when each template has a named owner and the review process is written down and accepted by your analysts.

Writing checklists that analysts will follow

A case template is only as useful as the checklist inside it. Each card below covers one part of a checklist that an analyst can work through in order, from the first scope question to the point where the case can close. Together they make the template repeatable across analysts and shifts.

Scope questions to answer

Start every checklist with the questions that define the investigation: which hosts, accounts and time window are involved, and whether the alert is one event or part of a pattern. Write each question so it can be answered with a yes, a no, or a named value. Scope questions also tell the analyst when the case is larger than the original alert and needs more people or more time.

Cases docs

Pivots to run in Hunt

List the Hunt queries an analyst should run for this detection, written in Onion Query Language with the field names used in your environment. Include the pivots that connect the alert to source and destination hosts, related alerts and the same activity over a wider time window. Store the queries in the checklist so that two analysts reach the same starting point.

Evidence to attach

Name the evidence each case should carry: PCAP from the alert time window, Windows event logs imported with so-import-evtx, and file analysis results from Strelka where a file was transferred. Specify which item is required and which is optional for each detection type. Attaching evidence in a fixed pattern makes later review and handoff faster.

Decision points for escalation

Define the conditions that move a case to a higher tier, involve another team or trigger a containment action. Examples include confirmed lateral movement, data leaving the network to an unexpected destination, or a privileged account showing unusual activity. Keep each condition specific enough that two analysts would make the same call on the same facts.

Required case notes

Specify the notes each analyst must record at each stage, such as the query used, what it returned, and why the pivot was or was not useful. Notes written at the time of work let a reviewer reconstruct the reasoning without repeating the hunt. Ask the team to confirm which note fields the case workflow will enforce and which depend on local practice.

Closure criterion

State the condition that allows a case to close, such as every scope question answered, required evidence attached, and a disposition recorded as benign, false positive, or confirmed. Include whether a tuning change or new detection should be raised before closure. A clear closure rule keeps cases from staying open indefinitely or closing before the evidence supports the outcome.

Questions teams ask before building case templates

How much effort does building Security Onion case templates take?

Effort depends mainly on how many detections you want to standardize, how deep each checklist goes, and how many review cycles the team needs before analysts trust the templates. A small set of high-volume detections with short checklists is quick to build. Templates for dozens of detections, each with evidence requirements, escalation steps and handoff notes, take considerably more analyst time and more review. Ask any partner to break the quote into detection count, checklist depth and review rounds, so you can see which assumptions drive the total.

Can our analysts build case templates themselves?

Yes, a team with Security Onion experience can create template cases in the Cases interface and link them to detections. Outside help is most useful when you need the templates to match a documented investigation standard, when no one on staff has time to write and test checklists, or when you want an independent review of coverage gaps. Build a template yourself first with one detection, run it through a real escalation, and note what analysts skipped or misread. That exercise tells you whether your team can scale the work alone.

What does the team need to provide for template work?

You need a named detection owner for each rule family who can explain why it fires and what a true positive looks like, at least one senior analyst who understands the investigation path, and a test grid where templates can be applied to escalated alerts without touching production evidence. The detection owner decides what the checklist must prove, the senior analyst checks that steps are practical, and the test grid lets you confirm that rule.case_template resolves correctly before rollout. Without these three inputs, templates tend to become generic lists that analysts ignore.

How long does it take to roll out case templates?

Duration is driven by the same factors as effort: the number of detections, the number of people who must approve checklists, and how many alert types already escalate without a consistent path. Teams with a clear list of priority detections and quick owner decisions move faster than teams that must first agree on what a case should contain. Ask for a timeline tied to a written scope, with milestones for template drafting, analyst review, test-grid validation and production rollout.

Do case templates replace our incident response playbooks?

No. A Security Onion case template records the investigation steps for one detection inside the case, while a playbook usually covers the wider response: containment, communication, legal and management notification, and recovery. Keep the playbook as the authoritative response procedure and reference it from the template checklist where a step leaves the platform. Overlap creates drift, so assign one owner for each document and review both when a detection changes.

How do case templates interact with Security Onion upgrades?

Templates are stored as cases in the platform, so they must be included in your backup and restore routine and checked after any grid upgrade, including soup updates on distributed grids. Confirm after each upgrade that the template IDs referenced by detections still resolve and that escalated alerts still populate the case from rule.case_template. Also check that analysts' roles still permit creating and editing cases. Keep a short record of template IDs and owners so a restored or rebuilt grid can be reconciled quickly.

What should we confirm before committing to a template project?

Confirm your Security Onion version and its support status, the detections you want covered first, who approves checklist changes, and where the test grid runs. Ask the partner to show how a template is applied from an escalated alert, how changes are reviewed, and how templates are backed up and restored. Verify these details against the Security Onion Cases documentation and your own environment, because the exact behavior of your release governs the design.

What DeployOpen needs to scope a template build

A template build is scoped from a short set of inputs, and the first one is the list of detections that will escalate into cases. In Security Onion, those detections live in the Detections interface as NIDS rules loaded into Suricata, Sigma rules loaded into ElastAlert and YARA rules loaded into Strelka. Send an export or a list of the rules you actually escalate, with the rule type and the team that owns each one. Templates are attached per detection through the rule.case_template field, so a detection that escalates without a planned template is a gap the scope has to name. Also tell us which detections are noisy or tuned, because a checklist written for a rule you are about to suppress wastes analyst time.

Second, send your existing investigation procedures, even if they are informal runbooks, ticket macros or notes kept by senior analysts. We need to see what each detection's analysts check first, which pivots they use in Hunt, when they move to PCAP, and what closes a case. Third, describe roles and permissions. Confirm which people create and edit template cases, which analysts apply them, and which limited analysts or read-only users must see the checklist without changing it. Note any single sign-on or MFA arrangement in place, since it affects how accounts are assigned. Finally, state the Security Onion version and deployment type, whether Import, Evaluation, Standalone or Distributed, and whether the grid is airgapped. Version matters because the Cases documentation describes template behavior for the version you run, so we confirm it against your installed release before design starts.

Scope, deliverables and timelines are agreed in writing before work starts, and the quote follows from that written scope. Ask for the scope to name the detections covered, the number of template cases, the checklist format, the test cases used to verify template application from an escalated alert, and the handover material. Ask for the quote to show what is included, what the client provides, and what is excluded, such as changes to detection content that belong to another project. Keep the written scope as the reference point for any later change.

How DeployOpen delivers Security Onion case template work

DeployOpen plans, implements, documents and supports self-hosted open-source platforms inside your own infrastructure. For Security Onion case templates, we start from your escalation paths and detection set, build the templates and their checklists in your grid, and hand over a written record your analysts can run and maintain.

How we scope

  • We list the detections and escalation paths that should open a case from a template.
  • We agree which template IDs, checklists and rule.case_template mappings are in the written scope.
  • Engagements are fixed-scope, with scope, deliverables and timelines agreed in writing before work starts.

How we build

  • We create template cases in the Security Onion Console and record each template ID for reference.
  • We map each detection's rule.case_template value to the template that fits its investigation steps.
  • We test an escalated alert end to end to confirm the case is created with the expected checklist.

How we hand over

  • We deliver a template register listing each template, its owner, its triggering detections and its checklist.
  • We walk your analysts and team leads through escalation from alert to case using the templates.
  • We document the steps to add, edit and retire templates so changes stay controlled after handover.

How we support

  • Ongoing support, upgrades and continuous testing are available as retainers.
  • We review template coverage when detections change, after rule updates or new Security Onion releases.
  • We confirm template behavior again after upgrades, using your own test alerts in your environment.

Sources and further reading

Talk to our team.

Tell us what you're working on, whether it's a deployment, an audit, a security test or a cyber range. You'll speak with an engineer who can help you scope it.

  • 30-minute call: free, with no obligation.
  • NDA on request: we can sign before you share details.
  • Clear next steps: a scope and plan after the call.