All Products
Search
Document Center

Anti-DDoS:DescribeDDosAllEventList

Last Updated:Nov 25, 2025

Queries a list of DDoS attack events.

Operation description

You can call this operation to query a paginated list of DDoS attack events that occurred within a specified time range. A DDoS attack event includes details such as the start and end times, attack type, attacked object, and the peak attack traffic. The peak attack traffic can be the peak bandwidth or packet forwarding rate.

QPS limits

This operation has a queries per second (QPS) limit of 10 for each user. If you exceed this limit, API calls are throttled, which can affect your business. Make sure to call this operation within this limit.

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

The table below describes the authorization required to call this API. You can define it in a Resource Access Management (RAM) policy. The table's columns are detailed below:

  • Action: The actions can be used in the Action element of RAM permission policy statements to grant permissions to perform the operation.

  • API: The API that you can call to perform the action.

  • Access level: The predefined level of access granted for each API. Valid values: create, list, get, update, and delete.

  • Resource type: The type of the resource that supports authorization to perform the action. It indicates if the action supports resource-level permission. The specified resource must be compatible with the action. Otherwise, the policy will be ineffective.

    • For APIs with resource-level permissions, required resource types are marked with an asterisk (*). Specify the corresponding Alibaba Cloud Resource Name (ARN) in the Resource element of the policy.

    • For APIs without resource-level permissions, it is shown as All Resources. Use an asterisk (*) in the Resource element of the policy.

  • Condition key: The condition keys defined by the service. The key allows for granular control, applying to either actions alone or actions associated with specific resources. In addition to service-specific condition keys, Alibaba Cloud provides a set of common condition keys applicable across all RAM-supported services.

  • Dependent action: The dependent actions required to run the action. To complete the action, the RAM user or the RAM role must have the permissions to perform all dependent actions.

Action

Access level

Resource type

Condition key

Dependent action

yundun-ddoscoo:DescribeDDosAllEventList

get

*All Resource

*

None None

Request parameters

Parameter

Type

Required

Description

Example

EventType

string

No

The type of DDoS attack event to query. Valid values:

  • web-cc: a resource exhaustion attack on a website.

  • cc: a connection flood attack.

  • defense: a volumetric attack (scrubbing event).

  • blackhole: a volumetric attack (blackhole filtering event).

You can specify multiple event types. Separate them with commas (,).

If you do not set this parameter, all types of attack events are queried.

defense

StartTime

integer

Yes

The start time of the DDoS attack events to query. The operation queries events that occurred after this time. This is a UNIX timestamp. Unit: seconds.

1609430400

EndTime

integer

Yes

The end time of the DDoS attack events to query. The operation queries events that occurred before this time. This is a UNIX timestamp. Unit: seconds.

1640966399

PageNumber

integer

Yes

The number of the page to return for a paged query.

1

PageSize

integer

Yes

The number of attack events to return on each page.

10

In addition to the parameters specific to this operation, you must also specify common request parameters. For more information, see Common parameters.

For the request format, see the request example in the Examples section of this topic.

Response elements

Element

Type

Description

Example

object

Total

integer

The total number of queried attack events.

1

RequestId

string

The ID of the request.

25D83ED5-28CB-5683-9CF7-AECE521F3005

AttackEvents

array<object>

The list of attack events.

object

EndTime

integer

The end time of the attack. This is a UNIX timestamp. Unit: seconds.

1634546030

StartTime

integer

The start time of the attack. This is a UNIX timestamp. Unit: seconds.

1634543764

EventType

string

The type of the DDoS attack event. Valid values:

  • web-cc: a resource exhaustion attack on a website.

  • cc: a connection flood attack.

  • defense: a volumetric attack (scrubbing event).

  • blackhole: a volumetric attack (blackhole filtering event).

cc

Mbps

integer

The peak bandwidth of the attack traffic. Unit: Mbps.

101899

Ip

string

The attacked object. The value of this parameter varies based on the value of EventType.

  • If EventType is web-cc, this parameter indicates the domain name of the attacked website.

  • If EventType is cc, this parameter indicates the attacked Anti-DDoS Pro or Anti-DDoS Premium instance.

  • If EventType is defense or blackhole, this parameter indicates the attacked Anti-DDoS Pro or Anti-DDoS Premium instance.

203.107.XX.XX

Area

string

The region from which the attack was initiated. Valid values:

  • cn: the Chinese mainland.

  • alb-cn-hongkong-gf-2: Hong Kong (China).

  • alb-us-west-1-gf-2: US (Silicon Valley).

  • alb-ap-northeast-1-gf-1: Japan (Tokyo).

  • alb-ap-southeast-gf-1: Singapore.

  • alb-eu-central-1-gf-1: Germany (Frankfurt).

  • alb-eu-west-1-gf-1 and selb-eu-west-1-gf-1a: UK (London).

  • alb-us-east-gf-1: US (Virginia).

  • CT-yundi: Hong Kong (China). This value is returned only for Anti-DDoS Premium instances that use the Sec-MCA feature.

cn

Port

string

The attacked port.

Note

This parameter is not returned if EventType is set to web-cc.

80

Pps

integer

The peak packet forwarding rate of the attack traffic. Unit: packets per second (pps).

9664270

Examples

Success response

JSON format

{
  "Total": 1,
  "RequestId": "25D83ED5-28CB-5683-9CF7-AECE521F3005",
  "AttackEvents": [
    {
      "EndTime": 1634546030,
      "StartTime": 1634543764,
      "EventType": "cc",
      "Mbps": 101899,
      "Ip": "203.107.XX.XX",
      "Area": "cn",
      "Port": "80",
      "Pps": 9664270
    }
  ]
}

Error codes

See Error Codes for a complete list.

Release notes

See Release Notes for a complete list.