Queries API security event statistics grouped by domain name for a Web Application Firewall (WAF) instance.
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 WAF cluster. Note
This parameter is available only for hybrid cloud scenarios. Call the DescribeHybridCloudClusters operation to query Hybrid Cloud WAF clusters. |
428 |
| StartTime |
integer |
No |
The beginning of the time range to query. Specify a UNIX timestamp in UTC. Unit: seconds. |
1668496310 |
| EndTime |
integer |
No |
The end of the time range to query. Specify a UNIX timestamp in UTC. Unit: seconds. |
1686895256 |
| PageNumber |
integer |
No |
The page number of the page to return. Default value: 1. |
1 |
| PageSize |
integer |
No |
The number of entries per page. Default value: 5. Maximum value: 100. |
10 |
| OrderWay |
string |
No |
The sort order of the results. Valid values:
|
desc |
| RegionId |
string |
No |
The region where the WAF instance resides. Valid values:
|
cn-hangzhou |
| ResourceManagerResourceGroupId |
string |
No |
The ID of the Alibaba Cloud resource group. |
rg-acfmvyknl****fa |
Response elements
|
Element |
Type |
Description |
Example |
|
object |
The response parameters. |
||
| TotalCount |
integer |
The total number of domain names that have API security events. |
10 |
| RequestId |
string |
The ID of the request. |
66A98669-*******-80A6-3014697B11AE |
| Data |
array<object> |
The API security event statistics grouped by domain name. |
|
|
object |
The API security event statistics for a specific domain name. |
||
| High |
integer |
The number of high-risk security events for the domain name. |
10 |
| ApiCount |
integer |
The total number of APIs that have security events for the domain name. |
10 |
| Low |
integer |
The number of low-risk security events for the domain name. |
2 |
| Medium |
integer |
The number of medium-risk security events for the domain name. |
6 |
| Domain |
string |
The domain name that is protected by WAF. |
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.