hss__ChangeVulScanPolicy
Update a Huawei Cloud HSS vulnerability scan policy to set scanning period, range, hosts, vulnerability types, and status, keeping vulnerability detection aligned with your environment.
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>",
"scan_period": "<scan_period>",
"scan_range_type": "<scan_range_type>",
"status": "<status>"
},
"name": "hss__ChangeVulScanPolicy"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| status | Yes | 扫描策略状态,包含如下: | |
| host_ids | No | 主机ID列表;当scan_range_type的值为specific_host时必填 | |
| project_id | Yes | 项目ID | |
| scan_period | Yes | 扫描周期 | |
| scan_vul_types | No | 扫描的漏洞类型列表 | |
| scan_range_type | Yes | 扫描主机的范围,包含如下: | |
| enterprise_project_id | No | 主机所属的企业项目ID。 | 0 |