Jon Williams
ServiceNow Employee
ServiceNow Employee
Playbook Process Defined

Understanding how Playbooks Work, and the Relationship of Runbooks, Knowledge Base Articles and Workflows

Runbooks are used to create an association between published Knowledge Base Articles and Security Incident Response Task. This allows you to implement your needed Playbook in ServiceNow by first creating separate KB articles for each of the required tasks in the Playbook. Using the KB articles for your Playbooks tasks also gives you the enhanced ability to create and present concise, descriptive tasks for your analysts.

Once you've created the KB articles you can then create a Runbook. This is where you will set criteria for which Response Tasks should have a specific KB article attached to them (i.e. - "short description" | "contains" | "Run Malware Scan"). When a new Response Task is created if the criteria in the Runbook matches it will attach the KB article you have specified for that task.

The Playbook itself will be ran from a workflow that you've created to handle the specific type of Security Incident. For instance, if you created a workflow that handles Phishing type incidents it would include in it all the Response Tasks from your Playbook to handle those incidents. Then when a new Security Incident is generated and your "Phishing Playbook" workflow is triggered it would begin generating the Response Tasks contained in the workflow. As the Response Tasks are generated the Runbooks would associate the specific KB articles you’ve defined for each task. The Playbook Name which you would see populated in the new Security Analyst UI is pulled from the "Category"field of the new Security Incident, which is set when your Playbook workflow is

triggered. Response Tasks can then be reused in other workflows and the Runbook will still create the association, eliminating the need to recreate the KB article.

 find_real_file.png

The general processing chain:

1. New Security Incidents are generated from a number of methods.

2. Workflow Triggers evaluates new records on the [sn_si_incident] table.

3. If the new Security Incident matches criteria set in the workflow trigger then that workflow will begin.

4. Certain workflows have been created to address “Playbooks”, containing tasks used to resolve a specific type of threat.

5. As the workflow progresses new Security Incident Response Tasks are generated.

6. Runbook evaluates new Incident Response Tasks on the [sn_si_task] table.

7. If the Incident Response Task matches criteria set in the Runbook then it creates an association between a KB Article and the Security Incident Response Task.

8. The new Security Incident Response Task with the KB Article is then displayed to the user in the New Security Analyst UI within the Playbook

 

 

Comments
Alex Cox
ServiceNow Employee
ServiceNow Employee

Thanks for posting this Jon!  

If anyone is not using runbooks you're missing out - especially with the UI updates made in London.  You can basically embed visual how-to articles on completing any type of common security task or, at a higher level, any category of security incident.

It's a powerful tool for rapidly enabling new security incident handlers or those new to the company and getting them productive.

Jon Williams
ServiceNow Employee
ServiceNow Employee

Thanks Alex. No problem, glad this stuff can help out.

bpolo
Tera Guru

Hi Jon

Thanks for all this good info. So just a question, is a playbook the equivalent of a workflow? Thanks!

Jon Williams
ServiceNow Employee
ServiceNow Employee

Hi bpolo,

Yes, a workflow is really the platforms representation of a Playbook. They are one and the same, but the Workflow carries out all the task creation and logic of the Playbook. A Playbook is like any other business process and the workflow allows you to recreate and automate that process through the platform. 

 

- Jon W

jing3
Mega Guru

This is a nice article, much better than what's in SIRI training. 

 

D_ Barre
Tera Contributor

I'm still not understanding how the Playbook itself is updated/edited? I have multiple workflows with KB Articles associated with them and I don't see the Playbook showing up on 'Phishing' SIR's reflecting what is in place in the workflow?

So for instance, how would I add tasks(not the manually added '+ Add Task shown', but actual automated tasks) to this Phishing Playbook? The Phishing workflow has a totally different 'Create Task' steps associated with it then what is showing here?

find_real_file.png

Gazal Varshney2
Tera Contributor

Hi,

 

While accessing playbook I am getting "No playbook found,Please contact your administrator" though the runbooks are active and I have enabled the SIR UI plugin. 

Kindly help in resolving this issue.

 

Thanks,

Gazal Varshney

Version history
Last update:
‎02-13-2019 01:42 PM
Updated by: