View rulesets
You can list the available rulesets for a zone, account, or phase.
Example: View available rulesets at the zone level
The response displays the following rulesets:
- Managed rulesets you can deploy, indicated by
"kind": "managed"
- Zone-level phase entry points, if configured, indicated by
"kind": "zone"
- Custom rulesets, if configured, indicated by
"kind": "custom"
Example: View available rulesets at the account level
The response displays the following rulesets:
- Managed rulesets you can deploy, indicated by
"kind": "managed"
- Account-level phase entry points, if configured, indicated by
"kind": "root"
- Custom rulesets, if configured, indicated by
"kind": "custom"
You can view all versions of phase entry points (at the account and zone levels) and custom rulesets, but you can only view the most recent version of managed rulesets.
Example: View rules in a phase entry point ruleset at the zone level
The following example lists the rules in version 2
of the http_request_firewall_managed
phase entry point ruleset at the zone level.
Example: View rules in a managed ruleset
The following example lists the rules in version 2
of a managed ruleset (the most recent version of that ruleset).
Each rule in a managed ruleset can have associated tags or categories, listed in the categories
field.
For more information on the available API methods for viewing rulesets, refer to List and view rulesets.