Queries the top assets targeted by attacks.
Operation description
QPS limits
You can make up to 10 queries per second (QPS) to this API. If you exceed this limit, your API calls are throttled. This may affect your business. Plan your calls accordingly.
Try it now
Test
RAM authorization
Request parameters
|
Parameter |
Type |
Required |
Description |
Example |
| SourceIp |
string |
No |
The source IP address of the visitor. |
125.33.253.XX |
| Lang |
string |
No |
The language of the content that is returned. Valid values:
|
zh |
| Lang |
string |
No |
The language of the content that is returned. Valid values:
|
zh |
| StartTime |
string |
Yes |
The start of the time range to query. The value is a UNIX timestamp. Unit: seconds. |
1754273436 |
| EndTime |
string |
Yes |
The end of the time range to query. The value is a UNIX timestamp. Unit: seconds. |
1742955867 |
| AttackType |
string |
No |
The type of the attack application. |
3 |
| AttackApp |
array |
No |
The list of attack applications. |
|
|
string |
No |
The list of attack applications. |
[ "MySQL", "Redis", "MemCached" ] |
|
| BuyVersion |
string |
No |
The edition of Cloud Firewall. Valid values:
|
10 |
Response elements
|
Element |
Type |
Description |
Example |
|
object |
|||
| RequestId |
string |
The request ID. |
B9BF7C33-9A23-5096-8568-A3DACAF0**** |
| Assets |
array<object> |
The statistics of the assets. |
|
|
object |
The statistics of the assets. |
||
| ResourceInstanceName |
string |
The name of the resource instance. |
test_resource |
| ResourceType |
string |
The type of the resource instance. |
EcsPublicIP |
| ResourceInstanceId |
string |
The ID of the asset instance. |
i-8vbdrjrxzt78**** |
| RegionNo |
string |
The region ID. |
cn-chengdu |
| Ip |
string |
The IP address. |
10.3.54.XXX |
| AttackCnt |
integer |
The number of attacks. |
12 |
| DropCnt |
integer |
The number of dropped attempts. |
8 |
Examples
Success response
JSON format
{
"RequestId": "B9BF7C33-9A23-5096-8568-A3DACAF0****",
"Assets": [
{
"ResourceInstanceName": "test_resource",
"ResourceType": "EcsPublicIP",
"ResourceInstanceId": "i-8vbdrjrxzt78****",
"RegionNo": "cn-chengdu",
"Ip": "10.3.54.XXX",
"AttackCnt": 12,
"DropCnt": 8
}
]
}
Error codes
|
HTTP status code |
Error code |
Error message |
Description |
|---|---|---|---|
| 400 | ErrorAliUid | Aliuid invalid. | The aliuid is invalid. |
| 400 | ErrorParameters | A parameter error occurred. | A parameter error occurred. |
| 400 | ErrorTimeError | The time is invalid. | The time is invalid. |
| 400 | ErrorDBSelectError | A database select error occurred. | The error message returned because an internal error has occurred in querying the database. |
| 400 | InternalError | The request processing has failed due to some unknown error. | Request processing failed due to some unknown error. |
See Error Codes for a complete list.
Release notes
See Release Notes for a complete list.