Closing a security incident in ServiceNow Security Incident Response moves it to the Closed state after open response work is reviewed, and records a close code and close notes. If the integration profile allows it, the close also sends a status and comments back to the source tool, such as Microsoft Defender, IBM QRadar or CrowdStrike Next-Gen SIEM.
What closing a security incident involves
Closing is a sequence of checks rather than a single click, and each step covers an item that can otherwise stay open.
In the workspace, response tasks come first and must be closed or cancelled. For how those tasks are created and assigned, see SIR response tasks. Playbook tasks come next; reviewing them is optional, but anything still active is cancelled on closure. A post-incident review follows. Any post-incident review assessment that is still incomplete blocks the closure until it is completed or cancelled. The final step records the close code, the close notes, and whether a knowledge article is created.
Roles you need before you start
| Task | Role named in the topic | Release |
|---|---|---|
| Manual close from the incident record | sn_si.write | Xanadu |
| Close with the wrap-up agent | sn_si.analyst or sn_si.manager | Australia or Zurich |
| Generate closure notes | sn_si.analyst, sn_si.manager or sn_si.basic | Yokohama |
| Add closure information before the close | sn_si.write | Xanadu |
Closing a security incident manually in the workspace
Open the incident in the Security Incident Response Workspace, go to the Details tab, drill down to the incident state, and select Close. The closure stepper opens. Work through it in order:
- Review active response tasks. Selecting the review action moves you to the Response Tasks tab, with a session message confirming that a closure is in progress.
- Review active playbook tasks, if you need to. For how playbook tasks behave in SIR, see playbook automation in ServiceNow.
- Complete the post-incident review.
- Provide resolution details. Tick the box to create a knowledge article automatically, then enter the close code and close notes.
- Select Close incident.
Cancelling the dialogue leaves the incident open. Return to the Details tab and change the state to Closed again.
Writing close notes with the AI assistant
Close notes are read by other analysts, managers and stakeholders. The platform can draft them, which helps at the end of a long case.
In Xanadu releases this help is Now Assist for Security Incident Response. In Brazil it runs through the ServiceNow Otto context menu. The draft is generated from the remediation and containment activity on the incident. You can edit it, delete it, or use the context menu to Elaborate (expand the selected text) or Shorten (tighten it).
Two points trip people up:
- Generation skips a record where the close code or close notes already have content. Leave both blank if you want a draft.
- The draft is a starting point, so check it for accuracy before you close. In the Review state, the context menu can also write notes straight into the Close notes section on the record.
The wrap-up agent
In current releases, a wrap-up agent can run the whole closure as a conversation. This agentic workflow is turned on by default. You ask it to close an incident by number, or to close “this incident” when the incident is open in the panel. It works through three fields in order (post-incident analysis, close notes and close code), and you accept each with a positive reply or ask for a change.
The full path drafts each field and waits for your reply to each one, and it cancels any open response tasks as the incident closes. The short path applies to a false-positive request. The agent summarises the incident and waits for your positive reply. Once you confirm, it closes the incident, records the close notes as closed by the AI agent as a false positive, sets the close code to False positive, and cancels all active response tasks.
A closure through the wrap-up also cancels the flow actions, playbook actions, workflow actions and response tasks, so close any of those that still carry work first. The Brazil release differs on assessments: the agent warns about open mandatory assessments and ignores them rather than cancelling them, so complete any that still matter first.
| Path | How you trigger it | What the agent does | Your input |
|---|---|---|---|
| Full closure | Ask to close without a false-positive request | Cancels open tasks and assessments, drafts analysis, close notes and a suggested close code, then closes | Approve or revise each draft |
| False positive | Ask to close as false positive | Summarises the incident, then closes after you confirm and cancels active response tasks | Confirm the request |
Adding closure information before the incident closes
When an incident is in the Review state, a user with the sn_si.write role can open the Closure Information tab and enter closure information. The fields are Create knowledge article (which generates an article from the post-incident report), Close code, Closed by and Closed (both read only), and Close notes, which describe the outcome of closing the incident.
How closure reaches connected security tools
Several SIR integrations are bi-directional. They create security incidents from source records and can update those records on creation and on closure. For the wider pattern, see security incident response integration patterns. The settings sit on the integration profile under the Additional Options step. When you finish, the profile moves to the Waiting state, and you activate it after the confirmation appears.
Across the integrations, the settings follow one pattern:
| Setting | What it controls | Example |
|---|---|---|
| Update on creation | Initial status and comments sent to the source when the SIR incident is created | Initial status New or Active in Microsoft Azure Sentinel |
| Closure status update | Source status set when the SIR incident closes | Applied when the incident closes in SIR |
| Closure comments | Default text posted back to the source | Editable, with field-name substitution from the SIR form |
| Work note synchronization | Comments copied in both directions | Source comments appear in SIR work notes with a source prefix; SIR notes appear in the source with the prefix Comment from ServiceNow |
Choosing the closing reason sent to the source
The closing reason is the setting with the largest effect on what the source tool records. Microsoft Azure Sentinel and Microsoft Defender offer two methods. One applies a single default reason to each closure. The other maps SIR close codes to classification reasons, and several close codes can share one reason.
Mapping is where closures tend to go wrong. In Azure Sentinel, if a close code is not mapped to a classification reason, or no match is found, the source incident closes with the default classification reason “Undetermined”. IBM QRadar works differently. Its closing reasons must match the SIR close code, and a mismatch produces an error when you try to close. Check the closing reasons in QRadar before you close. If the profile sets a default closing reason, that reason is used when a mismatch occurs, so choose it deliberately.
Integrations at a glance
| Integration | Release | What closure updates in the source | Closing reason |
|---|---|---|---|
| Microsoft Azure Sentinel | Xanadu | Incident status and comments | Default reason or close code mapping; unmapped codes become Undetermined |
| Microsoft Graph Security API alerts | Yokohama | Alert status updated when the incident is closed | Status depends on provider support |
| Microsoft Defender | Brazil | Incident status and comments | Default classification or close code mapping |
| IBM QRadar offenses | Brazil | Offense set to Closed with comments | Offense closes only with a matching closing reason; otherwise a default close code is used |
| CrowdStrike Next-Gen SIEM detections | Xanadu | Detection status and comments | Closure detection status set in the profile |
Admin roles follow the integration. Azure Sentinel uses sn_si.ingestion_profile_admin, and the Graph Security API alert integration uses sn_si.admin. The sn_si.admin role inherits the profile admin permissions. Check the role required for other integrations before you assign it.
Checks to make before you close
These are working judgments from the steps above, not fixed rules. For a wider set of practices, see security incident response best practices.
- Settle the close-code mapping before you activate a profile. Fixing it before the first closure is simpler than correcting generic reasons afterwards.
- Clear the close code and close notes fields before you ask for a draft.
- Treat the false-positive path as a closure in its own right. It cancels active response tasks at once.
- Check QRadar closing reasons before you close, because a mismatch stops the closure with an error.
Frequently asked questions
Can the AI write the close notes if I have already typed some?
No. The generator leaves the close code and close notes alone when either field has content. Clear both to get a draft.
Does closing an incident also close its response tasks?
The manual route asks you to close or cancel each active response task before the incident closes. The wrap-up agent cancels them as part of closure, and the false-positive path cancels them straight away.
What happens if I cancel the closing dialogue?
The incident stays open. Change the state to Closed from the Details tab to restart the closure.
Will closing an incident update the tool that raised it?
When the closure option is switched on in that integration’s profile. The configured settings decide the status and comment text that are sent.
For a wider view of how the closure step fits into SIR, return to the security incident response guide.