Skip to main content

Legacy v2 rules

Before the Rulesets API migration the rules were published as v2 documents and JSON profiles. The rule text now lives in Legacy v2 expressions, and the archived profiles stay in the repository's archive/ directory for historical reference only:

FileContents
legacy-v2-expressions.mdThe full V1 and V2 rule text, moved out of archive/
archive/mwp-rules-v1.jsonv1 profile example
archive/mwp-rules-v2.jsonv2 profile with the deprecated priority field
archive/mwp-rules-v2-events.jsonv2 profile with event-calendar bot blocking
archive/network-block.jsonEarly network block profile

Why they are not used​

  • The v2 format relies on the Firewall Rules API and Filters API, which Cloudflare deprecated on 2025-06-15.
  • v2 profiles use allow/bypass actions and a priority field; the current schema uses skip and array order.

Use the profile format reference for the current schema, and migrate to the Rulesets API if you still have v2 profiles in use.