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.1011 Account-level Cloudflare Managed Ruleset deployment should be reviewed

Severity: MediumSE.CF.Api

Account-level Cloudflare Managed Ruleset deployment should be reviewed

This check reports whether the account managed WAF entry point executes the paid Cloudflare Managed Ruleset. An absent entry point, or one with no enabled target execute and no uncertain enabled state, yields Not applicable. A visible deployment yields Investigate. Cloudflare requires an Enterprise plan predicate, and the expression can further restrict the zones or requests covered. A missing, blank or non-string expression or a non-Boolean enabled state also requires investigation. Account deployment via API

Review the execute expression, overrides and any preceding exceptions that skip the remaining rules, the selected ruleset or rules within it. Check the earlier custom phase for managed WAF skips and unresolved custom ruleset references. A later account exception can affect a subsequent zone deployment. Check MP.SE.CF.1012 for the zone result. Managed exception order and targets · Cross-scope exceptions

When the account managed entry point contains only disabled target executes or none at all, the Not applicable result describes the account deployment. Its detail identifies any visible exceptions or custom references that could affect zone deployments. 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