To make a playbook appear in the Selected Playbook choice list in the Security Analyst Workspace, build it in Flow Designer, open the sys_hub_flow table, find the playbook, and add the sir_playbook tag. Analysts can then select that playbook for a security incident.
Confirm roles and plugins before you tag a playbook
Building playbooks on this path requires the admin role. Enable the Process Automation Designer plugin (com.glide.pad.license). For the playbook experience, enable com.playbook_experience, now_playbook_exp and com.glide.playbook_experience.config. Enable the Security Operations spoke (com.snc.secops.spoke) so its flows can be used, and include the Enterprise Security Case Management PAD Commons component.
If you are new to the product as a whole, start with a plain-language guide to Security Incident Response before you change any tables or flows.
Check the release before you follow the tagging steps
The tagging steps are the same across the Xanadu, Yokohama, Zurich, Australia and Brazil versions of this procedure. The Australia and Brazil versions carry a legacy label and a note that the classic Security Incident Response UI (sn_app_secops_ui) is no longer deployed, enhanced, or supported. Those versions direct you to the Security Incident Response Workspace instead. Confirm the table and tag names on your own instance before you change any records.
Tag a Flow Designer playbook for the selection list
After you build a playbook in Flow Designer, add the tag that places it on the list. Test the steps on a non-production instance first.
- Navigate to the sys_hub_flow table.
- Search for the playbook you created in Flow Designer.
- Add the sir_playbook tag to each playbook you want in the Selected Playbook choice list.
- Open an incident in the Security Analyst Workspace and check that the playbook is available in the Selected Playbook choice list.
Tag each playbook separately. A playbook without the tag does not appear in the list. For help planning this work, see ServiceNow implementation.
Know which playbooks the selection list leaves out
The selection option takes playbooks built with Flow Designer. Playbooks built with workflows that have not been migrated to Flow Designer are missing from the list. Those playbooks still reach an incident in two ways. When a trigger condition assigns a workflow-built playbook to a security incident, or an analyst assigns it manually with the Run Orchestration option in the classic environment, that playbook launches when the incident is opened in the Security Analyst Workspace. Plan the migration around that difference, because the list and the assignment routes do not behave the same way.
The playbook tab adds a second distinction. The playbook component works only for Process Automation Designer processes, not for flows built in Flow Designer. Existing Flow Designer flows keep working, but their activities render as response tasks rather than as playbook activities. To see how a Process Automation Designer playbook is assembled, read building the automated phishing playbook in Process Automation Designer.
Activate the base system flows before analysts run them
Security Incident Response ships its playbook flows in an inactive state, so activate them before anyone uses them. Role required: sn_si.admin, action_designer, and flow_designer.
- Download and install the Security Operations Spoke application. It supplies the security operations actions used when you define Security Incident Response flows.
- Navigate to Flow Designer > Designer and search for the Security Operations Spoke application. The Security Incident flows show a published status and are inactive.
- Open the flow you need. For example, select the Security Incident – Automated Phishing Playbook – Template V1 link to view the Automated Phishing flow.
- Select Activate.
The base system flows are read-only. When you need to change one, make a copy and work from the copy. The base system includes flow-based playbooks for Automated Malware, Repeat Detection and Okta User Login Failures from Multiple IPs, and process-based playbooks for Automated Phishing and Failed Login Manual. For setup detail on the Okta playbook, see the Okta user login failures playbook guide.
Add a playbook to one security incident by hand
An analyst can attach a playbook to an open incident without a trigger. Role required: sn_si.analyst. Use this path when a single incident needs a playbook that no trigger assigned.
- Navigate to All > Security Incident > Security Analyst Workspace.
- Open an incident record.
- Select Add Playbook. The Form UI action drop-down also lists Add Playbook.
- In the Add Playbook dialog box, select the playbook template.
- Select Add Playbook.
- In the confirmation dialog box, select Add Anyway.
- Select the Playbook tab and work the activities in order to move to the next level.
The playbook appears next to the Details tab once it is added. For a worked example of attaching a different playbook to a case by hand, see the steps for attaching the threat hunting playbook to a case manually.
Work the playbook activities in the workspace
The Playbook section shows each activity as a card. Analysts can filter the cards by status and cancel a playbook from its ellipse icon. Inside an activity, the card offers actions such as Skip, Mark as complete, Cancel, and orchestration actions such as Submit to sandbox and Search Emails. The actions on a card come from the activity definition, so the builder decides which actions appear when defining each activity. Future activities and next steps show a lock icon and are read-only to the analyst.
What analysts see of pending work comes from the SIR Playbook Experience Configuration record. Navigate to All > Playbook Experiences, select an SIR Playbook Experience, select its Configuration record, and open the SIR Playbook Experience Configuration on the Configuration tab. In the Pending Item Visibility field, choose one option and save the record:
- Hide pending activities hides the pending activities from the playbook section.
- Show pending stages and activities displays pending stages and activities in the playbook section.
- Hide pending activities and stages hides both from the playbook section.
Open the Security Analyst Workspace and set up incident banners
Go to Security Incident > Incidents (New UI). The workspace opens in a separate browser tab. Quick Filters narrow the incident list. Use the Edit button to choose which quick filters appear, with a minimum of one and a maximum of six selected. Additional quick filters and primary filters are defined in the classic environment.
An open incident has three tabs: Overview, Explore and Incident Timeline. The Overview tab holds the tiles you pin from Explore, such as Observables, Threat Lookup Results, Security Scan Results, Domain Lookups, and Observable Enrichment. The Incident Timeline records each action performed on the incident and lets you add work notes. Before you open a record, click the > icon to the left of an incident number to peek at its key fields.
To change which fields appear in the incident banner, role sn_si.analyst is required. Open an incident, select the menu icon, and choose Configure > Form Layout. Set View name to New UI – Form Layout Configurations, choose the Section (Security Incident or Security Incident Response Task), select the fields and their order for the banner, and save. Refresh Security Incidents > Incidents (New UI) to see the change.
Three system properties control banner limits. The sn_app_secops_ui.task_summary.single_summary.limit.incident and sn_app_secops_ui.task_summary.single_summary.limit.response_task properties set how many fields the banners display, and sn_app_secops_ui.task_summary.single_summary.limit.incident.first_line sets the count on the first line of the Incident banner. The sn_app_secops_ui.form.excluded_fields.incident and sn_app_secops_ui.form.excluded_fields.response_task properties control which fields stay hidden by default. Dotted circles beside field values take their color from a field style record in System UI > Field Styles, through the background-color property.
Questions about reusing playbooks and workspace setup
Can an analyst add the same playbook to an incident twice?
Not while the first copy is still open. An incident that already has a playbook cannot take the same playbook again until that playbook is closed or canceled. After that, the playbook can be added again.
Does a manually added playbook replace one that a trigger started?
No. A playbook added by hand runs in parallel with any playbook already on the incident, so the two do not replace each other. Cancel each one from its ellipse icon when its work is finished.
What does an instance need before the workspace opens?
The instance needs at least London Patch 3 installed, the correct roles defined, and the Security Incident Response UI application downloaded from the ServiceNow Store. An instance on a version earlier than London Patch 3 needs the Security Incident Response UI plugin, which you request through the HI Customer Service system. Confirm the patch level and the application before you troubleshoot access to the workspace.
Why do workspace form fields differ from the classic form?
A view rule is the likely cause. The workspace uses the SIR New UI view, and the base system includes the All Others Response Task rule, which enforces the Default view on the Response Task form when its condition is met. To use the SIR New UI view on that form, disable the view rule. If you create a task table that extends the base Security Incident Response Task table, add the SIR New UI view to it, using that exact name, since the name is case sensitive.