根据域名查询 Web 攻击次数趋势,包括攻击次数、回源次数和入向次数。
参数 | 类型 | 是否必选 | 示例值 | 描述 |
---|---|---|---|---|
Action | String | 是 | DescWebAtkStatistics | 接口名称。当前 API 的名称为 DescWebAtkStatistics 。 |
Version | String | 是 | 2021-06-15 | 接口版本。当前 API 的版本为 2021-06-15 。 |
参数 | 类型 | 是否必选 | 示例值 | 描述 |
---|---|---|---|---|
BeginTime | Integer | 否 |
|
|
EndTime | Integer | 否 |
|
|
Hosts | Array of String | 是 | ["www.host.com"] | 域名列表。 |
参数 | 类型 | 示例值 | 描述 |
---|---|---|---|
AttackFlow | Array of ReqCountFlowItem | -- | 攻击次数趋势。 |
BackSrcFlow | Array of ReqCountFlowItem | -- | 回源请求次数趋势。 |
InQueryFlow | Array of ReqCountFlowItem | -- | 入向请求次数趋势。 |
参数 | 类型 | 示例值 | 描述 |
---|---|---|---|
Count | Integer | 12 | 次数 |
TimeStamp | Integer | 1718352000 | 时间戳,秒级 |
POST https://open.volcengineapi.com/?Action=DescWebAtkStatistics&Version=2021-06-15 Host: https://open.volcengineapi.com Content-Type: application/json; charset=UTF-8 X-Date: 20240610T082509Z X-content-Sha256: 287e874e******d653b44d21e Authorization: HMAC-SHA256 Credential=Adfks******wekfwe/20240610/cn-beijing/AdvDefence/request, SignedHeaders=host;x-content-sha256;x-date, Signature=47a7d934ff7b37c03938******cd7b8278a40a1057690c401e92246a0e41085f { "BeginTime": 1720699800, "EndTime": 1720708800, "Hosts": [ "www.host.com" ] }
{ "ResponseMetadata": { "RequestId": "20240712165934****795CD3D228E824D3", "Action": "DescWebAtkStatistics", "Version": "2021-06-15", "Service": "AdvDefence", "Region": "cn-beijing" }, "Result": { "InQueryFlow": [ { "TimeStamp": 1720699800, "Count": 4 }, //此处省略若干节点。 { "TimeStamp": 1720708800, "Count": 3 } ], "BackSrcFlow": [ { "TimeStamp": 1720699800, "Count": 4 }, //此处省略若干节点。 { "TimeStamp": 1720708800, "Count": 3 } ], "AttackFlow": [ { "TimeStamp": 1720699800, "Count": 0 }, //此处省略若干节点。 { "TimeStamp": 1720708800, "Count": 0 } ] } }