hss__ListImageVulnerabilities
Query vulnerability details for a container image by image ID, name, type, namespace, project, and tag. Use it to review HSS scan findings, filter by type or repair necessity, and guide remediation.
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": {
"image_id": "<image_id>",
"image_name": "<image_name>",
"image_type": "<image_type>",
"namespace": "<namespace>",
"project_id": "<project_id>",
"tag_name": "<tag_name>"
},
"name": "hss__ListImageVulnerabilities"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| type | No | 漏洞类型,包含如下: | |
| limit | No | 每页显示数量 | |
| offset | No | 偏移量:指定返回记录的开始位置 | |
| vul_id | No | 漏洞ID(支持模糊查询) | |
| app_name | No | 软件名 | |
| image_id | Yes | 镜像id | |
| tag_name | Yes | 镜像版本 | |
| namespace | Yes | 组织名称 | |
| image_name | Yes | 镜像名称 | |
| image_type | Yes | 镜像类型,包含如下: | |
| project_id | Yes | 项目ID | |
| instance_id | No | 企业仓库实例ID,swr共享版无需使用该参数 | |
| repair_necessity | No | 危险程度,包含如下3种。 | |
| enterprise_project_id | No | 主机所属的企业项目ID。 | 0 |