hss__AddPolicy
Creates a Huawei Cloud HSS protection policy with a policy name, enabled detection rules, protection actions, and rule configuration for endpoint security management.
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": {
"policy_name": "<policy_name>",
"project_id": "<project_id>"
},
"name": "hss__AddPolicy"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| os_type | No | 操作系统类型,包含如下2种。 | |
| project_id | Yes | 项目ID | |
| policy_name | Yes | 策略名称 | |
| feature_list | No | 检测特性规则列表 | |
| enterprise_project_id | No | 企业项目ID,查询所有企业项目时填写:all_granted_eps | 0 |