Update Waf Rule Tool
update_waf_rule_toolUpdate an existing Cloudflare WAF custom rule by changing its action, filter expression, enabled state, or description.
Instructions
Update an existing WAF custom rule.
Provide either zone_id or zone_name, not both.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| action | No | New action (optional) | |
| enabled | No | Enable or disable the rule (optional) | |
| rule_id | Yes | Rule ID (32-character hex string) | |
| zone_id | No | Zone ID (32-character hex string) | |
| zone_name | No | Zone name (domain like example.com) | |
| expression | No | New filter expression (optional) | |
| description | No | New description (optional) |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||