cf_list_gateway_rules
Lists Cloudflare Gateway rules (DNS, network, or HTTP) for a specified account ID. Use to retrieve and filter Zero Trust policies.
Instructions
List Cloudflare Gateway (Zero Trust DNS/network/HTTP) rules.
Args:
account_id: account ID.
rule_type: 'dns', 'network', or 'http'. Defaults to 'http'.
Calls: GET /accounts/{account_id}/gateway/rules with filter.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| account_id | Yes | ||
| rule_type | No | http |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |