BitLocker 报告
此 API 列出所有计算机驱动器及相关详细信息,如驱动器名称、驱动器大小、加密状态及百分比等。
- 功能
- 检索 BitLocker 报告详细列表。
- HTTP 方法
- GET
- API URI
- api/1.4/bitlocker/bitlockerreports
- 过滤器
- domainfilter={String}:
从 api/1.4/desktop/serverproperties 获取域列表
residfilter={Numeric}:
使用特定资源 ID 过滤 BitLocker 报告
- 响应参数
- encryption_status:
0 - 完全解密
1 - 完全加密
2 - 加密进行中
3 - 解密进行中
4 - 加密暂停
5 - 解密暂停
protection_status:
0 - 无保护
1 - 受保护
2 - 未知
volume_type:
0 - 操作系统驱动器
1 - 数据驱动器
lock_status:
0 - 未锁定
1 - 已锁定
encryption_method:
-1 - 未知
0 - 无
1 - AES_128_WITH_DIFFUSER
2 - AES_256_WITH_DIFFUSER
3 - AES_128
4 - AES_256
5 - 硬件加密
6 - XTS_AES_128
7 - XTS_AES_256
响应数据
{ "message_type": "bitlockerreports", "message_response": { "total": 1, "bitlockerreports": [ { "protection_status": 1, "volume_type": 0, "lock_status": 0, "encryption_method": 6, "device_id": "\\\\?\\Volume{********-****-****-****-************}\\", "persistent_volume_id": "{********-****-****-****-************}", "managedcomputer.friendly_name": "masked-hostname", "encryption_flag_id": 0, "domain_netbios_name": "masked-domain", "version": 2, "encryption_status": 1, "resource_id_string": "masked-id", "drive_size": 511100858368, "resource_id": "masked", "os_name": "Windows 11 Professional Edition (x64)", "resource_name": "masked-hostname", "customer_id": "masked", "bitlockerdrive.drive_letter": "C:" } ], "limit": 25, "page": 1 }, "message_version": "1.4", "status": "success", "response_code": 200 }
