Driftwatch

Cloudflare / Cloudflare API /

Breakingdirection flip: their tools call this safe

enforcement_rules is no longer accepted

What changed

Usually ignored rather than rejected, so the call succeeds and does something subtly different.

Affects enforcement_rules on precursor_precursor_config reachable from 2 operations. Grep for it: nothing else will tell you.

Who is affected

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

Before and after

WhereBeforeAfter
precursor_precursor_config.enforcement_rulespresentabsent

Code that breaks

await client.post("/…", {
  // enforcement_rules is now ignored, not rejected
  enforcement_rules: value,
});

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