Queries DDoS attack events for a specified site within a given time range.
Try it now
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
esa:DescribeDDoSAllEventList |
get |
*Site
|
None | None |
Request parameters
|
Parameter |
Type |
Required |
Description |
Example |
| StartTime |
string |
Yes |
The start time of the query. The time must be in ISO 8601 format and in UTC. Format: |
2023-02-12T15:00:00Z |
| EndTime |
string |
No |
The end time of the query. The time must be in ISO 8601 format and in UTC. Format: Defaults to the current time. |
2023-02-22T15:59:59Z |
| EventType |
string |
No |
The type of DDoS attack events to query. Valid values:
Defaults to |
web-cc |
| PageNumber |
integer |
Yes |
The page number to return. Valid range: 1 to 100000. |
1 |
| PageSize |
integer |
No |
The number of entries per page. Default value: 10. Valid values: 5, 10, and 20. |
10 |
| SiteId |
integer |
Yes |
The site ID. Obtain this value from the ListSites operation. |
7096621098**** |
Response elements
|
Element |
Type |
Description |
Example |
|
object |
The response object. |
||
| RequestId |
string |
The request ID. |
D73A4243-CFBD-5110-876F-09237E77ECBD |
| SiteId |
integer |
The site ID. |
7096621098**** |
| TotalCount |
integer |
The total number of entries returned. |
1 |
| PageNumber |
integer |
The page number. |
1 |
| PageSize |
integer |
The page size. |
10 |
| DataList |
array<object> |
A list of DDoS attack event details. |
|
|
object |
Details of a DDoS attack event. |
||
| Target |
string |
The attack target. |
example.com |
| TargetId |
string |
The ID of the attack target. |
000000000155**** |
| StartTime |
string |
The start time of the DDoS attack event. The time is in the |
2023-02-12T15:00:00Z |
| EndTime |
string |
The end time of the DDoS attack event. The time is in the |
2023-02-12T15:59:59Z |
| EventType |
string |
The type of the DDoS attack event. Valid values:
|
web-cc |
| Bps |
integer |
The peak bits per second (Bps) of a volumetric attack. |
800 |
| Pps |
integer |
The peak packets per second (Pps) of a volumetric attack. |
12000 |
| Cps |
integer |
The peak connections per second (Cps) of a connection-based attack. |
50 |
| EventId |
string |
The event ID. |
web-cc_1 |
| Qps |
integer |
The peak queries per second (Qps) of a web resource exhaustion attack. |
7692 |
| Coverage |
string |
The attack region. Valid values:
|
domestic |
| EventResult |
string |
The event result. Valid values:
|
clean |
Examples
Success response
JSON format
{
"RequestId": "D73A4243-CFBD-5110-876F-09237E77ECBD",
"SiteId": 0,
"TotalCount": 1,
"PageNumber": 1,
"PageSize": 10,
"DataList": [
{
"Target": "example.com",
"TargetId": "000000000155****",
"StartTime": "2023-02-12T15:00:00Z",
"EndTime": "2023-02-12T15:59:59Z",
"EventType": "web-cc",
"Bps": 800,
"Pps": 12000,
"Cps": 50,
"EventId": "web-cc_1",
"Qps": 7692,
"Coverage": "domestic",
"EventResult": "clean"
}
]
}
Error codes
|
HTTP status code |
Error code |
Error message |
Description |
|---|---|---|---|
| 400 | InvalidParameter | The specified parameter is invalid. | The specified parameter is invalid. |
| 500 | InternalError | Failed to call the service. Try again later or contact technical support. | Failed to call the service. Try again later or contact technical support. |
See Error Codes for a complete list.
Release notes
See Release Notes for a complete list.