hss__UpdatePolicy
Updates an HSS protection policy's name, enabled detection rules, protection actions, and rule settings, then applies the revised policy to associated servers.
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": {
"feature_list": "<feature_list>",
"policy_id": "<policy_id>",
"policy_name": "<policy_name>",
"project_id": "<project_id>"
},
"name": "hss__UpdatePolicy"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| policy_id | Yes | 策略ID | |
| project_id | Yes | 项目ID | |
| policy_name | Yes | 策略名称 | |
| feature_list | Yes | 检测特性规则列表 | |
| enterprise_project_id | No | 企业项目ID,查询所有企业项目时填写:all_granted_eps | 0 |