attach_workflow_to_case
This function attaches the workflow to current case.
siemplify.attach_workflow_to_case(workflow_name, cyber_case_id, indicator_identifier)
Parameters
Param Name | Param Type | Possible Values | Comments | Mandatory Parameter |
---|---|---|---|---|
workflow_name | string | workflow name | N/A | Yes |
cyber_case_id | string | 234 | Unique case id | Yes |
indicator_identifier | string | ad6879f1-b72d-419f-990c-011a2526b16d | Unique alert identifier | Yes |
Return Type
NoneType
Example
Sample code
from SiemplifyAction import SiemplifyAction
siemplify = SiemplifyAction()
alert_identifier = "ad6879f1-b72d-419f-990c-011a2526b16d"
case_id = "234"
workflow_name = "Workflow 234"
siemplify.attach_workflow_to_case((workflow_name=workflow_name, cyber_case_id=case_id, indicator_identifier=alert_identifier)
Result Behavior
Workflow 234 will be attached to case 234.
Result Value
None