Driftwatch

Cloudflare / Cloudflare API /

Breakingdirection flip: their tools call this safe

risk_level can now return "info"

What changed

Producer-side tools call this additive. It breaks exhaustive switches, strict parsers and generated client enums.

Affects risk_level on dlp_RiskEvents reachable from 1 operation.

New value: info.

can now return "info"

Who is affected

Code that reads Cloudflare's dlp_RiskEvents objects, used by 4 Cloudflare operations.

Before and after

WhereBeforeAfter
dlp_RiskEvents.risk_level"high", "low", "medium""high", "info", "low", "medium"
dlp_RiskLevel"high", "low", "medium""high", "info", "low", "medium"

Code that breaks

switch (response.risk_level) {
  // existing branches …
  // no branch for "info"
  default:
    throw new Error("unexpected risk_level");
}

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