MediumScript packFreeMicrosoft MVP

Security Assessment for Cloudflare

Read-only security checks for Cloudflare account settings, zones, R2, and WAF.

By SamErde · Version 0.1.0 · Published 1 Dec 2026

← All tests

MP.SE.CF.1012 Public zones should have managed WAF coverage for their Cloudflare plan

Severity: HighSE.CF.Api

Public zones should have managed WAF coverage for their Cloudflare plan

Each active public zone is assessed against its plan. Free zones require a visible zone deployment of the Cloudflare Free Managed Ruleset. Pro, Business and Enterprise zones require the broader Cloudflare Managed Ruleset. Unknown or conflicting plan evidence on an active zone yields Investigate. WAF plan availability and ruleset IDs

Internal DNS zones skip. A missing or unrecognized zone type yields Investigate because public applicability is uncertain. A public zone with Boolean paused: true or meta.dns_only: true fails because traffic bypasses the WAF. For other public zones, a missing status produces Error and an inactive status fails. An active zone with a missing or malformed pause state or a malformed DNS-only flag yields Investigate. Each of these results precedes WAF phase reads. Cloudflare zone fields

A zone passes when the applicable ruleset has a visible execute with Boolean enabled: true, the case-sensitive string expression true after trimming, and no applicable exception or override. Review conditional or malformed execute evidence. A preceding managed-phase skip can affect the remaining entry point, the selected ruleset or individual rules in it. Disabled, later and unrelated exceptions do not affect that execute. Review relevant earlier custom-phase skips and unresolved custom ruleset references. Zone deployment · Exception order and targets

A separate account execute or its overrides do not invalidate a clean local deployment. An account exception targeting the selected ruleset can carry into the zone, even when it follows an account execute. Account skips limited to the current entry point end there. Account-only deployment can require investigation on Enterprise, where the expression selects eligible zones. Pro and Business zones fail without a local deployment. A failed phase read produces Error. Account deployment · Cross-scope exceptions · Custom-phase skips

Cloudflare automatically deploys its Free ruleset on Free plans. When the API does not expose a target execute, including a missing managed phase entry point, the result is Investigate. An explicitly disabled Free execute with no enabled or uncertain instance fails. Verify deployment under Security in the Cloudflare dashboard, then review exceptions and overrides against the traffic you intend to protect. Default Free deployment

For an unobservable Free deployment, the result also identifies visible zone exceptions, account exceptions that can affect the zone, and unresolved custom ruleset references. The position of an automatic deployment relative to a zone skip of remaining rules is unknown. An execute rule with a missing or malformed ruleset ID produces Error because its target is unknown.

%TestResult%

Install
Install-MtPack SamErde/maester-pack-for-cloudflare

Assumes Maester is installed. New to Maester? Get started.

Next: connect and run
Connect
$env:MAESTER_SE_CF_API_APITOKEN = Read-Host 'Cloudflare API token' -MaskInputConnect-Maester -Service SE.CF.Api -ServiceSetting @{ AccountId = (Read-Host 'Cloudflare account ID').Trim() }
Run
Invoke-Maester -Path . -Pack SE.CF -SkipBuiltIn -NonInteractiveRemove-Item Env:MAESTER_SE_CF_API_APITOKEN -ErrorAction SilentlyContinueDisconnect-Maester