Get authoritative rule fields (WAF or Smart Firewall)
get_rule_fieldsFetch the live Wirefilter field/function schema for WAF or Smart Firewall rules directly from the validator, ensuring expression accuracy.
Instructions
Fetch the live, authoritative Wirefilter field/function schema directly from the rules-validator for the given rule_type ('waf' = HTTP L7 fields; 'smart_firewall' = L3/L4 + JA4 fields, no http.*). This is the single source of truth and never drifts from what validation accepts — prefer it over the static wafcontext://fields resource when building expressions. Falls back to static context if the validator is unreachable.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| rule_type | No | waf |