Queries the execution records for a playbook.
Try it now
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
yundun-sas:DescribeSoarRecords |
get |
*Playbook
|
None | None |
Request parameters
|
Parameter |
Type |
Required |
Description |
Example |
| PlaybookUuid |
string |
No |
The UUID of the playbook. Note
For more information, see DescribePlaybooks. |
8f55e76d-b5d5-4720-9cd7-xxxxx |
| TaskflowMd5 |
string |
No |
The MD5 value of the playbook configuration. |
be0a4ef084dd174abe478df52xxxxx |
| StartMillis |
integer |
No |
The start time of the task run. The value is a 13-digit UNIX timestamp. |
1683526284584 |
| EndMillis |
integer |
No |
The end time of the task run. The value is a 13-digit UNIX timestamp. |
1683772744953 |
| Lang |
string |
No |
The language of the request and response. Default value: zh. Valid values:
|
zh |
| TriggerUser |
string |
No |
The ID of the Alibaba Cloud account that runs the playbook task. |
127xxxx4392 |
| TaskStatus |
string |
No |
The status of the task run. Valid values:
|
inprogress |
| PageNumber |
integer |
No |
The page number. Pages start from page 1. Default value: 1. |
1 |
| 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 on each page. Note
Specify a value for PageSize. |
10 |
| RequestUuid |
string |
No |
The UUID of the playbook task execution. Note
For more information, see DescribeSoarRecords. |
6d412cfa-0905-4567-8a83-xxxxxx |
| TriggerType |
string |
No |
The trigger type of the task. Valid values:
|
debug |
| QueryValue |
string |
No |
The input parameter of the playbook. |
input |
| CompletedBeginTime |
integer |
No |
The start time when the task was completed. The value is a 13-digit UNIX timestamp. |
1755676363777 |
| CompletedEndTime |
integer |
No |
The end time when the task was completed. The value is a 13-digit UNIX timestamp. |
1683526284584 |
Response elements
|
Element |
Type |
Description |
Example |
|
object |
The returned data. |
||
| RequestId |
string |
The unique request ID, generated by Alibaba Cloud. Use this ID to troubleshoot issues. |
601C2DAC-6A67-5237-BEE8-5BF1CEE9***** |
| SoarExecuteRecords |
array<object> |
The execution records. |
|
|
array<object> |
The details of an execution record. |
||
| TriggerType |
string |
The type of the playbook task. Valid values:
|
debug |
| TaskName |
string |
The name of the playbook task. The value is the UUID of the playbook. |
82848ebc-eaff-4791-acd4-xxxxx |
| StartTime |
integer |
The start time of the task run. The value is a 13-digit UNIX timestamp. |
1675823338433 |
| EndTime |
integer |
The end time of the component run. The value is a 13-digit UNIX timestamp. |
1686294686000 |
| Status |
string |
The status of the playbook task. Valid values:
|
success |
| RequestUuid |
string |
The request ID of the playbook task. The ID is unique for each task run. |
ba1ec480-aa90-4bb6-a1a7-9e311ae***** |
| TriggerUser |
string |
The ID of the Alibaba Cloud account that runs the playbook task. |
127xxxx4392 |
| ErrorMsg |
string |
The error message of the playbook task. This parameter is empty if the task is successful. |
stime not match |
| RawEventReq |
string |
The request parameters of the playbook task. |
{ "input1": "xx.xx.xx.xx", "input2": "7d" } |
| TaskflowMd5 |
string |
The MD5 value of the playbook configuration. |
dea65a3db87fb9bd84bbxxxxx |
| OutputList |
array<object> |
The output information of the playbook. |
|
|
object |
JSONArray |
||
| Content |
string |
The output content. |
{"msg":"process has been killed","code":"KillSuccess","status":"success"} |
| NodeName |
string |
The name of the node that generates the output. |
TriggerPlaybook_4 |
| ActionUuid |
string |
The UUID of the node. |
4e78d665-2366-4485-8fbc-048a8d41a2c3-25**** |
| Page |
object |
The pagination information. |
|
| TotalCount |
integer |
The total number of entries returned. |
22 |
| PageNumber |
integer |
The page number of the returned page. |
1 |
| PageSize |
integer |
The number of entries returned on each page. |
10 |
Examples
Success response
JSON format
{
"RequestId": "601C2DAC-6A67-5237-BEE8-5BF1CEE9*****",
"SoarExecuteRecords": [
{
"TriggerType": "debug",
"TaskName": "82848ebc-eaff-4791-acd4-xxxxx",
"StartTime": 1675823338433,
"EndTime": 1686294686000,
"Status": "success",
"RequestUuid": "ba1ec480-aa90-4bb6-a1a7-9e311ae*****",
"TriggerUser": "127xxxx4392",
"ErrorMsg": "stime not match",
"RawEventReq": "{\n \"input1\": \"xx.xx.xx.xx\",\n \"input2\": \"7d\"\n}",
"TaskflowMd5": "dea65a3db87fb9bd84bbxxxxx",
"OutputList": [
{
"Content": " {\"msg\":\"process has been killed\",\"code\":\"KillSuccess\",\"status\":\"success\"}",
"NodeName": "TriggerPlaybook_4",
"ActionUuid": "4e78d665-2366-4485-8fbc-048a8d41a2c3-25****"
}
]
}
],
"Page": {
"TotalCount": 22,
"PageNumber": 1,
"PageSize": 10
}
}
Error codes
See Error Codes for a complete list.
Release notes
See Release Notes for a complete list.