分页查询终端的互联网访问日志
接口说明
分页查询当前租户下终端的互联网访问日志(上网行为全量记录)。
调试
您可以在OpenAPI Explorer中直接运行该接口,免去您计算签名的困扰。运行成功后,OpenAPI Explorer可以自动生成SDK代码示例。
调试
授权信息
请求参数
|
名称 |
类型 |
必填 |
描述 |
示例值 |
| CurrentPage |
integer |
否 |
当前页码。 |
1 |
| PageSize |
integer |
否 |
分页查询时设置的每页数量。取值:1~1000。 |
10 |
| StartTime |
integer |
否 |
查询起始时间,Unix 时间戳(秒)。 |
1754870400 |
| EndTime |
integer |
否 |
查询结束时间,Unix 时间戳(秒)。 |
1754956800 |
| UserName |
string |
否 |
用户名,精确匹配。 |
zhangsan |
| Department |
string |
否 |
部门,精确匹配。 |
IT department |
| PolicyType |
string |
否 |
按策略类型过滤。 |
la_domain_white |
| RemoteHost |
string |
否 |
访问的目标域名,精确匹配。 |
www.example.com |
| BlockAction |
string |
否 |
命中动作,精确匹配。 枚举值:
|
Block |
返回参数
|
名称 |
类型 |
描述 |
示例值 |
|
object |
Schema of Response |
||
| RequestId |
string |
Id of the request |
019F68B6-A17E-5ECD-B053-820242E5ADBF |
| TotalNum |
integer |
符合条件的总记录数。 |
122 |
| AccessLogs |
array<object> |
访问记录列表。 |
|
|
object |
|||
| EventTime |
string |
事件时间。 |
2026-08-10 14:03:22 |
| BlockAction |
string |
命中动作。 |
WhiteList |
| Username |
string |
用户名。 |
zhangsan |
| Department |
string |
部门。 |
IT department |
| DestAddress |
string |
访问的目标 URL。 |
https://www.example.com/a |
| RemoteHost |
string |
目标域名。 |
www.example.com |
| RemoteAddress |
string |
目标 IP 地址。 |
1.2.3.4 |
| RemotePort |
string |
目标端口。 |
443 |
| ProcessName |
string |
发起访问的客户端进程名。 |
chrome.exe |
| SrcAddress |
string |
客户端源地址。 |
10.0.0.5 |
| L4ProtocolType |
string |
四层协议类型。 |
tcp |
示例
正常返回示例
JSON格式
{
"RequestId": "019F68B6-A17E-5ECD-B053-820242E5ADBF",
"TotalNum": 122,
"AccessLogs": [
{
"EventTime": "2026-08-10 14:03:22",
"BlockAction": "WhiteList",
"Username": "zhangsan",
"Department": "IT department",
"DestAddress": "https://www.example.com/a",
"RemoteHost": "www.example.com",
"RemoteAddress": "1.2.3.4",
"RemotePort": "443",
"ProcessName": "chrome.exe",
"SrcAddress": "10.0.0.5",
"L4ProtocolType": "tcp"
}
]
}
错误码
访问错误中心查看更多错误码。
变更历史
更多信息,参考变更详情。