hss__ListHostStatus
Lists cloud servers protected by HSS and returns host security status, with filters for host, agent, protection, vulnerability, baseline, and intrusion details.
Instructions
[HSS] 查询云服务器列表
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"project_id": "<project_id>"
},
"name": "hss__ListHostStatus"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| label | No | 资产标签 | |
| limit | No | 每页显示数量 | |
| offset | No | 偏移量:指定返回记录的开始位置 | |
| vpc_id | No | vpc id | |
| has_vul | No | 存在漏洞风险 | |
| host_id | No | 服务器ID | |
| ip_addr | No | 公网或私网IP | |
| os_type | No | 操作系统类型,包含如下2种。 | |
| refresh | No | 是否强制从ECS同步主机 | |
| version | No | 主机开通的版本,包含如下7种输入。 | |
| group_id | No | 服务器组ID | |
| sort_dir | No | 排序的顺序 | |
| sort_key | No | 排序字段,只支持risk_num | |
| host_name | No | 服务器名称 | |
| incluster | No | 是否集群内节点 | |
| public_ip | No | 服务器公网IP | |
| cluster_id | No | 集群ID | |
| group_name | No | 服务器组名称 | |
| private_ip | No | 服务器私有IP | |
| project_id | Yes | 项目ID | |
| asset_value | No | 资产重要性,包含如下4种 | |
| binding_key | No | 是否绑定DEW密钥 | |
| host_status | No | 主机状态,包含如下4种。 | |
| agent_status | No | Agent的状态分为两类: | |
| has_baseline | No | 存在基线风险 | |
| install_mode | No | 是否安装模式场景 | |
| outside_host | No | 是否华为云主机 | |
| server_group | No | 资产服务器组 | |
| above_version | No | 是否返回比当前版本高的所有版本 | |
| charging_mode | No | 收费模式,包含如下2种。 | |
| detect_result | No | 检测结果,包含如下4种。 | |
| has_intrusion | No | 存在告警事件 | |
| protect_status | No | 防护状态,包含如下2种。 | |
| policy_group_id | No | 策略组ID | |
| agent_upgradable | No | agent是否可升级 | |
| policy_group_name | No | 策略组名称 | |
| protect_interrupt | No | 是否防护中断 | |
| protect_degradation | No | 是否防护降级 | |
| enterprise_project_id | No | 主机所属的企业项目ID。 | 0 |
| get_common_login_locations | No | 是否获取主机常用登录地信息 |