Queries the top 10 source IP addresses from which the most attacks originated.
Try it now
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
yundun-waf:DescribeRuleHitsTopClientIp |
get |
*All Resource
|
None | None |
Request parameters
|
Parameter |
Type |
Required |
Description |
Example |
| StartTimestamp |
string |
Yes |
The beginning of the time range to query. The value is a UNIX timestamp. Unit: seconds. |
1665331200 |
| EndTimestamp |
string |
No |
The end of the time range to query. The value is a UNIX timestamp. Unit: seconds. If you do not set this parameter, the current time is used as the end time. |
1665386280 |
| Resource |
string |
No |
The protected object. |
www.aliyundoc.com |
| RuleType |
string |
No |
The type of rule that the protected object hits. If you do not set this parameter, data for all rule types is returned.
|
blacklist |
| InstanceId |
string |
Yes |
The ID of the WAF instance. Note
Call DescribeInstance to query the ID of the WAF instance. |
waf_cdnsdf3**** |
| RegionId |
string |
No |
The region where the WAF instance resides. 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 request ID. |
9F0F9AD6-62E2-50BB-A3E5-30FFB9410262 |
| RuleHitsTopClientIp |
array<object> |
The top 10 source IP addresses that initiated the most attacks. |
|
|
object |
The attack details for a source IP address. |
||
| Count |
integer |
The number of attack requests. |
531 |
| ClientIp |
string |
The IP address of the client. |
3.3.XX.XX |
Examples
Success response
JSON format
{
"RequestId": "9F0F9AD6-62E2-50BB-A3E5-30FFB9410262",
"RuleHitsTopClientIp": [
{
"Count": 531,
"ClientIp": "3.3.XX.XX"
}
]
}
Error codes
See Error Codes for a complete list.
Release notes
See Release Notes for a complete list.