Method: legacyPlaybooks.legacyRerunPlaybook

Full name: projects.locations.instances.legacyPlaybooks.legacyRerunPlaybook

legacyPlaybooks.legacyRerunPlaybook reruns a playbook on a given alert.

HTTP request


Path parameters

Parameters
instance

string

Required. The instance to rerun the playbook 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

string (int64 format)

Required. The cyber case id.

alertGroupIdentifier

string

Required. The alert group identifier.

alertIdentifier

string

Required. The alert identifier.

wfName

string

Required. The workflow name.

originalWorkflowDefinitionIdentifier

string

Optional. The original workflow definition identifier.

shouldRunAutomatic

boolean

Required. Indicates if the workflow should run automatically.

Response body

LegacyPlaybookRerunPlaybookResponse is a response for rerunning a playbook.

If successful, the response body contains data with the following structure:

JSON representation
{
  "payload": {
    object (WorkflowInstance)
  }
}
Fields
payload

object (WorkflowInstance)

Optional. The workflow instance.

Authorization scopes

Requires the following OAuth scope:

  • https://www.googleapis.com/auth/cloud-platform

For more information, see the Authentication Overview.