Retrieves a list of entities to handle and a list of available playbooks.
Try it now
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
yundun-sas:DescribeDisposeAndPlaybook |
get |
*All Resource
|
None | None |
Request parameters
|
Parameter |
Type |
Required |
Description |
Example |
| EntityType |
string |
No |
The type of the entity. Valid values:
|
ip |
| IncidentUuid |
string |
No |
The UUID of the event. |
85ea4241-798f-4684-a876-65d4f0c3**** |
| EntityUuid |
string |
No |
The UUID of the entity. |
85ea4241-798f-4684-a876-65d4f0c3**** |
| CurrentPage |
integer |
No |
The page number. The value must be greater than or equal to 1. |
1 |
| PageSize |
integer |
No |
The number of entries per page. The maximum value is 100. |
10 |
| RoleType |
integer |
No |
The view type.
|
1 |
| RoleFor |
integer |
No |
The ID of the user that the administrator wants to switch to. |
113091674488**** |
| RegionId |
string |
No |
The region where the Data Management center of threat analysis is located. Select a region based on the region where your assets are located. Valid values:
|
cn-hangzhou |
Response elements
|
Element |
Type |
Description |
Example |
|
object |
PageResponse<List |
||
| Success |
boolean |
Indicates whether the request was successful. Valid values:
|
true |
| Code |
integer |
The request status code. |
200 |
| Message |
string |
The message returned for the request. |
success |
| RequestId |
string |
The request ID. |
9AAA9ED9-78F4-5021-86DC-D51C7511**** |
| Data |
object |
The return value of the request. |
123456 |
| PageInfo |
object |
The paging information. |
|
| CurrentPage |
integer |
The current page number. |
1 |
| PageSize |
integer |
The number of entries returned per page. |
10 |
| TotalCount |
integer |
The total number of entries. |
100 |
| ResponseData |
array<object> |
The detailed data. |
|
|
object |
|||
| EntityId |
integer |
The entity ID. |
12345**** |
| EntityType |
string |
The entity type. Valid values:
|
ip |
| OpcodeMap |
object |
The key-value pair of the opcode and oplevel. |
12345 |
|
string |
The key-value pair of the opcode and oplevel. |
{"7","2"} |
|
| OpcodeSet |
array |
The recommended playbook codes for entity handling. |
[1,3] |
|
string |
The recommended playbook code for entity handling. |
7 |
|
| EntityInfo |
object |
The entity information. |
{"file_path": "c:/www/leixi.jsp","file_hash": "aa0ca926ad948cd820e0a3d9a18c****","host_uuid": "efed2cf7-0b77-45d9-a97b-d2cf246b****","malware_type": "${aliyun.siem.sas.alert_tag.webshell}","host_name": "launch-advisor-2023****"} |
| Dispose |
string |
The handling object. |
192.168.*.* |
| Scope |
array |
The handling scope, which is a list of user IDs that can perform the handling. |
176618589410**** |
|
any |
The handling scope, which is a list of user IDs that can perform the handling. |
[127608589417****] |
|
| PlaybookList |
array<object> |
The list of playbooks that can be used to handle the entity. |
[{"name":"云安全中心-云服务器安全","code":"1"}] |
|
object |
|||
| OpCode |
string |
The playbook opcode. It corresponds to the recommended playbook opcode for entity handling. |
7 |
| OpLevel |
string |
Indicates whether the playbook is selected by default for one-click handling. Valid values:
|
2 |
| Description |
string |
The description of the playbook. |
WafBlockIP |
| DisplayName |
string |
The display name of the playbook. |
WafBlockIP |
| TaskConfig |
string |
The opcode configuration. |
{"opCode":"3"} |
| Name |
string |
The name of the playbook, which is the unique identifier of the playbook. |
kill_process_isolate_file |
| Uuid |
string |
The UUID of the playbook, which is the unique identifier of the playbook. |
kill_process_isolate_file |
| ParamConfig |
array |
The list of parameters for the playbook and their properties. |
|
|
any |
The list of input parameters for the current playbook and their format requirements. |
{ "ParamConfig": [ { "Field": "dispose", "Necessary": true, "CheckField": "[{"fieldPath":"$.ip","fieldName":"ip"}]" }, { "Field": "alert", "Necessary": true, "CheckField": "[{"fieldPath":"$.host_uuid","fieldName":"host_uuid"}]" }, { "Field": "scope", "Necessary": true, "Value": "$.main_user_id" }, { "Field": "startTime", "Necessary": true }, { "Field": "endTime", "Necessary": true } ] } |
|
| WafPlaybook |
boolean |
Indicates whether the playbook is a WAF playbook. Valid values:
|
false |
| Available |
string |
Indicates whether the playbook is active.
|
1 |
| AlertNum |
integer |
The number of alerts associated with the entity. |
1 |
Examples
Success response
JSON format
{
"Success": true,
"Code": 200,
"Message": "success",
"RequestId": "9AAA9ED9-78F4-5021-86DC-D51C7511****",
"Data": {
"PageInfo": {
"CurrentPage": 1,
"PageSize": 10,
"TotalCount": 100
},
"ResponseData": [
{
"EntityId": 0,
"EntityType": "ip",
"OpcodeMap": {
"key": "{\"7\",\"2\"}"
},
"OpcodeSet": [
"7"
],
"EntityInfo": {
"file_path": "c:/www/leixi.jsp",
"file_hash": "aa0ca926ad948cd820e0a3d9a18c****",
"host_uuid": "efed2cf7-0b77-45d9-a97b-d2cf246b****",
"malware_type": "${aliyun.siem.sas.alert_tag.webshell}",
"host_name": "launch-advisor-2023****"
},
"Dispose": "192.168.*.*",
"Scope": [
"[127608589417****]"
],
"PlaybookList": [
{
"OpCode": "7",
"OpLevel": "2",
"Description": "WafBlockIP",
"DisplayName": "WafBlockIP",
"TaskConfig": "{\"opCode\":\"3\"}",
"Name": "kill_process_isolate_file",
"Uuid": "kill_process_isolate_file",
"ParamConfig": [
"{\n\t\"ParamConfig\": [\n\t\t{\n\t\t\t\"Field\": \"dispose\",\n\t\t\t\"Necessary\": true,\n\t\t\t\"CheckField\": \"[{"fieldPath":"$.ip","fieldName":"ip"}]\"\n\t\t},\n\t\t{\n\t\t\t\"Field\": \"alert\",\n\t\t\t\"Necessary\": true,\n\t\t\t\"CheckField\": \"[{"fieldPath":"$.host_uuid","fieldName":"host_uuid"}]\"\n\t\t},\n\t\t{\n\t\t\t\"Field\": \"scope\",\n\t\t\t\"Necessary\": true,\n\t\t\t\"Value\": \"$.main_user_id\"\n\t\t},\n\t\t{\n\t\t\t\"Field\": \"startTime\",\n\t\t\t\"Necessary\": true\n\t\t},\n\t\t{\n\t\t\t\"Field\": \"endTime\",\n\t\t\t\"Necessary\": true\n\t\t}\n\t]\n}"
],
"WafPlaybook": false,
"Available": "1"
}
],
"AlertNum": 1
}
]
}
}
Error codes
|
HTTP status code |
Error code |
Error message |
Description |
|---|---|---|---|
| 500 | InternalError | The request processing has failed due to some unknown error. |
See Error Codes for a complete list.
Release notes
See Release Notes for a complete list.