Playbooks
A playbook is a predefined set of actions and conditional statements that run in an automated workflow to respond to a certain event or incident type. Playbooks can allow your organization's teams to respond to an incident in a consistent, focused, and repeatable fashion.
Playbooks can be configured to execute automatically without user intervention, acting on information from the incident, or can be executed in interactive mode, where user input is required to authorize predefined actions.
To run a playbook, add it to an automation. See Create an automation.
By default, no more than 50 playbook actions can be executed per hour. For more information, see Actions limit.
View playbooks
The following procedure describes how to view playbooks already installed in your environment. To add more playbooks, create a playbook, or install playbooks from App Central.
- Click the Configuration button (gear icon) at the top of the UI.
- Under Integrations, select Automation.
- From the Automation screen, click Manage Playbooks.
- View the list of playbooks available to run in automations.
- Select a playbook to see the elements in the workflow.
- Click the elements in the playbook to see their details. For example, click actions (the boxes in the flow) to see the integration resources that provide the actions.
Create a new playbook
Before you create your own playbook, first view playbooks to make sure there isn't one already that does what you want to accomplish, and also check to see if you can install a playbook from App Central that does what you need.
The following procedure provides a brief introduction to how to create a playbook. For detailed examples of how to create playbooks, see Automation examples.
- Click the Configuration button (gear icon) at the top of the CSE UI.
- Under Integrations, select Automation.
- Click Manage Playbooks. Previous-created playbooks will display.
- Click the + button to the left of Playbook.
- A new configuration box will be displayed. Name your new playbook.
- Select the incident Type as CSE to run the playbook from an automation. (For playbooks run from inside another playbook, you can select another incident type to associate with it, for example, Denial of Service, Malware, Phishing, etc.)
- Click Save. The new playbook appears in the list of available playbooks.
- To configure the new playbook, select
it from the list and click the Edit button at the bottom of the
screen.
Opening the playbook will present a black screen with a Start node and an End node. These nodes dictate the beginning and the end of the playbook's automation sequence. They can be dragged and dropped anywhere on the screen to allow for multiple integrations and conditional statements to be executed. - To add the first node in the playbook, click the + on the Start node. The Add node page is displayed.
Choose from the following options:
Add an action node to a playbook
An action node in a playbook runs an enrichment or notification operation. String actions together in the playbook to perform a workflow. For examples of adding actions to playbooks, see Automation examples.
Before you can add action nodes to a playbook, you must configure the connection for each integration resource that actions originate from.
- Either create a new playbook as described above, or edit an existing playbook.
- Click the + on the Start node.
- The Add node page displays.
- Select Action. The action node configuration screen displays.
- Give the node a Name that identifies the action being taken.
- Select the Type of action as Enrichment or Notification.
- Select the Action from the drop-down list. The dialog updates to show the integration resource that the action originates from, along with additional fields you must fill out to configure how you would like the action to be performed.
- Fill out the fields with the specific information required by the action. For more information about the action, you can view the integration that provides the action.
- Once you have entered all the information requested, click Create. The action node is added to the playbook.
- Repeat the steps to add other action nodes.
- Add condition nodes if desired.
- When you are done configuring your playbook, click Save at the bottom of the window.
- When you are ready to allow the playbook to be used in automations, click the Publish button at the bottom of the playbook window.
Add a condition node to a playbook
Define a conditional statement to be met before the next node can be executed. For examples of adding conditions to playbooks, see Automation examples.
- Either create a new playbook as described above, or edit an existing playbook.
- Click the + on the Start node.
- The Add node dialog displays.
- Select Condition. The condition node configuration dialog displays.
- Click Create. The empty condition appears on the playbook.
- Draw a line from a previous action node to the new condition node. This is required to allow the condition to evaluate the output values from the previous action.
- Now that you've linked the condition to an action, hover the mouse over the condition node and click the edit button on the node to configure the condition settings.
- The condition node configuration dialog displays again. Under Condition1, click Select a value.
- Click Get Value and select from the drop-down menu whether the value will evaluate to true (bool), false (bool), or empty.
- Under Get value from a previous action, select the value to feed into the condition. The example shows Get Devices and Playbook inputs that came from the previous action. (The condition must be linked by a line to the previous action node to receive outputs from the action.) Click the options from the previous action and select which output type (for example, hashes, IP addresses, domains) to evaluate and add it to the condition.
- The selected output type will be displayed under Condition 1. Select which condition you would like for the output results to meet from the inequality operators below and click Select a value to define the condition.
- Now that Condition 1 is defined, you can choose to filter your results further by selecting an AND/OR operator to define another condition.
- Click Update.
- When you create a new condition, you need to define what happens when their results meet one of your criteria. Draw lines to nodes to define the flow for success, failure, or other condition options.