Queries the statistics of alerts in one or more asset groups.
Debugging
Request parameters
Parameter | Type | Required | Example | Description |
---|---|---|---|---|
Action | String | Yes | GetSuspiciousStatistics |
The operation that you want to perform. Set the value to GetSuspiciousStatistics. |
GroupIdList | String | Yes | 9997897 |
The ID of the asset group. Separate multiple IDs with commas (,). Note You can call the DescribeAllGroups operation to query the IDs of asset groups.
|
SourceIp | String | No | 10.12.XX.XX |
The source IP address of the request. |
All Alibaba Cloud API operations must include common request parameters. For more information about common request parameters, see Common parameters.
For more information about sample requests, see the "Examples" section of this topic.
Response parameters
Parameter | Type | Example | Description |
---|---|---|---|
RemindCount | Integer | 0 |
The number of alerts whose Emergency level is Reminder. |
RequestId | String | 84092B42-1A59-4F34-8DF8-1D93520990A5 |
The ID of the request. |
SeriousCount | Integer | 1 |
The number of alerts whose Emergency level is Urgent. |
SuspiciousCount | Integer | 8 |
The number of alerts whose Emergency level is Suspicious. |
TotalCount | Integer | 9 |
The total number of alerts. |
Examples
Sample requests
http(s)://[Endpoint]/?Action=GetSuspiciousStatistics
&GroupIdList=9997897
&<Common request parameters>
Sample success responses
XML
format
<GetSuspiciousStatisticsResponse>
<TotalCount>9</TotalCount>
<RequestId>84092B42-1A59-4F34-8DF8-1D93520990A5</RequestId>
<RemindCount>0</RemindCount>
<SuspiciousCount>8</SuspiciousCount>
<SeriousCount>1</SeriousCount>
</GetSuspiciousStatisticsResponse>
JSON
format
{
"TotalCount": 9,
"RequestId": "84092B42-1A59-4F34-8DF8-1D93520990A5",
"RemindCount": 0,
"SuspiciousCount": 8,
"SeriousCount": 1
}
Error codes
For a list of error codes, visit the API Error Center.