All Products
Search
Document Center

Cloud Firewall:DescribeRiskEventTopAttackAsset

Last Updated:Nov 12, 2025

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

Try this API in OpenAPI Explorer, no manual signing needed. Successful calls auto-generate SDK code matching your parameters. Download it with built-in credential security for local usage.

Test

RAM authorization

No authorization for this operation. If you encounter issues with this operation, contact technical support.

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:

  • en :

    English

  • zh :

    Chinese

zh

Lang

string

No

The language of the content that is returned.

Valid values:

  • en :

    English

  • zh :

    Chinese

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:

  • 2 :

    Premium Edition

  • 3 :

    Enterprise Edition

  • 4 :

    Ultimate Edition

  • 10 :

    Pay-as-you-go Edition

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.