waf__UpdateIgnoreRule
Updates a WAF global whitelist (false-positive shielding) rule to change which request conditions are ignored for specified domains and policies.
Instructions
[WAF] 更新全局白名单(原误报屏蔽)防护规则
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": {
"conditions": "<conditions>",
"domain": "<domain>",
"mode": "<mode>",
"policy_id": "<policy_id>",
"project_id": "<project_id>",
"rule": "<rule>",
"rule_id": "<rule_id>"
},
"name": "waf__UpdateIgnoreRule"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| mode | Yes | 固定值为1,代表v2版本误报屏蔽规则,v1版本仅用于兼容旧版本,不支持创建 | |
| rule | Yes | 需要屏蔽的规则,可屏蔽一个或者多个,屏蔽多个时使用半角符;分隔 | |
| domain | Yes | 防护域名或防护网站,数组长度为0时,代表规则对全部域名或防护网站生效 | |
| rule_id | Yes | 误报屏蔽规则id,您可以通过查询误报屏蔽规则列表(ListIgnoreRule)接口的响应体中的id字段获取误报屏蔽规则id | |
| advanced | No | 高级配置项 | |
| policy_id | Yes | 防护策略id,您可以通过调用查询防护策略列表(ListPolicy)获取策略id | |
| conditions | Yes | 条件列表 | |
| project_id | Yes | 项目ID,对应华为云控制台用户名->我的凭证->项目列表->项目ID | |
| description | No | 屏蔽规则描述 | |
| enterprise_project_id | No | 您可以通过调用企业项目管理服务(EPS)的查询企业项目列表接口(ListEnterpriseProject)查询企业项目id |