Queries the API security risk statistics for domain names that are protected by Web Application Firewall (WAF).
Try it now
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
yundun-waf:DescribeApisecAbnormalDomainStatistic |
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 query the ID of the WAF instance. |
waf-cn-45919n*** |
| ClusterId |
string |
No |
The ID of the Hybrid Cloud WAF cluster. Note
This parameter is required only in hybrid cloud scenarios. Call the DescribeHybridCloudClusters operation to query the IDs of Hybrid Cloud WAF clusters. |
428 |
| StartTime |
integer |
No |
The beginning of the time range to query. The value is a UNIX timestamp in UTC. Unit: seconds. |
1682571600 |
| EndTime |
integer |
No |
The end of the time range to query. The value is a UNIX timestamp in UTC. Unit: seconds. |
1687313820 |
| PageNumber |
integer |
No |
The page number. Pages start from page 1. Default value: 1. |
1 |
| PageSize |
integer |
No |
The number of entries per page. Default value: 10. |
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-acfm***q |
Response elements
|
Element |
Type |
Description |
Example |
|
object |
The response parameters. |
||
| TotalCount |
integer |
The total number of domain names that have API security risks. |
1 |
| RequestId |
string |
The ID of the request. |
66A98669-CC6E-4F3E-80A6-3014***B11AE |
| Data |
array<object> |
The statistics of domain names with API security risks. |
|
|
object |
The statistics of API security risks for a specific domain name. |
||
| High |
integer |
The number of high-severity threats. |
12 |
| ApiCount |
integer |
The total number of APIs that are associated with the domain name. |
10 |
| Low |
integer |
The number of low-severity threats. |
4 |
| Medium |
integer |
The number of medium-severity threats. |
9 |
| Domain |
string |
The domain name that is protected by WAF. |
ba.aliyun.com |
Examples
Success response
JSON format
{
"TotalCount": 1,
"RequestId": "66A98669-CC6E-4F3E-80A6-3014***B11AE",
"Data": [
{
"High": 12,
"ApiCount": 10,
"Low": 4,
"Medium": 9,
"Domain": "ba.aliyun.com"
}
]
}
Error codes
See Error Codes for a complete list.
Release notes
See Release Notes for a complete list.