releases.shpreview
Cloudflare/Cloudflare Changelog/Rules - Metro code field now available in Rules

Rules - Metro code field now available in Rules

$npx -y @buildinternet/releases show rel_wug2E7pXZdSeyCbD8lqC1

The ip.src.metro_code field in the Ruleset Engine is now populated with DMA (Designated Market Area) data. You can use this field to build rules that target traffic based on geographic market areas, enabling more granular location-based policies for your applications. Field details

FieldTypeDescriptionip.src.metro_codeString | nullThe metro code (DMA) of the incoming request's IP address. Returns the designated market area code for the client's location. Example filter expression: ip.src.metro_code eq "501" For more information, refer to the Fields reference.

Fetched April 4, 2026