hss__AddProtectionPolicy
Creates a Host Security Service protection policy that defines protected directories, file types, OS, and protection mode for hosts.
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": {
"operating_system": "<operating_system>",
"policy_name": "<policy_name>",
"project_id": "<project_id>",
"protection_directory": "<protection_directory>",
"protection_mode": "<protection_mode>",
"protection_type": "<protection_type>"
},
"name": "hss__AddProtectionPolicy"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| project_id | Yes | **参数解释**: | |
| deploy_mode | No | 是否开启动态诱饵,包含如下2种, 默认为关闭防护动态诱饵防护。 | |
| policy_name | Yes | 策略名称 | |
| protection_mode | Yes | 防护动作,包含如下2种。 | |
| protection_type | Yes | 防护文件类型,例如:docx,txt,avi | |
| operating_system | Yes | 操作系统,包含如下: | |
| exclude_directory | No | 排除目录(选填),多个目录请用英文分号隔开,最多支持填写20个排除目录 | |
| process_whitelist | No | 进程白名单 | |
| ai_protection_status | No | 是否开启AI勒索防护,包含如下2种, 默认为关闭AI勒索防护,当前只支持Windows防护策略 | |
| protection_directory | Yes | 防护目录,多个目录请用英文分号隔开,最多支持填写20个防护目录 | |
| enterprise_project_id | No | **参数解释**: | 0 |