- Automation Management
- Automation Management Permissions
- Automation Management Playbooks
- Automation Management Playbook Triggers
- Pre-Built Automation Management Playbooks
- Automation Management Advanced Playbooks
- Automation Management Rule-Based Playbooks
- Filter Automation Management Playbooks
- Find Automation Management Playbooks
- Enable or Disable an Automation Management Playbook
- Reorder an Automation Management Playbook
- Delete an Automation Management Playbook
- Automation Management Services
- Automation Management Actions
- Create an Automation Management Action
- Clone an Automation Management Action
- Edit an Automation Management Action
- Deploy an Automation Management Action
- Preview Automation Management Action Code
- View Automation Management Action Run History
- View Automation Management Action Version History
- View Automation Management Action Audit Log
- Delete an Automation Management Action
- Refresh Automation Management Action List
- Automation Agents
Test an Advanced Playbook
Test an advanced playbook and ensure it works as you expect, even before you deploy it.
You can test the entire playbook, test the playbook up to a specific step, an iteration of a loop, or specific steps only.
When you create an inline action, results of previous steps are suggested as inputs for subsequent steps under Step Input. To insert the results in the input definition, you must test the playbook or those steps. If you haven't tested the playbook or those specific steps, Require testing flow is indicated next to the step results.
Test an Entire Playbook
In an advanced playbook, click Test flow.

Enter test values for the playbook inputs:
For each input, enter a test value:
alert_id– The alert IDcase_id– The case IDpriority– The case priorityrisk_score– The case or alert risk scorecreate_case– Whether the playbook creates a Threat Center case after it's run. If the playbook should create a Threat Center case, toggle create_case on.use_cases– The Exabeam use cases associated with the case or alertmitres– The MITRE ATT&CK® tactics and techniques associated with the case or alerttags– The tags associated with the case or alertrules– Threat Detection Management rule namessrc_ips– The source IP addresses associated with the case or alertsrc_hosts– The source host names associated with the case or alertdest_ips– The destination IP addresses associated with the case or alertdest_hosts– The destination IP addresses associated with the case or alertusers– The users in the rule-trigger events associated with the case or alertcase_curr_stage– The current case stagecase_closed_reason– The reason why the case was closedcase_queue– The queue assigned to the casecase_assignee– The assignee assigned to the casealert_creation_timestamp– The date and time the alert was createddetection_ids– The IDs of detections grouped under a case or alertgroupedby_value– The attribute value by which detections under a case or alert are groupeduser_entities– The Attack Surface Insights user entities used to group detections under a case or alertgroupedby_key– The attribute by which detections under a case or alert are grouped
To view values used for previous runs, click Past Runs/Input library, then click
to close the panel. Under Previous runs, select a run. To use the values from a previous run as your test values, click Use Input.
Click Test flow or press command + return or Enter.
Under Flow result, view the test progress in real time and which steps are currently being executed. Under Graph, the step currently being executed is yellow. If a step is successfully executed, it turns green; if a step fails, it turns red.
View the results of the test run:
View whether the test run was a success or failure and how long it took to run.
Under Graph, view which steps were a success or a failure. To view the arguments, results, and test logs of a specific step, click the step. To view the steps without lines indicating their sequence, toggle dataflow on.
Test a Playbook Up to a Specific Step
Test a playbook up to and including a specific step.
In an advanced playbook, select the step up to which you want to test the playbook.
Click Test up to <step identifier>.

Enter test values for the playbook inputs:
For each input, enter a test value:
alert_id– The alert IDcase_id– The case IDpriority– The case priorityrisk_score– The case or alert risk scorecreate_case– Whether the playbook creates a Threat Center case after it's run. If the playbook should create a Threat Center case, toggle create_case on.use_cases– The Exabeam use cases associated with the case or alertmitres– The MITRE ATT&CK® tactics and techniques associated with the case or alerttags– The tags associated with the case or alertrules– Threat Detection Management rule namessrc_ips– The source IP addresses associated with the case or alertsrc_hosts– The source host names associated with the case or alertdest_ips– The destination IP addresses associated with the case or alertdest_hosts– The destination IP addresses associated with the case or alertusers– The users in the rule-trigger events associated with the case or alertcase_curr_stage– The current case stagecase_closed_reason– The reason why the case was closedcase_queue– The queue assigned to the casecase_assignee– The assignee assigned to the casealert_creation_timestamp– The date and time the alert was createddetection_ids– The IDs of detections grouped under a case or alertgroupedby_value– The attribute value by which detections under a case or alert are groupeduser_entities– The Attack Surface Insights user entities used to group detections under a case or alertgroupedby_key– The attribute by which detections under a case or alert are grouped
To view values used for previous runs, click Past Runs/Input library, then click
to close the panel. Under Previous runs, select a run. To use the values from a previous run as your test values, click Use Input.To use values from a POST API request, click Fill args from a request, then click
to close the panel.Under Send a payload at, view the API endpoint URL to which the request is sent. Under CURL example, view the POST API request in CURL. Under Derived Schema, view the values extracted from the payload.
To copy the values as your test arguments, click Copy as test args.
Click Test flow or press command + return or Enter.
Under Flow result, view the test progress in real time and which steps are currently being executed. Under Graph, the step currently being executed is yellow. If a step is successfully executed, it turns green; if a step fails, it turns red.
View the results of the test run:
View whether the test run was a success or failure and how long it took to run.
Under Graph, view which steps were a success or a failure. To view the arguments, results, and test logs of a specific step, click the step. To view the steps without lines indicating their sequence, toggle dataflow on.
Test an Iteration of a Loop
Test a specific iteration of a for loop or while loop.
In an advanced playbook, select the loop, then in the loop settings, click Test an iteration.

Specify the item in the list with which you want to test the loop:
(Optional) If you defined an index in the loop function, under index, enter the item index.
Under value, enter the item value.
Click Test iteration or press command + return or Enter.
Under Result, view the iteration result.
Test a Specific Step
Test a single step of the playbook to check your code or have the results of the step suggested as inputs for subsequent steps.
In an advanced playbook, select the step, then navigate to the Test this step tab.

Review the test values. They are automatically pre-filled from the step inputs. To use other values for the test, enter different values.
Click Run or press command + return or Enter. As the test runs, review the run logs. After the test completes, view the results.