OBLYTECH Logo
OBLYTECH Logo

Process Mining for Security Incident Response: Setup and Analysis

Process mining reads the audit history of security incident records and shows where work is reassigned or held up. On the Brazil release, a prebuilt project for security incidents is available, so a security team can mine its own records, trace individual routes in the Analyst Workbench, and find the handoffs that slow resolution.

What the workspace looks for in security incident records

Process mining works from the audit log of each security incident, looking at the sequence of states and assignment groups, and how long each step took. The output points at specific handoffs, so a team can change a queue or a rule rather than set a general target. For the general project workflow, see how process mining projects work.

Opportunities the workspace flags

Use opportunity patterns to distinguish repeated steps from slow handoffs. A flagged pattern identifies cases for review; the incident context determines whether the route needs to change.

The automated opportunities available in Process Mining include ping-pong, which flags a record bouncing back and forth between two steps; extra step, which flags routes that differ by one additional step; slow duration on nodes and on transitions; extreme repetition; rework, where a step is repeated; and high touchpoints, where one group of records is updated more often than another before moving on. A project can hold up to 15 automated definitions.

Each opportunity has its own definition, set in the improvement opportunities step, so a team can match the list to its own service levels.

Setting up a project for security incidents

Roles and prerequisites

Creating a project needs two roles: sn_process_optimization_analyst and sn_si_read. Accessing the content pack workflow visualizations and analysis tools in the Analyst Workbench requires sn_process_mining_analyst and sn_si_read. Keep these action-specific requirements separate when checking access.

On a Brazil instance, the security incident content pack loads automatically once Security Incident Response is installed and the relevant tables are present. Upgrading to Brazil removes the shipped projects and process configurations from the Store version of the pack and replaces them with the automatically delivered content. Projects a team created itself are not affected.

On earlier releases the pack is activated from the application list. The activating user needs the sm_cim_requestor and administrator roles, and the application and its Store dependencies need valid entitlements first.

Creating the project

Open Workspaces, then the Process Mining Workspace, and follow these steps:

  1. Select Create New Project.
  2. Enter a project name, and add an optional short description.
  3. Set Source Type to Table, and choose Security Incident (sn_si_incident) as the table.
  4. Select the default template, then select Create project.
  5. Open the scope of analysis and set filters that limit the number of records to mine.
  6. Open the list of improvement opportunities and configure each one for your security incidents.
  7. Select Review and mine, then Mine project, choose Sample mine or Full mine, and confirm with Confirm & Mine.

The scope step decides which records the rest of the analysis works from, so a narrower date range or a single assignment group leaves fewer records to read.

Choose a cohort before interpreting the map

Start with one question, such as whether repeated transfers delay triage. Record the date window, filters and activity definitions before mining. Compare incidents with similar operational context: a complex investigation may reasonably involve more groups than a routine alert. Treat the resulting map as evidence to investigate, then inspect the underlying cases before changing routing rules.

For an initial check, use Sample mine to review whether the scope produces the intended records. Keep the same scope when comparing a later run, or explain the change in the review notes. A faster average after excluding difficult cases does not establish that the workflow improved.

Analysis patterns for security incident workflows

Use the Analyst Workbench to move from a route summary to the steps and transitions behind it. For other reporting options on the instance, see reporting and dashboards.

Reassignment routes

Incidents that move between several teams often lose time at each handoff. To find the longest routes, open the project in the Analyst Workbench and go to the Variants tab, which lists each route with its number of cases, average duration and number of steps. Select a route to highlight it on the process map, then select a transition line on that route to see its duration. The slowest handoff is the place to look at the routing rule or the group’s queue.

Late incidents

To explain a late incident, compare its route with a faster one. For SLA breach analysis, open Conditions under Advanced filters, then Related List Condition. Choose Task SLA, set Greater than or equal to to 1, and set Has breached to True. Add an SLA definition filter when investigating a particular agreement. Select Apply and examine the matching incidents rather than treating a long average duration as proof of a breach.

Priority reversals

Priority can be set early and then lowered once more information arrives, so a pattern of critical incidents being downgraded deserves a look. Select Priority, then Transitions under Advanced filters. Define Priority is 1 – Critical, followed by Eventually followed By, then Priority is not 1 – Critical. Select Apply all chains. Review the matched cases to judge whether new evidence justified the change.

Bottlenecks and slow starts

Selecting a node in the process map shows how records move into and out of that step. A process step filter then limits the view to records that pass through the specified steps.

To investigate delayed starts, examine the sequence from Draft through In Analysis to Closed with transition constraints that reflect your triage expectations. Selecting a transition line shows its occurrences, repetitions and duration. Check whether the state changes reflect actual work before interpreting that interval as time spent waiting. An intake queue with unclear ownership is one possible explanation to investigate.

Evaluating process mining before a full project

Evaluation projects let a team see the feature working on its own data before it commits to a full project. They work without a full Process Mining license. For the wider security operations picture, see security operations.

The Security Incident evaluation project

The Security Incident evaluation project is a preconfigured project with these limits and features:

  • It covers up to 3,600 records closed in the last seven days. If more than 3,600 records closed in that window, the evaluation uses the first 3,600.
  • Its default activity definitions are State and Assignment group.
  • It includes automated improvement opportunities such as ping-pong and rework.
  • It includes introduction videos, FAQs, Academy sessions and use-case examples.
  • Auto-retire is turned off, so the project is not retired for inactivity.

Access requires the sn_si.analyst role. For how access is set up across the instance, see instance security and access control.

Running the evaluation

Running the evaluation needs access to the Security Incident table. Mining reads audit logs, so audit logging must be enabled on the instance. Start the run from the details button for the evaluation project in the Process Mining Workspace (select Run sample mining).

On a non-production instance, sample mining lets a team test its own project without the functional restrictions of the evaluation.

Retention and cleanup settings

Projects are retired and cleaned up automatically under the defaults below. The properties sit under Process Mining > System > Properties:

  • promin.persist.pa_model sets how many days a project is kept after its last update. The default is 30 days.
  • promin.auto_retire_days sets how many days of inactivity cause a project to be retired. The default is 90 days.
  • promin.auto_clean_days sets how many days after retirement a project is cleaned up. The project configuration is kept. The default is 90 days.

A team that mines quarterly may hit the 90-day inactivity window between runs. The ProminVersionCleanup job deletes obsolete cached statistics when projects are regenerated, with older statistics moved into a previous version. It also cleans cluster analysis records during regeneration or deletion. Scheduling this job requires the Administrator role: open All > Process Mining > Background Jobs, select ProminVersionCleanup, enable Active and check that Run is Daily. Set the time, then select Execute Now. Verify the configured schedule instead of assuming that daily cleanup is active.

Turn a finding into a controlled workflow change

For a recurring handoff problem, record the affected route, case count, transition duration and a few reviewed examples. Assign an owner to test one change, such as clarifying the receiving group’s acceptance criteria. Review the next comparable cohort for both shorter waits and unintended transfers. Keep containment and investigation quality in the review so that speed does not become the sole measure.

For help planning this work, see ServiceNow implementation.

Questions about interpreting security incident process maps

Does a repeated step prove that a team made an error?

No. A return visit may follow new evidence or a required review. Check the case context and the reason for the return before labeling it avoidable rework.

Should rare routes be removed from the review?

Keep a separate review path for unusual incidents. Low volume can make averages unstable, but an uncommon route may still expose a serious handoff risk that deserves investigation.

Can elapsed duration rank individual analysts fairly?

Use caution. Duration can include waits for evidence, external decisions or work by another team. Review assignment context and case complexity before using a process map in individual performance discussions.

How should findings be shared with leadership?

Summarize the problem, the affected cohort, the proposed change and the check for success. Keep sensitive investigation details in the authorized case records and share enough context to support a decision.