Queries the top 10 protected objects by request count.
Try it now
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
yundun-waf:DescribeFlowTopResource |
get |
*All Resource
|
None | None |
Request parameters
|
Parameter |
Type |
Required |
Description |
Example |
| StartTimestamp |
string |
Yes |
The beginning of the time range to query. This value is a UNIX timestamp. Unit: seconds. |
1665331200 |
| EndTimestamp |
string |
No |
The end of the time range to query. This value is a UNIX timestamp. Unit: seconds. If you do not specify this parameter, the current time is used as the end time. |
1665386340 |
| InstanceId |
string |
Yes |
The ID of the WAF instance. Note
For more information, see DescribeInstance. |
waf_cdnsdf3**** |
| RegionId |
string |
No |
The region where the WAF instance is deployed. Valid values:
|
cn-hangzhou |
| ResourceManagerResourceGroupId |
string |
No |
The ID of the resource group. |
rg-acfm***q |
Response elements
|
Element |
Type |
Description |
Example |
|
object |
The response. |
||
| RequestId |
string |
The ID of the request. |
8F0E0B9A-B518-5C6D-BEFC-A373DDE4F652 |
| RuleHitsTopResource |
array<object> |
The top 10 protected objects that received the most requests. |
|
|
object |
The statistics about requests to the protected object. |
||
| Resource |
string |
The protected object. |
www.aliyundoc.com |
| Count |
integer |
The total number of requests for the protected object during the specified time period. |
181174784 |
Examples
Success response
JSON format
{
"RequestId": "8F0E0B9A-B518-5C6D-BEFC-A373DDE4F652",
"RuleHitsTopResource": [
{
"Resource": "www.aliyundoc.com",
"Count": 181174784
}
]
}
Error codes
See Error Codes for a complete list.
Release notes
See Release Notes for a complete list.