Queries the top 10 most frequently triggered protection rule types.
Try it now
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
yundun-waf:DescribeRuleHitsTopTuleType |
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. |
1665386280 |
| Resource |
string |
No |
The protected object. |
www.aliyundoc.com |
| InstanceId |
string |
Yes |
The ID of the Web Application Firewall (WAF) instance. Note
Call the DescribeInstance operation to query the ID of your WAF instance. |
waf_cdnsdf3**** |
| RegionId |
string |
No |
The region where the WAF instance is deployed. 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 result of the request. |
||
| RequestId |
string |
The ID of the request. |
45E377CE-0B04-578E-B653-EEA63CFE**** |
| RuleHitsTopTuleType |
array<object> |
The top 10 protection rule types that were hit. |
|
|
object |
The details about the hits on a protection rule type. |
||
| RuleType |
string |
The type of rule that was hit. This parameter is not returned by default, which indicates that data for all rule types is returned.
|
blacklist |
| Count |
integer |
The number of requests that hit the rule. |
698455 |
Examples
Success response
JSON format
{
"RequestId": "45E377CE-0B04-578E-B653-EEA63CFE****",
"RuleHitsTopTuleType": [
{
"RuleType": "blacklist",
"Count": 698455
}
]
}
Error codes
See Error Codes for a complete list.
Release notes
See Release Notes for a complete list.