hss__ListImageRiskConfigRules
Retrieves the list of check rules for a specified image security configuration baseline, letting you filter by image, severity, standard, and result type.
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": {
"check_name": "<check_name>",
"image_type": "<image_type>",
"project_id": "<project_id>",
"standard": "<standard>"
},
"name": "hss__ListImageRiskConfigRules"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| limit | No | 每页显示数量 | |
| offset | No | 偏移量:指定返回记录的开始位置 | |
| image_id | No | 镜像id | |
| severity | No | 风险等级,包含如下: | |
| standard | Yes | 标准类型,包含如下: | |
| namespace | No | 组织名称(没有镜像相关信息时,表示查询所有镜像) | |
| check_name | Yes | 基线名称 | |
| image_name | No | 镜像名称 | |
| image_type | Yes | 镜像类型,包含如下: | |
| project_id | Yes | 项目ID | |
| instance_id | No | 企业仓库实例ID,swr共享版无需使用该参数 | |
| result_type | No | 结果类型,包含如下: | unhandled |
| image_version | No | 镜像版本名称 | |
| check_rule_name | No | 检查项名称,支持模糊匹配 | |
| enterprise_project_id | No | 主机所属的企业项目ID。 | 0 |