All Products
Search
Document Center

Dynamic Content Delivery Network:DescribeDdosAllEventList

Last Updated:Apr 11, 2024

Queries attack events.

Debugging

OpenAPI Explorer automatically calculates the signature value. For your convenience, we recommend that you call this operation in OpenAPI Explorer.

Authorization information

The following table shows the authorization information corresponding to the API. The authorization information can be used in the Action policy element to grant a RAM user or RAM role the permissions to call this API operation. Description:

  • Operation: the value that you can use in the Action element to specify the operation on a resource.
  • Access level: the access level of each operation. The levels are read, write, and list.
  • Resource type: the type of the resource on which you can authorize the RAM user or the RAM role to perform the operation. Take note of the following items:
    • The required resource types are displayed in bold characters.
    • If the permissions cannot be granted at the resource level, All Resources is used in the Resource type column of the operation.
  • Condition Key: the condition key that is defined by the cloud service.
  • Associated operation: other operations that the RAM user or the RAM role must have permissions to perform to complete the operation. To complete the operation, the RAM user or the RAM role must have the permissions to perform the associated operations.
OperationAccess levelResource typeCondition keyAssociated operation
dcdn:DescribeDdosAllEventListRead
  • All Resources
    *
    none
none

Request parameters

ParameterTypeRequiredDescriptionExample
StartTimestringYes

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
EndTimestringNo

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 is 31 days.

2023-04-25T15:59:59Z
EventTypestringNo

The type of the DDoS attack event to be queried. Valid values:

  • web-cc: resource exhaustion attacks
  • cc: connection flood attacks
  • traffic: volumetric attacks

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

web-cc
PageNumberintegerYes

The page number. Default value: 1. Value range: 1 to 10,000.

1
PageSizeintegerNo

The number of entries to return on each page. Default value: 10. Valid values: 5, 10, and 20.

10

Response parameters

ParameterTypeDescriptionExample
object
RequestIdstring

The request ID.

D73A4243-CFBD-5110-876F-09237E77ECBD
Totallong

The total number of entries returned.

20
PageNumberinteger

The number of the page to return. Default value: 1.

1
PageSizeinteger

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

10
DataListobject []

The list of events.

Targetstring

The attack target.

example.com
StartTimestring

The beginning of the time range during which data was queried. The time follows the ISO 8601 standard in the yyyy-MM-ddTHH:mm:ssZ format. The time is displayed in UTC.

2022-10-09T10:03:31Z
EndTimestring

The end of the time range during which data was queried. The time follows the ISO 8601 standard in the yyyy-MM-ddTHH:mm:ssZ format. The time is displayed in UTC.

2022-11-26T15:59:00Z
EventTypestring

The type of the DDoS attack event that was queried. Valid values:

  • web-cc: web resource exhaustion attacks
  • cc: connection flood attacks
  • traffic: volumetric attacks
  • If you do not configure this parameter, DDoS attack events of all types are queried.
web-cc
Bpslong

The peak attack traffic of volumetric attacks. Unit: bit/s.

800
Ppslong

The peak attack traffic of volumetric attacks. Unit: packets per second (PPS).

12000
Cpslong

The peak of connection flood attacks. Unit: connections per seconds (CPS).

50
Qpslong

The peak of web resource exhaustion attacks. Unit: queries per second (QPS).

7692
EventIdstring

The event ID.

28069

Examples

Sample success responses

JSONformat

{
  "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 codeError codeError messageDescription
400InvalidParameterThe specified parameter is invalid.A parameter is set to an invalid value.
500InternalErrorAn internal error occurred; please try again later.An internal error occurred. Try again later. If the error persists, submit a ticket.

For a list of error codes, visit the Service error codes.