Queries the ranking of attack types for intrusion prevention events.
Try it now
Test
RAM authorization
Request parameters
|
Parameter |
Type |
Required |
Description |
Example |
| SourceIp |
string |
No |
The source IP address of the visitor. |
140.210.153.XXX |
| Lang |
string |
No |
The language of the request and response. Valid values:
|
zh |
| StartTime |
string |
Yes |
The start time. The value is a UNIX timestamp in seconds. |
1670307484 |
| EndTime |
string |
Yes |
The end time. The value is a UNIX timestamp in seconds. |
1743387943 |
| Direction |
string |
Yes |
The direction of the traffic. Valid values:
|
out |
| BuyVersion |
string |
No |
The edition of Cloud Firewall. Valid values:
|
2 |
Response elements
|
Element |
Type |
Description |
Example |
|
object |
|||
| TotalProtectCnt |
integer |
The total number of mitigation sessions. |
65 |
| RequestId |
string |
The ID of the request. |
BECDBF66-91DA-5B40-8B05-0D26541A**** |
| TotalAttackCnt |
integer |
The total number of attacks. |
47 |
| TopAttackTypeList |
array<object> |
The list of attack types. |
|
|
object |
The list of attack types. |
||
| AttackType |
integer |
The attack type. |
2 |
| AttackCnt |
integer |
The number of attacks. |
38 |
| ProtectCnt |
integer |
The number of mitigation sessions. |
42 |
Examples
Success response
JSON format
{
"TotalProtectCnt": 65,
"RequestId": "BECDBF66-91DA-5B40-8B05-0D26541A****",
"TotalAttackCnt": 47,
"TopAttackTypeList": [
{
"AttackType": 2,
"AttackCnt": 38,
"ProtectCnt": 42
}
]
}
Error codes
|
HTTP status code |
Error code |
Error message |
Description |
|---|---|---|---|
| 400 | ErrorAliUid | Aliuid invalid. | The aliuid is invalid. |
| 400 | ErrorDBSelectError | A database select error occurred. | The error message returned because an internal error has occurred in querying the database. |
See Error Codes for a complete list.
Release notes
See Release Notes for a complete list.