设备免除
此API用于列出您网络中所有临时免除的设备。
- 功能
- 获取网络中所有临时免除设备的列表。
- HTTP 方法
- GET
- API URI
- api/1.4/reports/dcm/deviceexemption
- 过滤器
- os_platform={Numeric}
根据操作系统平台进行过滤
1 - Windows
2 - Mac
status={Numeric}
根据设备免除状态过滤临时访问权限记录。
0 - 尚未申请
1 - 等待计划
2 - 活跃
3 - 已过期
devicetype={Numeric}
根据设备类型过滤设备。以下为各设备类型对应的代码:
2 - 生物识别
3 - 蓝牙
4 - CD光驱
5 - 磁盘驱动器
9 - 软盘驱动器
19 - 图像设备
20 - 红外线设备
21 - 键盘
24 - 调制解调器
26 - 鼠标
37 - 打印机
42 - 智能卡读卡器
46 - 磁带驱动器
49 - WPD
100 - WPD_苹果设备
102 - 串口(COM)
103 - 并口(LPT)
104 - 无线网卡
period={Numeric}
可根据时间段过滤
0 - 本周
1 - 本月
2 - 本年
3 - 上周
4 - 上月
5 - 过去两个月
6 - 过去三个月
7 - 过去六个月
8 - 过去九个月
9 - 去年
domain={String}
可根据域名过滤记录。
- 分页
- page={Numeric}
用于跳转到指定页面。此字段表示当前页码。
pagelimit={Numeric}
指定每页显示的记录数。
- 响应参数
- duration_type
表示最新临时访问会话的持续时间类型。
1 - 固定
2 - 窗口
duration
访问持续时间,单位为分钟。
所有时间均为epoch长整型格式。
响应数据
{
"message_type": "dcm",
"message_response": {
"total": 1,
"limit": 25,
"page": 1,
"dcm": [
{
"custom_device_name": "--",
"cr.domain_netbios_name": "WORKGROUP",
"ur.name": "All Users Group",
"policy_id": 9004,
"ta_type": 1,
"managedcomputer.friendly_name": "EC2AMAZ-DS25S0F ec29c965-e000-0252-737a-118cb46b706d",
"duration_type": 1,
"duration_to": 1737666336767,
"cr.name": "EC2AMAZ-DS25S0F",
"vendor_hex_id": "--",
"os_platform": 1,
"allowed_devices": 0,
"policy_name": "Access Name_4332",
"is_agent_deployed_access": "[i18n]dc.common.SUCCESS[/i18n]",
"device_type": "smp.dcm.removablestoragedevice",
"serial_number": "sdfsfsgssfdgsfgsdgsdgsdgs",
"applied_time": 1737662779325,
"duration_from": 1737662736767,
"duration": 60,
"modified_time": 1737662776674,
"product_hex_id": "--",
"parent_device_instance_id": "--"
}
]
},
"message_version": "1.4",
"status": "success",
"response_code": 200
}
