hss__CreateClusterProtectionPolicy
Creates a cluster protection policy in Huawei Cloud HSS to define scan severity, response actions, and protected resources like clusters, namespaces, images, and whitelisted images.
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": {
"content": "<content>",
"parameters": "<parameters>",
"policy_description": "<policy_description>",
"policy_id": "<policy_id>",
"policy_name": "<policy_name>",
"project_id": "<project_id>",
"resources": "<resources>",
"template_id": "<template_id>",
"white_image_list": "<white_image_list>"
},
"name": "hss__CreateClusterProtectionPolicy"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| content | Yes | 策略内容 | |
| policy_id | Yes | 策略ID | |
| resources | Yes | 防护的资源信息 | |
| parameters | Yes | 策略参数值 | |
| project_id | Yes | **参数解释**: | |
| policy_name | Yes | 策略名称 | |
| template_id | Yes | 模板ID | |
| white_image_list | Yes | 白名单镜像 | |
| policy_description | Yes | 策略描述 | |
| enterprise_project_id | No | **参数解释**: | 0 |