更新时间:2025-05-26 GMT+08:00
设备监听安全态势感知配置变动
Topic
下行: $oc/devices/{device_id}/sys/properties/set/request_id={request_id}
下行响应参数说明
字段名 | 必选/可选 | 类型 | 参数描述 |
|---|---|---|---|
object_device_id | 可选 | String | 参数解释:
|
service | 必选 | List<ServiceProperty> | 参数解释: 设备服务数据列表。 |
ServiceProperty结构定义:
字段名 | 必选/可选 | 类型 | 参数描述 |
|---|---|---|---|
service_id | 可选 | String | 参数解释: 安全态势感知配置固定为:$security_detection_config |
properties | 必选 | 参数解释: 安全态势感知配置详情。 |
下行响应示例
Topic:$oc/devices/{device_id}/sys/properties/set/request_id={request_id}
数据格式:
{
"services": [{
"properties": {
"loginBruteForceCheck": 1,
"cpuUsageCheck": 1,
"cpuUsageThreshold": 80,
"cpuUsageCheckPeriod": 2,
"memoryCheck": 1,
"memoryThreshold": 80,
"memoryCheckReportPeriod": 24,
"batteryPercentageCheck": 1,
"batteryPercentageReportPeriod": 24,
"batteryPercentageThreshold": 20
},
"service_id": "$security_detection_config"
}]
}

