waf__ShowCcRule
Fetches the details of a WAF CC protection rule by rule ID, policy ID, and project ID to inspect the rule's configuration.
Instructions
[WAF] 根据Id查询cc防护规则
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": {
"policy_id": "<policy_id>",
"project_id": "<project_id>",
"rule_id": "<rule_id>"
},
"name": "waf__ShowCcRule"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| rule_id | Yes | ID of the cc rule. It can be obtained by calling the **ListCcRules** API. | |
| policy_id | Yes | 策略id(策略id从查询防护策略列表接口获取) | |
| project_id | Yes | 项目ID,对应华为云控制台用户名->我的凭证->项目列表->项目ID | |
| enterprise_project_id | No | 您可以通过调用企业项目管理服务(EPS)的查询企业项目列表接口(ListEnterpriseProject)查询企业项目id。若需要查询当前用户所有企业项目绑定的资源信息,请传参all_granted_eps。 |