Queries API security event statistics by domain name.
Try it now
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
yundun-waf:DescribeApisecEventDomainStatistic |
get |
*All Resource
|
|
None |
Request parameters
|
Parameter |
Type |
Required |
Description |
Example |
| InstanceId |
string |
Yes |
The ID of the WAF instance. Note
Call the DescribeInstance operation to obtain the ID of the WAF instance. |
waf_elasticity-cn-0xldbqt**** |
| ClusterId |
string |
No |
The ID of the hybrid cloud cluster. Note
This parameter is available only for hybrid cloud scenarios. Call the DescribeHybridCloudClusters operation to query hybrid cloud clusters. |
428 |
| StartTime |
integer |
No |
The start time. The value is a UNIX timestamp in seconds. |
1668496310 |
| EndTime |
integer |
No |
The end time. The value is a UNIX timestamp in seconds. |
1686895256 |
| PageNumber |
integer |
No |
The page number. Default value: 1. |
1 |
| PageSize |
integer |
No |
The number of entries per page. Default value: 5. |
10 |
| OrderWay |
string |
No |
The sorting order. Valid values:
|
desc |
| RegionId |
string |
No |
The region where the WAF instance resides. Valid values:
|
cn-hangzhou |
| ResourceManagerResourceGroupId |
string |
No |
The ID of the resource group. |
rg-acfmvyknl****fa |
Response elements
|
Element |
Type |
Description |
Example |
|
object |
The response. |
||
| TotalCount |
integer |
The total number of entries returned. |
10 |
| RequestId |
string |
The request ID. |
66A98669-*******-80A6-3014697B11AE |
| Data |
array<object> |
The returned data. |
|
|
object |
The returned data. |
||
| High |
integer |
The number of high-risk events. |
10 |
| ApiCount |
integer |
The number of APIs. |
10 |
| Low |
integer |
The number of low-risk events. |
2 |
| Medium |
integer |
The number of medium-risk events. |
6 |
| Domain |
string |
The domain name. |
a.aliyun.com |
Examples
Success response
JSON format
{
"TotalCount": 10,
"RequestId": "66A98669-*******-80A6-3014697B11AE",
"Data": [
{
"High": 10,
"ApiCount": 10,
"Low": 2,
"Medium": 6,
"Domain": "a.aliyun.com"
}
]
}
Error codes
See Error Codes for a complete list.
Release notes
See Release Notes for a complete list.