All Products
Search
Document Center

Edge Security Acceleration:DescribeDdosAllEventList

Last Updated:Sep 11, 2025

Queries a list of attack events.

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

dcdn:DescribeDdosAllEventList

get

*Domain

acs:dcdn:*:{#accountId}:domain/{#DomainName}

None None

Request parameters

Parameter

Type

Required

Description

Example

StartTime

string

Yes

The beginning of the time range to query. Specify the time in the ISO 8601 standard in the yyyy-MM-ddTHH:mm:ssZ format. The time must be in UTC.

2023-03-27T16:00:00Z

EndTime

string

No

The end of the time range to query. Specify the time in the ISO 8601 standard in the yyyy-MM-ddTHH:mm:ssZ format. The time must be in UTC. The end time must be later than the start time. The maximum time range that can be queried is 31 days.

2023-04-25T15:59:59Z

EventType

string

No

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

    • web-cc: web resource exhaustion attacks.

    • cc: connection flood attacks.

    • traffic: volumetric attacks.

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

web-cc

PageNumber

integer

Yes

The page number. Default value: 1. Valid values: 1 to 100000.

1

PageSize

integer

No

The number of entries per page. Default value: 10. Valid values: 5, 10, and 20.

10

Response elements

Element

Type

Description

Example

object

RequestId

string

The request ID.

D73A4243-CFBD-5110-876F-09237E77ECBD

Total

integer

The total number of entries returned.

20

PageNumber

integer

The page number. Default value: 1.

1

PageSize

integer

The number of entries per page. Default value: 10. Valid values: 5, 10, and 20.

10

DataList

array<object>

The list of events.

object

Target

string

The attack target.

example.com

StartTime

string

The beginning of the time range. The time is in the ISO 8601 standard in the yyyy-MM-ddTHH:mm:ssZ format. The time is displayed in UTC.

2022-10-09T10:03:31Z

EndTime

string

The end of the time range. The time is in the ISO 8601 standard in the yyyy-MM-ddTHH:mm:ssZ format. The time is displayed in UTC.

2022-11-26T15:59:00Z

EventType

string

The type of the DDoS attack event. Valid values:

  • web-cc: a web resource exhaustion attack.

  • cc: a connection flood attack.

  • traffic: a volumetric attack.

  • If this parameter is not set, all types of attack events are returned.

web-cc

Bps

integer

The peak BPS of the volumetric attack.

800

Pps

integer

The peak PPS of the volumetric attack.

12000

Cps

integer

The peak CPS of the connection flood attack.

50

Qps

integer

The peak queries per second (QPS) of the web resource exhaustion attack.

7692

EventId

string

The event ID.

28069

Examples

Success response

JSON format

{
  "RequestId": "D73A4243-CFBD-5110-876F-09237E77ECBD",
  "Total": 20,
  "PageNumber": 1,
  "PageSize": 10,
  "DataList": [
    {
      "Target": "example.com",
      "StartTime": "2022-10-09T10:03:31Z",
      "EndTime": "2022-11-26T15:59:00Z",
      "EventType": "web-cc",
      "Bps": 800,
      "Pps": 12000,
      "Cps": 50,
      "Qps": 7692,
      "EventId": "28069"
    }
  ]
}

Error codes

HTTP status code

Error code

Error message

Description

400 InvalidParameter The specified parameter is invalid. A parameter is set to an invalid value.
500 InternalError An internal error occurred; please try again later. An internal error occurred. Try again later. If the error persists, submit a ticket.

See Error Codes for a complete list.

Release notes

See Release Notes for a complete list.