Queries a list of playbooks.
Operation description
Before you call this operation, make sure that you understand the billing methods and pricing for Security Orchestration, Automation, and Response (SOAR).
Try it now
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
yundun-sas:DescribePlaybooks |
get |
*Playbook
|
None | None |
Request parameters
|
Parameter |
Type |
Required |
Description |
Example |
| Active |
integer |
No |
The status of the playbook. Valid values:
|
1 |
| OwnType |
string |
No |
The type of the playbook. Valid values:
|
user |
| StartMillis |
integer |
No |
The start of the time range to query. This value is a 13-digit timestamp. |
1683526277415 |
| EndMillis |
integer |
No |
The end of the time range to query. This value is a 13-digit timestamp. |
1683858064361 |
| PlaybookUuid |
string |
No |
The UUID of the playbook. Note
Call the CreatePlaybook operation to obtain this parameter. |
8baa6cff-319e-4ede-97bc-1xxxxxx |
| Name |
string |
No |
The name of the playbook. |
demo_playbook |
| Lang |
string |
No |
The language of the content within the request and response. Default value: zh. Valid values:
|
zh |
| PageSize |
integer |
No |
The number of entries to return on each page. Default value: 20. If you leave this parameter empty, 10 entries are returned by default. Note
Specify a value for this parameter. |
10 |
| PageNumber |
integer |
No |
The page number of the page to return. Default value: 1. |
1 |
| Sort |
integer |
No |
The field to sort by. Default value: 1. Valid values:
|
1 |
| Order |
string |
No |
The sort order. Default value: desc. Valid values:
|
desc |
| ParamTypes |
string |
No |
The trigger type of the playbook. If you do not specify this parameter, playbooks of all trigger types are queried. Valid values:
|
template-alert |
| PlaybookUuids |
string |
No |
A comma-separated list of playbook UUIDs. You can specify up to 100 UUIDs. |
8baa6cff-319e-4ede-97bc-1xxxxxx,8rrt6cff-319e-4ede-97bc-1xxxxxx |
Response elements
|
Element |
Type |
Description |
Example |
|
object |
The response object. |
||
| RequestId |
string |
The request ID. This ID is generated by Alibaba Cloud for the request and can be used to troubleshoot issues. |
138B5AB7-****-5814-87A3-E3E****F207E |
| Playbooks |
array<object> |
The list of playbooks. |
|
|
object |
The information about the playbook. |
||
| DisplayName |
string |
The display name of the playbook. |
demo_playbook |
| PlaybookUuid |
string |
The UUID of the playbook. |
bb5a8640-a14f-44ef-8376-cxxxxx |
| OwnType |
string |
The type of the playbook. Valid values:
|
user |
| Active |
integer |
The status of the playbook. Valid values:
|
1 |
| LastRuntime |
integer |
The last time the playbook was run. This value is a 13-digit timestamp. |
1683526277415 |
| GmtCreate |
integer |
The time when the playbook was created. This value is a 13-digit timestamp. |
1683526277415 |
| GmtModified |
string |
The time when the playbook was modified. |
1681396398000 |
| ParamType |
string |
The trigger type of the playbook. Valid values:
|
template-alert |
| Description |
string |
The description of the playbook. |
aegis_kill_process |
| TenantId |
string |
The ID of the user to which the playbook belongs. |
123456 |
| Page |
object |
The pagination information. |
|
| TotalCount |
integer |
The total number of entries that match the query. |
100 |
| PageNumber |
integer |
The page number of the returned page. |
1 |
| PageSize |
integer |
The number of entries returned per page. |
10 |
Examples
Success response
JSON format
{
"RequestId": "138B5AB7-****-5814-87A3-E3E****F207E",
"Playbooks": [
{
"DisplayName": "demo_playbook",
"PlaybookUuid": "bb5a8640-a14f-44ef-8376-cxxxxx",
"OwnType": "user",
"Active": 1,
"LastRuntime": 1683526277415,
"GmtCreate": 1683526277415,
"GmtModified": "1681396398000",
"ParamType": "template-alert",
"Description": "aegis_kill_process",
"TenantId": "123456"
}
],
"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.