Working with Playbooks

Select RESPOND > Playbooks > Playbooks.

A playbook defines the automation and orchestration capability. After a case is dispatched, playbook performs the response procedure. The system can execute a fully automated playbook as well as a semi-automated playbook.

A completely automated playbook does not require any decision making from the agents. A semi-automatic model requires agent intervention for decision making or providing some extra information to the automation. So during a semi-automation procedure, SOAR handles the case resolution automatically till some point and then the control is passed to agents for decision making task and again after the decision is made, the control is handled by automation. If needed, SOAR automation can again assign the task to agent for some decision making or extra information requirement. So basically, SOAR performs orchestration and then finally makes a Response.

You can specify the execution priority of playbooks by setting the Rank values for each playbook, the smaller the rank, the higher is the priority.

Playbooks are processed from top to bottom and when a case matches, all of the playbooks with matching conditions are executed.

While designing any playbook, you must set conditions to ensure if multiple playbooks can run on the same case or not. As the playbooks running on the same case are not aware of each other, they must be designed independently such that one playbook does not interfere with another. If possible, it is recommended that a case matches with only one playbook.

Searching a Playbook

You can search a specific Playbook, through the Search option. Click the button next to search, to view search results based on the following attributes:

Creating an Advanced Playbook

The Advanced Playbook allows you to write your own playbook scripts.

  1. Click Create Advanced Playbook button.

  2. In the Advanced Playbook Editor window, specify the details for following fields:

    Value

    Description

    Name

    Display name of the playbook.

    Matching Mode

    All Conditions means playbook will be executed if all the conditions are true. Any Conditions means playbook will be executed if any of the conditions is true.

    Rollback Mode

    Set if the action will be permanent or will be rolled back after a period of time.

    case auto-close

    From the combo box, you can select in which conditions the playbook will close the cases.

    Conditions

    Click Create to add a condition to this playbook. You can define multiple conditions.

  3. In the black console area, you can write your playbook scripts in Python programming language.
  4. To test your playbook, use the Test option:
    1. Select a defined alert source from the combo box.
    2. For Value to Block, enter a value to test your script.
      The option Value to Block can be any parameter depending on your script, such as IP or email address.
    3. Click Test.

    Your test result is displayed on the same console.

Creating Workflow Playbook

Workflow Playbooks run automatically and follows the visual process definition. You can specify the a name to the playbook in Playbook Name.

While creating a Workflow Playbook, you can drag and drop elements from the right side of the page. You must enter appropriate and valid values depending on the element in the Properties tab. Each element must be connected to another except the last one.

When a case is created, a playbook with matching condition is executed. The match conditions of the Workflow Playbook are defined in the Start element of the playbook.

Executing Workflow Playbooks

Workflow Playbooks are run automatically when:

Workflow Playbook Elements

To create a visual process definition, you must map the executable instructions through the predefined workflow playbook elements. You can drag and drop following elements to create the workflow:

Types of Connectors in the Workflow Playbook

Every element in workflow has a pre-defined connector type. There can be one, two or three output connectors.

Importing and Exporting a Workflow

You can import a pre-designed workflow by clicking the Import Workflow tab. In Workflow Import Editor window, navigate to the template file, add a suitable name for the template and then click Save to import a a workflow.

To export a workflow playbook, click Export option under the Actions tab.

You can not export an advanced playbook

Editing Rank of a Playbook

You can define the order of execution for different playbooks by assigning a rank to it. Click Edit Rank option under the Actions tab and then modify the rank of the playbook in the respective Rank column.

Editing and Deleting a Playbook

To edit the previously created playbooks click Edit option under the Actions tab. In the Workflow Playbook Editor window, modify the visual process flow to suit you requirements.

To remove a playbook from the automation, click Delete option under the Actions tab.