INTEGRITY Cloudflare Docs

Bot Management variables

Ruleset Engine fields

Bot Management provides access to several new variables within the expression builder of Ruleset Engine-based products such as WAF custom rules.

Workers variables

These variables are also available as part of the request.cf object via Cloudflare Workers:

O2O and subrequests

For Orange-to-Orange (O2O) traffic and any related subrequests where Bot Management is in effect, Bot Management fields (including bot score, verified bot, and JA3/JA4) represent the eyeball (end-user) connection to your platform.

Eyeball signals are preserved through the O2O chain, so the fields must be present regardless of which O2O request path you reach.

Corporate Proxy

The Bot Management Corporate Proxy field contains identified cloud-based corporate proxies and secure web gateways that are Enterprise-only, and provide outbound security services to their clients.

You can access the Corporate Proxy field in WAF custom rules, Rate limiting rules, or Workers to provide different security rules for traffic from these sources. You can also exempt them from rules using Bot Management scores.

Example
not cf.bot_management.verified_bot
and not cf.bot_management.static_resource
and not  cf.bot_management.corporate_proxy
and cf.bot_management.score lt 30

Log fields

Once you enable Bot Management, Cloudflare also surfaces bot information in its HTTP requests log fields:

Ephemeral IDs

Ephemeral IDs are short-lived device identifiers returned in the Turnstile Siteverify API response under metadata.ephemeral_id. They are not Ruleset Engine fields and cannot be used in WAF custom rules or Workers directly.

Refer to Ephemeral IDs for implementation details and the full enablement process.