Queries the alerts for a user.
Try it now
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
yundun-sas:DescribeAlerts |
get |
*All Resource
|
None | None |
Request parameters
|
Parameter |
Type |
Required |
Description |
Example |
| AlertUuid |
string |
No |
The ID of the alert that is associated with the event. |
sas_71e24437d2797ce8fc59692905a4**** |
| Level |
array |
No |
The threat level. The value is a JSON array. Valid values:
|
["serious","suspicious","remind"] |
|
string |
No |
The threat level. The value is a JSON array. Valid values:
|
["remind","serious"] |
|
| Source |
string |
No |
The source product of the alert that is associated with the event. |
sas |
| IsDefend |
string |
No |
Specifies whether the threat is defended. Valid values:
|
1 |
| AlertTitle |
string |
No |
The title of the alert. |
Unusual Logon-login_common_account |
| AlertType |
string |
No |
The type of the alert. |
Scan |
| AlertName |
string |
No |
The name of the alert. |
Try SNMP weak password |
| AssetName |
string |
No |
The name of the asset. |
hostname-**** |
| AssetId |
string |
No |
The ID of the asset. |
F3385128-69A5-3EE8-BD05-FBEE7DB2**** |
| EntityName |
string |
No |
The name of the entity. |
launch-advisor-***** |
| EntityId |
string |
No |
The ID of the entity. |
f366e287ea530e7a324cbe987993**** |
| SubUserId |
string |
No |
The ID of the Alibaba Cloud account that is associated with the alert. |
176555323*** |
| LabelType |
string |
No |
The type of the alert query. Valid values:
|
custom |
| AlertStatus |
array |
No |
The status of the alert. |
|
|
string |
No |
The status of the alert. |
1 |
|
| StartTime |
integer |
No |
The start of the time range to query. This value is a UNIX timestamp in milliseconds. |
1577808000000 |
| EndTime |
integer |
No |
The end of the time range to query. This value is a UNIX timestamp in milliseconds. |
1577808000000 |
| CurrentPage |
integer |
Yes |
The page number. The value must be greater than or equal to 1. |
1 |
| PageSize |
integer |
Yes |
The number of entries per page. Maximum value: 100. |
10 |
| RoleType |
integer |
No |
The view type. Valid values:
|
1 |
| RoleFor |
integer |
No |
The ID of the member to which the administrator switches. |
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 reside. 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 HTTP status code. |
200 |
| Message |
string |
The returned message. |
success |
| RequestId |
string |
The request ID. |
9AAA9ED9-78F4-5021-86DC-D51C7511**** |
| Data |
object |
The data returned. |
123456 |
| PageInfo |
object |
The pagination information. |
|
| CurrentPage |
integer |
The current page number. |
1 |
| PageSize |
integer |
The number of entries per page. |
10 |
| TotalCount |
integer |
The total number of entries. |
100 |
| ResponseData |
array<object> |
The detailed data. |
|
|
array<object> |
|||
| Id |
integer |
The unique ID of the alert. |
123456789 |
| GmtCreate |
string |
The time when the alert was created. |
2021-01-06 16:37:29 |
| GmtModified |
string |
The time when the alert was last updated. |
2021-01-06 16:37:29 |
| MainUserId |
integer |
The ID of the main Alibaba Cloud account that is associated with the alert. |
127608589417**** |
| IncidentUuid |
string |
The globally unique ID of the event. |
85ea4241-798f-4684-a876-65d4f0c3**** |
| AlertUuid |
string |
The UUID of the alert. |
sas_71e24437d2797ce8fc59692905a4**** |
| LogTime |
string |
The time when the alert was recorded. |
2021-01-06 16:37:29 |
| AlertSrcProd |
string |
The source product of the alert. |
sas |
| AlertTitle |
string |
The title of the alert. |
Scan-Try SNMP weak password |
| AlertTitleEn |
string |
The English title of the alert. |
Scan-Try SNMP weak password |
| AlertType |
string |
The type of the alert. |
Scan |
| AlertTypeEn |
string |
The English type of the alert. |
Scan |
| AlertTypeCode |
string |
The code of the alert type. |
security_event_config.event_name.webshellName |
| AlertName |
string |
The name of the alert. |
Try SNMP weak password |
| AlertNameEn |
string |
The English name of the alert. |
Try SNMP weak password |
| AlertNameCode |
string |
The code of the alert name. |
security_event_config.event_name.webshell |
| AlertLevel |
string |
The threat level. Valid values:
|
remind |
| AssetList |
string |
The list of assets. |
[ { "is_main_asset": "1", "asset_name": "47.245.*", "port": "22", "ip": "47.245.*", "asset_type": "ip", "location": "ap-southeast-1", "asset_id": "47.245.*", "net_connect_dir": "in" } ] |
| OccurTime |
string |
The time when the alert occurred. |
2021-01-06 16:37:29 |
| StartTime |
string |
The time when the alert first occurred. |
2021-01-06 16:37:29 |
| EndTime |
string |
The time when the alert ended. |
2021-01-06 16:37:29 |
| AlertSrcProdModule |
string |
The submodule of the source product of the alert. |
waf |
| AlertDesc |
string |
The description of the alert. |
The detection model found a suspicious Webshell file on your server, which may be a backdoor file implanted to maintain permissions after the attacker successfully invaded the website. |
| AlertDescEn |
string |
The English description of the alert. |
The detection model found a suspicious Webshell file on your server, which may be a backdoor file implanted to maintain permissions after the attacker successfully invaded the website. |
| AlertDescCode |
string |
The code of the alert description. |
security_event_config.event_name.webshell |
| AlertDetail |
string |
The details of the alert. |
{"main_user_id": "165295629792****";"log_uuid_count": "99";"attack_ip": "21.92.*.*"} |
| LogUuid |
string |
The UUID of the alert log. |
cfw_d12e285a-a042-4d7e-be89-f8a795ef**** |
| EntityList |
string |
The details of the entity. The entity is standardized and its index is enabled. |
[{"entity_user_id":"198921674491****","entity_account_id":"N/A","entity_uuid":"6245f979d5dd9ef8dd19bdc72228****","entity_type":"host","entity_name":"zhh-test-20240409","is_comprised":"1","os_type":"linux","entity_id":"a88f44dd-b8d4-4ded-831c-77a4835****","host_uuid":"a88f44dd-b8d4-4ded-831c-77a4835****","host_name":"zhh-test-2024****"}] |
| AttCk |
string |
The ATT&CK attack technique tag. |
T1595.002 Vulnerability Scanning |
| SubUserId |
integer |
The ID of the Alibaba Cloud account that generated the alert. |
176555323*** |
| SubUserName |
string |
The name of the Alibaba Cloud account that generated the alert. |
176555323*** |
| VendorId |
string |
The cloud service provider. Valid values:
|
aliyun |
| IsDefend |
string |
Specifies whether the threat is defended. Valid values:
|
1 |
| AlertInfoList |
array<object> |
The detailed data of the alert. |
aliyun |
|
object |
|||
| Key |
string |
The key of the detailed alert property. |
suspicious.wbd.wb.trojanpath |
| KeyName |
string |
The name of the detailed alert data. |
Trojan Path |
| Values |
string |
The value of the detailed alert data. |
/root/test33.php |
| ExtendContent |
string |
The extended information about the alert. |
{"user":"Member","num":"1"} |
| ProductId |
string |
The product ID. |
alibaba_cloud_sas |
| CloudCode |
string |
The cloud service provider. Valid values:
|
aliyun |
| DetectionRuleId |
string |
The ID of the detection rule. |
dr-48zs4tk7qfd4rjd9**** |
| AlertStatus |
string |
The status of the alert. |
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": [
{
"Id": 123456789,
"GmtCreate": "2021-01-06 16:37:29",
"GmtModified": "2021-01-06 16:37:29",
"MainUserId": 0,
"IncidentUuid": "85ea4241-798f-4684-a876-65d4f0c3****",
"AlertUuid": "sas_71e24437d2797ce8fc59692905a4****",
"LogTime": "2021-01-06 16:37:29",
"AlertSrcProd": "sas",
"AlertTitle": "Scan-Try SNMP weak password",
"AlertTitleEn": "Scan-Try SNMP weak password",
"AlertType": "Scan",
"AlertTypeEn": "Scan",
"AlertTypeCode": "security_event_config.event_name.webshellName",
"AlertName": "Try SNMP weak password",
"AlertNameEn": "Try SNMP weak password",
"AlertNameCode": "security_event_config.event_name.webshell",
"AlertLevel": "remind",
"AssetList": "[\n {\n \"is_main_asset\": \"1\",\n \"asset_name\": \"47.245.*\",\n \"port\": \"22\",\n \"ip\": \"47.245.*\",\n \"asset_type\": \"ip\",\n \"location\": \"ap-southeast-1\",\n \"asset_id\": \"47.245.*\",\n \"net_connect_dir\": \"in\"\n }\n]",
"OccurTime": "2021-01-06 16:37:29",
"StartTime": "2021-01-06 16:37:29",
"EndTime": "2021-01-06 16:37:29",
"AlertSrcProdModule": "waf",
"AlertDesc": "The detection model found a suspicious Webshell file on your server, which may be a backdoor file implanted to maintain permissions after the attacker successfully invaded the website.",
"AlertDescEn": "The detection model found a suspicious Webshell file on your server, which may be a backdoor file implanted to maintain permissions after the attacker successfully invaded the website.",
"AlertDescCode": "security_event_config.event_name.webshell",
"AlertDetail": "{\"main_user_id\": \"165295629792****\";\"log_uuid_count\": \"99\";\"attack_ip\": \"21.92.*.*\"}",
"LogUuid": "cfw_d12e285a-a042-4d7e-be89-f8a795ef****",
"EntityList": "[{"entity_user_id":"198921674491****","entity_account_id":"N/A","entity_uuid":"6245f979d5dd9ef8dd19bdc72228****","entity_type":"host","entity_name":"zhh-test-20240409","is_comprised":"1","os_type":"linux","entity_id":"a88f44dd-b8d4-4ded-831c-77a4835****","host_uuid":"a88f44dd-b8d4-4ded-831c-77a4835****","host_name":"zhh-test-2024****"}]",
"AttCk": "T1595.002 Vulnerability Scanning",
"SubUserId": 0,
"SubUserName": "176555323***",
"VendorId": "aliyun",
"IsDefend": "1",
"AlertInfoList": [
{
"Key": "suspicious.wbd.wb.trojanpath",
"KeyName": "Trojan Path",
"Values": "/root/test33.php"
}
],
"ExtendContent": "{\"user\":\"Member\",\"num\":\"1\"}",
"ProductId": "alibaba_cloud_sas",
"CloudCode": "aliyun",
"DetectionRuleId": "dr-48zs4tk7qfd4rjd9****",
"AlertStatus": "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.