设备类型豁免


此API用于列出您网络中所有临时豁免的设备类型。

 

  • 功能
  • 用于检索网络中临时豁免的设备类型。
  • HTTP方法 
  • GET
  • API URI
  • api/1.4/reports/dcm/devicetypeexemption
  • 过滤器
  • os_platform={Numeric}
    用于基于操作系统平台进行过滤
    1 - Windows
    2 - Mac


    status={Numeric}
    用于根据设备豁免状态过滤临时访问权限记录。
    0 - 尚未申请
    1 - 等待安排
    2 - 活跃
    3 - 已过期


    devicetype={Numeric}
    用于基于设备类型过滤设备。各设备类型对应的代码如下:
    2 - 生物识别
    3 - 蓝牙
    4 - CDROM
    5 - 磁盘驱动器
    9 - 软盘驱动器
    19 - 图像
    20 - 红外线
    21 - 键盘
    24 - 调制解调器
    26 - 鼠标
    37 - 打印机
    42 - 智能卡读卡器
    46 - 磁带驱动器
    49 - WPD
    100 - WPD_AppleDevices
    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": 2, 		"limit": 25, 		"page": 1, 		"dcm": [ 			{ 				"cr.domain_netbios_name": "WORKGROUP", 				"ur.name": "Administrator", 				"policy_id": 8703, 				"ta_type": 1, 				"duration_type": 1, 				"duration_to": 1737643300131, 				"cr.name": "EC2AMAZ-DS25S0F", 				"os_platform": 1, 				"allowed_devices": 2, 				"policy_name": "Access Name_2003", 				"is_agent_deployed_access": "[i18n]dc.common.SUCCESS[/i18n]", 				"device_type": "smp.dcm.removablestoragedevice", 				"applied_time": 1737639717393, 				"duration_from": 1737639700131, 				"duration": 60, 				"modified_time": 1737639714238 			}, 			{ 				"cr.domain_netbios_name": "macosgroup", 				"ur.name": "administrator", 				"policy_id": 8702, 				"ta_type": 1, 				"duration_type": 1, 				"duration_to": 1737643284239, 				"cr.name": "Darci", 				"os_platform": 2, 				"allowed_devices": 2, 				"policy_name": "Access Name_2354", 				"is_agent_deployed_access": "smp.status.ytdeploy", 				"device_type": "smp.dcm.removablestoragedevice", 				"applied_time": 0, 				"duration_from": 1737639684239, 				"duration": 60, 				"modified_time": 1737639694818 			} 		] 	}, 	"message_version": "1.4", 	"status": "success", 	"response_code": 200 }