DescribeNetworkLayerIntercepts - 查询原生防护实例的网络层拦截记录
查询原生防护网络层拦截记录
接口说明
本接口用于分页查询当前阿里云账号拥有的所有 DDoS 原生防护实例的 3、4 层报文拦截记录详情。
QPS 限制
本接口的单用户 QPS 限制为 10 次/秒。超过限制,API 调用将会被限流,这可能影响您的业务,请合理调用。
调试
您可以在OpenAPI Explorer中直接运行该接口,免去您计算签名的困扰。运行成功后,OpenAPI Explorer可以自动生成SDK代码示例。
调试
授权信息
请求语法
GET HTTP/1.1
请求参数
|
名称 |
类型 |
必填 |
描述 |
示例值 |
| InstanceId |
string |
是 |
要查询的防护包实例 ID。 |
ddosbgp-cn-z2q1qzxb**** |
| SrcIp |
string |
否 |
源 IP。 |
37.60.241.154 |
| DestinationIp |
string |
否 |
目的 IP。 |
47.118.170.18 |
| NetworkProtocol |
string |
否 |
网络协议。 |
tcp |
| SourcePort |
integer |
否 |
源端口。 |
5432 |
| DestinationPort |
integer |
否 |
目标端口。 |
8080 |
| StartTime |
integer |
是 |
要查询的 DDoS 攻击事件的开始时间。使用时间戳表示,单位:秒。 |
1557305044 |
| EndTime |
integer |
是 |
要查询的 DDoS 攻击事件的结束时间。使用时间戳表示,单位:秒。 |
1563445054 |
| Page |
integer |
否 |
翻页信息。 |
1 |
| PageSize |
integer |
否 |
分页查询时,设置每页包含拦截日志的数量。 |
10 |
| ProtocolNumber |
integer |
否 |
网络协议号,标准的网络协议号。 |
6 |
返回参数
|
名称 |
类型 |
描述 |
示例值 |
|
object |
Schema of Response |
||
| RequestId |
string |
Id of the request |
B4B379C2-9319-4C6B-B579-FE36831B09F4 |
| TotalCnt |
string |
当前过滤条件下的拦截日志总数。 |
17 |
| InterceptionRecordCount |
integer |
拦截日志记录的数量。 |
10 |
| InterceptionRecords |
array<object> |
拦截记录详情。 |
|
|
object |
|||
| SourceIp |
string |
源 IP。 |
183.224.38.37 |
| DestinationIp |
string |
目的 IP。 |
47.254.56.252 |
| NetworkProtocol |
string |
网络协议。 |
tcp |
| ProtocolNumber |
string |
网络协议号,标准的网络协议号。 |
6 |
| SourcePort |
string |
拦截日志的源端口。 |
9998 |
| DestinationPort |
string |
拦截日志的目的端口。 |
22 |
| InterceptStartTime |
integer |
拦截开始时间。 |
1778830500 |
| InterceptEndTime |
integer |
拦截结束时间。 |
1778830500 |
| InterceptAction |
string |
拦截动作。 |
drop |
| InterceptModule |
string |
报文拦截模块。 |
dip_blacklist |
| InterceptCount |
integer |
起止时间内的拦截次数。 |
1 |
示例
正常返回示例
JSON格式
{
"RequestId": "B4B379C2-9319-4C6B-B579-FE36831B09F4",
"TotalCnt": "17",
"InterceptionRecordCount": 10,
"InterceptionRecords": [
{
"SourceIp": "183.224.38.37",
"DestinationIp": "47.254.56.252",
"NetworkProtocol": "tcp",
"ProtocolNumber": "6",
"SourcePort": "9998",
"DestinationPort": "22",
"InterceptStartTime": 1778830500,
"InterceptEndTime": 1778830500,
"InterceptAction": "drop",
"InterceptModule": "dip_blacklist",
"InterceptCount": 1
}
]
}
错误码
访问错误中心查看更多错误码。
变更历史
更多信息,参考变更详情。