Mengambil daftar Peristiwa serangan DDoS.
Coba sekarang
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
esa:DescribeDDoSAllEventList |
get |
*Site
|
None | None |
Parameter permintaan
|
Parameter |
Type |
Required |
Description |
Example |
| StartTime |
string |
Yes |
Waktu mulai kueri. Pengatur waktu harus dalam format ISO 8601 dan UTC. Format: |
2023-02-12T15:00:00Z |
| EndTime |
string |
No |
Waktu akhir kueri. Pengatur waktu harus dalam format ISO 8601 dan UTC. Format: Jika parameter ini tidak ditentukan, nilai defaultnya adalah pengatur waktu saat ini. |
2023-02-22T15:59:59Z |
| EventType |
string |
No |
Tipe Peristiwa serangan DDoS yang akan dikueri. Nilai valid:
Jika parameter ini tidak ditentukan, operasi akan mengkueri Peristiwa serangan |
web-cc |
| PageNumber |
integer |
Yes |
Nomor halaman yang akan dikembalikan. Rentang valid: 1 hingga 100000. |
1 |
| PageSize |
integer |
No |
Jumlah entri per halaman. Nilai default: 10. Nilai valid: 5, 10, dan 20. |
10 |
| SiteId |
integer |
Yes |
ID situs. Anda dapat memperoleh ID ini dengan memanggil operasi ListSites. |
7096621098**** |
Elemen respons
|
Element |
Type |
Description |
Example |
|
object |
The data returned. |
||
| 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 |
Contoh
Respons sukses
JSONformat
{
"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"
}
]
}
Kode kesalahan
|
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. |
Lihat Error Codes untuk daftar lengkap.
Catatan rilis
Lihat Release Notes untuk daftar lengkap.