Ruleset Rule Action Parameters Args
Constructors
Properties
Specifies uncommon ports to allow cacheable assets to be served from.
Compression algorithms to use in order of preference.
Turn on or off Cloudflare Automatic HTTPS rewrites.
Indicate which file extensions to minify automatically.
List of browser TTL parameters to apply to the request.
List of cache key parameters to apply to the request.
List of cache reserve parameters to apply to the request.
Content-Type of the custom error response.
List of cookie values to include as part of custom fields logging.
Turn off all active Cloudflare Apps.
Turn off railgun feature of the Cloudflare Speed app.
Turn off RUM feature.
Turn off zaraz feature.
List of edge TTL parameters to apply to the request.
Turn on or off the Cloudflare Email Obfuscation feature of the Cloudflare Scrape Shield app.
Use a list to lookup information for the action.
Use a value to lookup information for the action.
List of HTTP header modifications to perform in the ruleset rule. Note: Headers are order dependent and must be provided sorted alphabetically ascending based on the name
value.
Host Header that request origin receives.
Turn on or off the hotlink protection feature.
List of properties to configure WAF payload logging.
Turn on or off the Cloudflare Opportunistic Encryption feature of the Edge Certificates tab in the Cloudflare SSL/TLS app.
List of properties to change request origin.
Enable or disable the use of a more compliant Cache Control parsing mechanism, enabled by default for most zones.
Pass-through error page for origin.
List of override configurations to apply to the ruleset.
Point in the request/response lifecycle where the ruleset will be created. Available values: ddos_l4
, ddos_l7
, http_config_settings
, http_custom_errors
, http_log_custom_fields
, http_ratelimit
, http_request_cache_settings
, http_request_dynamic_redirect
, http_request_firewall_custom
, http_request_firewall_managed
, http_request_late_transform
, http_request_origin
, http_request_redirect
, http_request_sanitize
, http_request_transform
, http_response_compression
, http_response_firewall_managed
, http_response_headers_transform
, magic_transit
.
Specifies a maximum timeout for reading content from an origin server.
List of request headers to include as part of custom fields logging, in lowercase.
Respect strong ETags.
List of response headers to include as part of custom fields logging, in lowercase.
List of parameters that configure the response given to end users.
Turn on or off Cloudflare Rocket Loader in the Cloudflare Speed app.
Control options for the Security Level feature from the Security app.
Turn on or off the Server Side Excludes feature of the Cloudflare Scrape Shield app.
List of serve stale parameters to apply to the request.
List of properties to manange Server Name Indication.
HTTP status code of the custom error response.
List of URI properties to configure for the ruleset rule when performing URL rewrite transformations.