Copies a playbook.
Operation description
Before you call this operation, make sure that you understand the billing methods and pricing of response orchestration. The service is billed based on the log traffic generated by Threat Analysis and Response.
Try it now
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
yundun-sas:CopyPlaybook |
create |
*All Resource
|
None | None |
Request parameters
|
Parameter |
Type |
Required |
Description |
Example |
| DisplayName |
string |
Yes |
The display name of the playbook. |
playbook_xxx |
| Description |
string |
No |
The description of the playbook. |
playbook description |
| SourcePlaybookUuid |
string |
Yes |
The UUID of the playbook to copy. Note
You can call the DescribePlaybooks operation to obtain this parameter. |
94bc318c-****-4cba-****-801ccb0d739f |
| ReleaseVersion |
string |
No |
The published version of the playbook to copy. The default value is 0. Valid values:
|
0 |
| Lang |
string |
No |
The language of the content within the request and response. Valid values:
|
zh |
| RoleType |
string |
No |
The view type. Valid values:
|
0 |
| RoleFor |
integer |
No |
The UID of the member. This parameter is used when an administrator switches to the context of a member account. |
137602*****718726 |
Response elements
|
Element |
Type |
Description |
Example |
|
object |
SophonResult |
||
| RequestId |
string |
The ID of the request. This ID is generated by Alibaba Cloud for each request and is used for troubleshooting. |
2EC05B06-****-5F3E-****-3B1FAD76087A |
| Data |
object |
The data returned. |
|
| DisplayName |
string |
The name of the new playbook. |
11111 |
| PlaybookUuid |
string |
The UUID of the new playbook. |
9e38111e-9794-4784-9ca8-xxxxxxx |
| OwnType |
string |
The type of the playbook. Valid values:
|
user |
| Active |
integer |
The status of the playbook. Valid values:
|
1 |
| LastRuntime |
integer |
The last running time of the playbook. This value is a 13-digit timestamp. |
1725258397847 |
| Permission |
integer |
The permissions on the playbook. Valid values:
|
1 |
| GmtCreate |
integer |
The time when the playbook was created. This value is a 13-digit timestamp. |
1655951601000 |
| GmtModified |
integer |
The time when the playbook was last modified. This value is a 13-digit timestamp. |
1638270967000 |
| HistoryMd5 |
integer |
The number of historical versions of the playbook. |
1 |
| SuccNum |
integer |
The number of successful runs. |
1 |
| FailNum |
integer |
The number of failed runs. |
1 |
| FailRate |
number |
The failure rate. |
0.5 |
| InputParams |
string |
The input parameters of the playbook. |
[{\"name\":\"1\",\"dataType\":\"String\",\"required\":false,\"isArray\":false,\"example\":\"\",\"description\":\"\",\"id\":0,\"typeName\":\"String\",\"dataClass\":\"normal\"}] |
| OutputParams |
string |
The output parameters of the playbook. |
[] |
| Description |
string |
The description of the playbook. |
This is a action of processing for WAF |
| LogicReleaseTaskflowMd5 |
string |
The MD5 hash of the published version of the playbook. |
037046****1b00c4717963818ccbf2xx |
| PlaybookStatus |
integer |
The status of the playbook. |
1 |
| TenantId |
string |
The UID of the user who owns the playbook. |
13760*****8718726 |
| Page |
object |
The pagination information. |
|
| TotalCount |
integer |
The total number of entries. |
100 |
| PageNumber |
integer |
The page number. |
1 |
| PageSize |
integer |
The number of entries per page. |
10 |
Examples
Success response
JSON format
{
"RequestId": "2EC05B06-****-5F3E-****-3B1FAD76087A",
"Data": {
"DisplayName": "11111",
"PlaybookUuid": "9e38111e-9794-4784-9ca8-xxxxxxx",
"OwnType": "user",
"Active": 1,
"LastRuntime": 1725258397847,
"Permission": 1,
"GmtCreate": 1655951601000,
"GmtModified": 1638270967000,
"HistoryMd5": 1,
"SuccNum": 1,
"FailNum": 1,
"FailRate": 0.5,
"InputParams": "[{\\\"name\\\":\\\"1\\\",\\\"dataType\\\":\\\"String\\\",\\\"required\\\":false,\\\"isArray\\\":false,\\\"example\\\":\\\"\\\",\\\"description\\\":\\\"\\\",\\\"id\\\":0,\\\"typeName\\\":\\\"String\\\",\\\"dataClass\\\":\\\"normal\\\"}]",
"OutputParams": "[]",
"Description": "This is a action of processing for WAF",
"LogicReleaseTaskflowMd5": "037046****1b00c4717963818ccbf2xx",
"PlaybookStatus": 1,
"TenantId": "13760*****8718726"
},
"Page": {
"TotalCount": 100,
"PageNumber": 1,
"PageSize": 10
}
}
Error codes
See Error Codes for a complete list.
Release notes
See Release Notes for a complete list.