From 6c2b6bb76f352ae729b62d00971edbef8f1bfdc5 Mon Sep 17 00:00:00 2001 From: damiete <4949080+damiete@users.noreply.github.com> Date: Mon, 17 Aug 2026 18:15:29 +0100 Subject: [PATCH 1/2] [Rules] Fix Cache Rules changelog bot field list Remove non-existent api_score and attack_score fields, correct bot_tags to tags, and list detection_ids and signed_agent. --- .../rules/2026-07-16-cache-rules-bot-fields-asn.mdx | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/content/changelog/rules/2026-07-16-cache-rules-bot-fields-asn.mdx b/src/content/changelog/rules/2026-07-16-cache-rules-bot-fields-asn.mdx index c6aaaa17093..8653d5ce848 100644 --- a/src/content/changelog/rules/2026-07-16-cache-rules-bot-fields-asn.mdx +++ b/src/content/changelog/rules/2026-07-16-cache-rules-bot-fields-asn.mdx @@ -22,10 +22,10 @@ The following fields are now available in Cache Rules expressions: | `cf.bot_management.verified_bot` | Boolean | Whether the request originates from a verified bot, such as a search engine crawler. | | `cf.bot_management.static_resource` | Boolean | Whether the request is for a static resource and therefore exempt from bot detection. | | `cf.bot_management.js_detection.passed` | Boolean | Whether the browser passed JavaScript detection when the feature is enabled. | -| `cf.bot_management.attack_score` | Number | Classifies the request by attack score, from `1` (likely automated) to `99` (likely human). | -| `cf.bot_management.api_score` | Number | Classifies the request by API score, from `1` (likely automated) to `99` (likely human). | -| `cf.bot_management.bot_tags[""]` | Boolean | Whether the bot traffic matches the specified tag, such as `google` or `bing`. | +| `cf.bot_management.tags` | Array | Bot tags associated with the request. | | `cf.bot_management.corporate_proxy` | Boolean | Whether the request originates from a known corporate proxy. | +| `cf.bot_management.detection_ids` | Array | Detection IDs for Bot Management heuristic detections on the request. | +| `cf.bot_management.signed_agent` | Boolean | Whether the request originates from a known agent that self-identifies with Web Bot Auth. | | `ip.src.asnum` | Number | The autonomous system number (ASN) of the incoming request's IP address. | :::note @@ -42,4 +42,4 @@ or (http.request.uri.path contains "/api/" and not ip.src.asnum in {12345 67890}) ``` -To learn more, refer to the [Cache Rules documentation](/cache/how-to/cache-rules/) and the [Fields reference](/ruleset-engine/rules-language/fields/). +To learn more, refer to the [Cache Rules documentation](/cache/how-to/cache-rules/), [Bot Management variables](/bots/reference/bot-management-variables/), and the [Fields reference](/ruleset-engine/rules-language/fields/). From 848c9c95a1f52e6ce8d8e2d31c224be6783d6ccd Mon Sep 17 00:00:00 2001 From: damiete <4949080+damiete@users.noreply.github.com> Date: Mon, 17 Aug 2026 19:00:57 +0100 Subject: [PATCH 2/2] [Rules] Drop tags from Cache Rules changelog field list Bot tags remain log-only in public docs; do not list cf.bot_management.tags as a Cache Rules expression field. --- .../changelog/rules/2026-07-16-cache-rules-bot-fields-asn.mdx | 1 - 1 file changed, 1 deletion(-) diff --git a/src/content/changelog/rules/2026-07-16-cache-rules-bot-fields-asn.mdx b/src/content/changelog/rules/2026-07-16-cache-rules-bot-fields-asn.mdx index 8653d5ce848..e800a5c7b38 100644 --- a/src/content/changelog/rules/2026-07-16-cache-rules-bot-fields-asn.mdx +++ b/src/content/changelog/rules/2026-07-16-cache-rules-bot-fields-asn.mdx @@ -22,7 +22,6 @@ The following fields are now available in Cache Rules expressions: | `cf.bot_management.verified_bot` | Boolean | Whether the request originates from a verified bot, such as a search engine crawler. | | `cf.bot_management.static_resource` | Boolean | Whether the request is for a static resource and therefore exempt from bot detection. | | `cf.bot_management.js_detection.passed` | Boolean | Whether the browser passed JavaScript detection when the feature is enabled. | -| `cf.bot_management.tags` | Array | Bot tags associated with the request. | | `cf.bot_management.corporate_proxy` | Boolean | Whether the request originates from a known corporate proxy. | | `cf.bot_management.detection_ids` | Array | Detection IDs for Bot Management heuristic detections on the request. | | `cf.bot_management.signed_agent` | Boolean | Whether the request originates from a known agent that self-identifies with Web Bot Auth. |