该接口用于查询DDoS攻击事件列表。
调试
您可以在OpenAPI Explorer中直接运行该接口,免去您计算签名的困扰。运行成功后,OpenAPI Explorer可以自动生成SDK代码示例。
调试
授权信息
|
操作 |
访问级别 |
资源类型 |
条件关键字 |
关联操作 |
|
esa:DescribeDDoSAllEventList |
get |
*Site
|
无 | 无 |
请求参数
|
名称 |
类型 |
必填 |
描述 |
示例值 |
| StartTime |
string |
是 |
查询的起始时间。 日期格式按照 ISO8601 表示法,并使用 UTC+0 时间,格式为 yyyy-MM-ddTHH:mm:ssZ。 |
2023-02-12T15:00:00Z |
| EndTime |
string |
否 |
查询的结束时间。 日期格式按照 ISO8601 表示法,并使用 UTC+0 时间,格式为 yyyy-MM-ddTHH:mm:ssZ。 开始结束时间跨度最长不超过 31 天。 不设置该参数表示选取当前时间作为查询的结束时间。 |
2023-02-22T15:59:59Z |
| EventType |
string |
否 |
待查询的 DDoS 攻击事件的类型。取值:
不设置该参数表示查询 Web 资源耗尽型攻击事件。 |
web-cc |
| PageNumber |
integer |
是 |
页码。取值范围为:1~100000。 |
1 |
| PageSize |
integer |
否 |
分页大小。默认值:10,支持 5、10、20。 |
10 |
| SiteId |
integer |
是 |
站点 ID,可通过调用 ListSites 接口获取。 |
7096621098**** |
返回参数
|
名称 |
类型 |
描述 |
示例值 |
|
object |
Schema of Response |
||
| RequestId |
string |
请求 ID。 |
D73A4243-CFBD-5110-876F-09237E77ECBD |
| SiteId |
integer |
站点 ID。 |
7096621098**** |
| TotalCount |
integer |
查询结果总条数。 |
1 |
| PageNumber |
integer |
页码。 |
1 |
| PageSize |
integer |
分页大小。 |
10 |
| DataList |
array<object> |
DDoS 攻击事件信息列表。 |
|
|
object |
DDoS 攻击事件信息。 |
||
| Target |
string |
攻击目标。 |
example.com |
| TargetId |
string |
Web 资源耗尽型攻击目标 ID。 |
000000000155**** |
| StartTime |
string |
DDoS 攻击事件的起始时间。 日期格式按照 ISO8601 表示法,并使用 UTC+0 时间,格式为 yyyy-MM-ddTHH:mm:ssZ。 |
2023-02-12T15:00:00Z |
| EndTime |
string |
DDoS 攻击事件的结束时间。 日期格式按照 ISO8601 表示法,并使用 UTC+0 时间,格式为 yyyy-MM-ddTHH:mm:ssZ。 |
2023-02-12T15:59:59Z |
| EventType |
string |
待查询的 DDoS 攻击事件的类型。取值:
|
web-cc |
| Bps |
integer |
流量型攻击 BPS 峰值。 |
800 |
| Pps |
integer |
流量型攻击 PPS 峰值。 |
12000 |
| Cps |
integer |
连接型攻击 CPS 峰值。 |
50 |
| EventId |
string |
事件 ID。 |
web-cc_1 |
| Qps |
integer |
Web 资源耗尽型攻击 QPS 峰值。 |
7692 |
| Coverage |
string |
攻击区域。取值:
|
domestic |
| EventResult |
string |
事件结果。取值:
|
clean |
示例
正常返回示例
JSON格式
{
"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"
}
]
}
错误码
|
HTTP status code |
错误码 |
错误信息 |
描述 |
|---|---|---|---|
| 400 | InvalidParameter | The specified parameter is invalid. | 输入参数规范校验失败。 |
| 500 | InternalError | Failed to call the service. Try again later or contact technical support. | 调用服务失败,请稍后重试或联系客服咨询详情。 |
访问错误中心查看更多错误码。
变更历史
更多信息,参考变更详情。