Full name: projects.locations.instances.legacyPlaybooks.legacyAttachWorkflowToCase
legacyPlaybooks.legacyAttachWorkflowToCase attaches a workflow to a case.
HTTP request
Path parameters
Parameters | |
---|---|
instance |
Required. The instance to attach the workflow to case for. Format: projects/{project}/locations/{location}/instances/{instance} |
Request body
The request body contains data with the following structure:
JSON representation |
---|
{ "cyberCaseId": string, "alertGroupIdentifier": string, "alertIdentifier": string, "wfName": string, "originalWorkflowDefinitionIdentifier": string, "shouldRunAutomatic": boolean } |
Fields | |
---|---|
cyberCaseId |
Required. The cyber case id. |
alertGroupIdentifier |
Required. The alert group identifier. |
alertIdentifier |
Required. The alert identifier. |
wfName |
Required. The workflow name. |
originalWorkflowDefinitionIdentifier |
Optional. The original workflow definition identifier. |
shouldRunAutomatic |
Required. Indicates if the workflow should run automatically. |
Response body
LegacyPlaybookAttachWorkflowToCaseResponse is a response for attaching a workflow to a case.
If successful, the response body contains data with the following structure:
JSON representation |
---|
{ "payload": boolean } |
Fields | |
---|---|
payload |
Optional. The response is a boolean. True if the workflow was attached to the case successfully. False otherwise. |
Authorization scopes
Requires the following OAuth scope:
https://www.googleapis.com/auth/cloud-platform
For more information, see the Authentication Overview.