All Products
Search
Document Center

Anti-DDoS:DescribeDDosAllEventList

Last Updated:Jul 13, 2026

Queries the list of DDoS attack events.

Operation description

This operation is used to query the list of DDoS attack events within a specified time range by using paging. DDoS attack events contain the following information: attack start time and end time, attack type, attacked object, and peak attack traffic (peak bandwidth or peak packet forwarding rate).

Rate limit

The single-user QPS limit for this operation is 10 calls per second. If the limit is exceeded, API calls are throttled, which may affect your business. Invoke this operation at an appropriate frequency.

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: web resource exhaustion attack.

  • cc: connection flood attack.

  • defense: volumetric attack (scrubbing event).

  • blackhole: volumetric attack (blackhole filtering event).

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

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

defense

StartTime

integer

Yes

The beginning of the time range to query. DDoS attack events that occurred after StartTime are queried. Specify a UNIX timestamp. Unit: seconds.

Note

StartTime can specify only events within the last three months.

1609430400

EndTime

integer

Yes

The end of the time range to query. DDoS attack events that occurred before EndTime are queried. Specify a UNIX timestamp. Unit: seconds.

Note

EndTime can specify only events within the last three months.

1640966399

PageNumber

integer

Yes

The page number to return in a paging query.

1

PageSize

integer

Yes

The number of attack events to return on each page in a paging query.

10

Ip

string

No

The IP address of the Anti-DDoS Pro or Anti-DDoS Premium instance to query.

192.168.1.1

When you call this operation, you must include Alibaba Cloud common request parameters in addition to the request parameters described in this topic. For more information about common request parameters, 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 attack events returned.

1

RequestId

string

The request ID.

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

AttackEvents

array<object>

The list of attack events.

object

EndTime

integer

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

1634546030

StartTime

integer

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

1634543764

EventType

string

The type of the DDoS attack event. Valid values:

  • web-cc: web resource exhaustion attack.

  • cc: connection flood attack.

  • defense: volumetric attack (scrubbing event).

  • blackhole: volumetric attack (blackhole filtering event).

cc

Mbps

integer

The peak bandwidth of the attack traffic. Unit: Mbit/s.

101899

Ip

string

The attacked object. The attacked object varies based on the attack event type:

  • Web resource exhaustion attack (EventType is web-cc): this parameter indicates the attacked website domain name.

  • Connection flood attack (EventType is cc): this parameter indicates the attacked IP address of the Anti-DDoS Pro or Anti-DDoS Premium instance.

  • Volumetric attack (EventType is defense or blackhole): this parameter indicates the attacked IP address of the Anti-DDoS Pro or Anti-DDoS Premium instance.

203.107.XX.XX

Area

string

The source region of the attack. 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 applies only to Anti-DDoS Pro and Anti-DDoS Premium secure acceleration line instances.

cn

Port

string

The attacked port number.

Note

This parameter is not returned for web resource exhaustion attacks (EventType is web-cc).

80

Pps

integer

The peak packet forwarding rate of the attack traffic. Unit: 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.