Full name: projects.locations.instances.legacyPlaybooks.legacyDuplicateWorkflows
Creates duplicates of multiple playbook definitions in a single operation. Use this method for bulk creation of workflows based on existing items.
HTTP request
POST https://chronicle.africa-south1.rep.googleapis.com/v1alpha/{instance}/legacyPlaybooks:legacyDuplicateWorkflows Path parameters
| Parameters | |
|---|---|
instance |
Required. The instance to duplicate the workflows for. Format: projects/{project}/locations/{location}/instances/{instance} |
Request body
The request body contains data with the following structure:
| JSON representation |
|---|
{ "identifiers": [ string ], "priority": integer, "categoryId": integer, "environments": [ string ] } |
| Fields | |
|---|---|
identifiers[] |
Required. The identifiers of the workflows to duplicate. |
priority |
Required. The priority of the duplicated workflows. |
categoryId |
Optional. The category of the duplicated workflows. |
environments[] |
Optional. The environments of the duplicated workflows. |
Response body
LegacyPlaybookDuplicateWorkflowsResponse is a response for duplicating workflows.
If successful, the response body contains data with the following structure:
| JSON representation |
|---|
{
"payload": [
{
object ( |
| Fields | |
|---|---|
payload[] |
Optional. The duplicated workflows. |
Authorization scopes
Requires one of the following OAuth scopes:
https://www.googleapis.com/auth/cloud-platformhttps://www.googleapis.com/auth/chroniclehttps://www.googleapis.com/auth/chronicle.readonly
For more information, see the Authentication Overview.
IAM Permissions
Requires the following IAM permission on the instance resource:
chronicle.legacyPlaybooks.update
For more information, see the IAM documentation.