Driftwatch

Cloudflare / Cloudflare API /

Breaking

Response field enforcement_rules removed

What changed

Reads of this field return undefined, and the failure surfaces wherever that value is used rather than at the call.

Affects precursor_precursor_config reachable from 2 operations.

Who is affected

Code that reads Cloudflare's precursor_precursor_config objects, used by 2 Cloudflare operations.

Before and after

WhereBeforeAfter
precursor_precursor_config.enforcement_rulespresentabsent

Code that breaks

// response.enforcement_rules is now undefined
const enforcement_rules = response.enforcement_rules;

Based on Cloudflare’s published API specification. How severity is decided.