To generate a post-incident analysis for a security incident, set the State field to Closed, select Next in the Close the security incident modal, and review the three generated sections. The analysis is saved to the Post incident analysis field when you select Close Incident.
Preparing the record before you start the close
The analysis reads best when the record behind it is in order. Before you set the State field to Closed, check that the incident has a clear timeline of detection, containment and recovery, that the affected systems and user groups are linked to the record, and that the actions taken so far are written down in plain words.
Each of those items maps onto one of the three generated sections. The timeline supports the root cause, the affected items support the impact assessment, and the actions taken so far give you material for the recommendations. If you find gaps, fill them in the record first.
Delay the close while evidence is still arriving. A generated paragraph written over a gap reads like a finding to the next person who opens the incident, and that person will not know it was a guess.
Roles, skill status and close notes to check first
The procedure starts from a security incident that is assigned to you in the Security Incident Response Workspace. The roles that can run it are sn_si.analyst, sn_si.manager and sn_si.basic.
The post-incident analysis skill has to be activated for the analysis to generate automatically. On recent releases the generative skill is turned on by default, so check the skill status on your instance before you plan the close step around it.
The assistant’s label differs by release and may read Now Assist or ServiceNow Otto, so use the label your instance shows.
Close notes you enter by hand before you set the State field to Closed are not overwritten by the generated content.
Step by step: start the close and generate the analysis
- Go to All > Security Incident > Security Incident Response Workspace and open the security incident assigned to you.
- On the Details tab, select Closed in the State field. The Close the security incident modal opens.
- Optional: select Review active tasks to see any active remediation tasks linked to the incident. A new tab opens with those records. Closing the incident cancels associated workflows and activities and closes the incident on any associated remediation tasks, so check this list before you continue.
- Select Next to generate the post-incident analysis.
- Read the three sections that appear in the modal before you change any text.
What each generated section should contain
The modal shows three sections: Root Cause Analysis, Impact Assessment, and Learnings and Recommendations. Each one has a different job. Write each for a reader who was not on the incident. An analyst who joins the team six months later should be able to understand the cause, the reach of the impact and the follow-up from the text alone.
Root Cause Analysis
A root cause statement names the condition that let the incident happen and the step that turned that condition into an incident. Symptoms belong elsewhere. A sentence such as “a user opened an attachment” describes what happened in the moment. A sentence such as “a mail rule allowed a sender domain that nobody had reviewed” describes why the event was possible.
If the generated text stops at the symptom, use Elaborate to add the condition, and add it when you can tie it to evidence in the record.
Impact Assessment
The impact section should name what the incident touched and how far the effect reached. Good impact text lists the systems, user groups and data types involved, along with the window in which exposure existed.
Check each item against a record you can open. An impact statement that mentions a system you cannot find in the incident is a sign the generated text has drifted from the facts. Take that item out rather than leaving it in as an estimate.
Learnings and Recommendations
Each recommendation should have three parts: the action, the role or team that owns it, and the check that shows it is finished. A recommendation such as “improve monitoring” fails all three tests. A recommendation such as “alert when a mail rule forwards to an external domain, owned by the security operations team, confirmed by a test message” passes them.
Recommendations that name individuals age badly when people change roles, so write them against roles or teams.
Editing the analysis with Elaborate and Shorten
Each section has a context menu that offers two options for reshaping the existing text. Elaborate adds information to what is already written. Shorten makes the selected text more concise. Use the context menu on the section, choose the option, and replace the text with the version you accept.
Use Shorten when a recommendation runs to several sentences and the point is buried. Use Elaborate when a root cause is a single line and a reader cannot see how the chain of events got there. Do not use Elaborate to fill a gap you cannot evidence, because the added sentences will read as established fact to the next reader.
Post-incident review and the one-hour edit window
The modal also offers Take assessment and Configure/preview report, which let you run the post-incident review from the same flow. Treat the generated analysis as the input to that review rather than the end of it. The review is where the team agrees on the root cause, challenges the impact statement and confirms the recommendations.
Edits you make to the review are preserved for one hour if you leave the page to take the assessment or perform another action. After that hour, set State to Closed again on the incident to regenerate the post-incident analysis and close notes. The regenerated content can replace the version you were working on, so copy any wording you want to keep into a draft before you leave the page.
Your review may need to reach an owner who was not on the incident. For how that routing works, see how post-incident review tasks are assigned.
Closing the incident and finding the saved analysis
- Select Next to generate the resolution notes. They appear in the Close Notes field.
- Read the resolution notes and edit them where needed.
- Select one value from the list for the Close Code.
- Select Close Incident.
After you select Close Incident, the post-incident analysis is saved in the Post incident analysis field on the Details tab. The same content also appears on the Overview tab for security incidents in the Security Incident Response Workspace, so colleagues who open the overview can find it without going to the Details tab.
If the incident passed between shifts before it closed, a shift handover report can carry the context the next analyst needs. To generate one, see shift handover reports for security incident response.
Checks before you select Close Incident
Run this short check before you close. It takes a few minutes and catches the errors a later reader would otherwise carry forward. For the wider habits behind a sound close, see security incident response best practices.
- The root cause names a condition and a trigger, rather than a symptom alone.
- Each impact item matches a system, user group or data type you can find in the incident.
- Each recommendation names an owning role or team and a completion check.
- The Close Notes and the analysis agree on the outcome and the Close Code.
- Any dates or times in the text match the incident record.
- No individual is named in a way that will be wrong once roles change.
Using closed analyses across incidents
One closed incident teaches the team about that incident. Several closed incidents show patterns. When recommendations keep naming the same missing control or the same handoff, the team has a process problem rather than a one-off event.
Once there are enough closed incidents to compare, look at the path each one took through the process as well as its outcome. Process mining for security incidents is set up in the Process Mining Workspace for Security Incident Response, where you create a project for the security incident records. Read the process mining guide for security incident response before you decide how to set it up.
For help planning this work, see ServiceNow implementation.
Questions about review ownership, assignment and root cause depth
Does a generated analysis replace the formal post-incident review?
No. Treat the generated analysis as the draft the review starts from, and let the review decide what stands.
Who should own the recommendations after the incident closes?
Assign each recommendation to a role or team, then track it in the system your team uses for follow-up work. Recommendations left in the analysis text alone tend to go unread after the close, so the follow-up needs its own record with an owner and a completion check.
What if the incident is assigned to someone else?
The procedure is written for an incident assigned to you. Ask the current owner to hand it over before you start the close, rather than trying to generate the analysis on their record. Agree who will complete the Close Notes and the Close Code, so the close does not stall between two people.
How specific should a root cause be when the evidence is incomplete?
State the confirmed cause and name the open question beside it. A root cause that says a credential was used but not how it was obtained is more accurate than one that guesses. Remove any generated sentence you cannot connect to evidence, and move unresolved items into the recommendations as checks to complete.