waf__ListAnticrawlerRules
Retrieves the JavaScript anti-crawler rule list for a WAF protection policy, with project, type, and pagination filters.
Instructions
[WAF] 查询JS脚本反爬虫规则列表
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": {
"limit": "<limit>",
"offset": "<offset>",
"policy_id": "<policy_id>",
"project_id": "<project_id>"
},
"name": "waf__ListAnticrawlerRules"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| type | No | JS脚本反爬虫规则防护模式 | |
| limit | Yes | 查询返回记录的数量限制。 | |
| offset | Yes | 偏移量,表示查询该偏移量之后的记录。 | |
| policy_id | Yes | 防护策略id,通过指定防护策略id来指明查询该防护策略下的防护规则,您可以通过调用查询防护策略列表(ListPolicy)获取策略id | |
| project_id | Yes | 项目ID,对应华为云控制台用户名->我的凭证->项目列表->项目ID | |
| enterprise_project_id | No | 您可以通过调用企业项目管理服务(EPS)的查询企业项目列表接口(ListEnterpriseProject)查询企业项目id。若需要查询当前用户所有企业项目绑定的资源信息,请传参all_granted_eps。 |