run_security_playbook
Start a Security Incident Response playbook (a Process Automation Designer definition in the sn_si_aw scope) against a security incident, the same way the SIR Analyst Workspace does: sn_playbook.PlaybookExperience.triggerPlaybook().
Instructions
Start a Security Incident Response playbook (a Process Automation Designer definition in the sn_si_aw scope) against a security incident, the same way the SIR Analyst Workspace does: sn_playbook.PlaybookExperience.triggerPlaybook(). Schedules a one-time server script, so it requires SCRIPTING_ENABLED=true. Skips if that playbook is already queued or in progress on the incident. Set wait_seconds to poll for the resulting execution (sys_pd_context). [Scripting]
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| playbook | No | Playbook sys_id or scoped name (sys_pd_process_definition.name, e.g. "security_incident_malware_manual_template_v1"). See list_security_playbooks. | |
| wait_seconds | No | Poll sys_pd_context for the new execution for up to this many seconds (0-180, default 0 = return right after scheduling). | |
| incident_sys_id | Yes | Security incident (sn_si_incident) sys_id to run against | |
| playbook_sys_id | No | Alias of playbook (accepted for compatibility). |