All Products
Search
Document Center

Cloud Firewall:DescribeRiskEventTopAttackApp

Last Updated:Jan 07, 2026

Retrieves the ranking of applications that are targeted by intrusion prevention attacks.

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.

182.150.22.XXX

Lang

string

No

The language of the response.

Valid values:

  • en :

    English

  • zh :

    Chinese

zh

Lang

string

No

The language of the response.

Valid values:

  • en :

    English

  • zh :

    Chinese

zh

StartTime

string

Yes

The start time of the query. The value is a UNIX timestamp in seconds.

1656664560

EndTime

string

Yes

The end time of the query. The value is a UNIX timestamp in seconds.

1735784888

AttackType

string

No

The type of attack.

Valid values:

  • 0 :

    all

  • 3 :

    brute-force attack

  • 4 :

    scan

3

AttackApp

array

No

The list of attacked applications.

string

No

The list of attacked applications.

[ "MySQL", "Redis", "MemCached" ]

BuyVersion

string

No

The purchased edition.

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 ID of the request.

C9DDAD29-C6B3-5997-B757-FFB3F1C3****

AttackApps

array<object>

The list of attacked applications.

object

The list of attacked applications.

AttackCnt

integer

The number of attacks.

20

DropCnt

integer

The number of intercepted attacks.

15

App

string

The name of the application.

live

Examples

Success response

JSON format

{
  "RequestId": "C9DDAD29-C6B3-5997-B757-FFB3F1C3****",
  "AttackApps": [
    {
      "AttackCnt": 20,
      "DropCnt": 15,
      "App": "live"
    }
  ]
}

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.

See Error Codes for a complete list.

Release notes

See Release Notes for a complete list.