hss__CreateAntiVirusPolicy
Create a custom HSS antivirus scan policy with target hosts, file types, scan schedule, excluded directories, and response actions for automated threat checks.
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": {
"action": "<action>",
"file_types": "<file_types>",
"host_ids": "<host_ids>",
"policy_name": "<policy_name>",
"project_id": "<project_id>",
"start_type": "<start_type>",
"whether_paid_task": "<whether_paid_task>"
},
"name": "hss__CreateAntiVirusPolicy"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| action | Yes | 处置动作,包含如下: | |
| task_id | No | 任务ID | |
| host_ids | Yes | 策略管理主机列表 | |
| scan_dir | No | 扫描目录,多个用;分隔 | |
| scan_hour | No | 扫描小时数(仅启动类型为period时有值) | |
| scan_time | No | 扫描时间戳,毫秒(仅启动类型为later时有值) | |
| file_types | Yes | 文件类型集合型,包含如下: | |
| ignore_dir | No | 排除目录,多个用;分隔 | |
| project_id | Yes | **参数解释**: | |
| start_type | Yes | 启动类型,包含如下: | |
| policy_name | Yes | 策略名称 | |
| scan_minute | No | 扫描分钟数(仅启动类型为period时有值) | |
| scan_period | No | 启动类型,包含如下: | |
| timezone_offset | No | 时区偏移量(仅启动类型为period时有值,单位:分钟) | |
| scan_period_date | No | 扫描周期日期(1-28;扫描周期为week时,1-7代表周日至周六;扫描周期为month时,1-28代表每月1日到28日) | |
| whether_paid_task | Yes | 此次扫描任务是否付费 | |
| enterprise_project_id | No | **参数解释**: | 0 |