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

IDTitleSeverityProduct
MP.SE.CF.1001 Always Use HTTPS should be on for the zone High SE.CF.Api
MP.SE.CF.1002 Origin SSL/TLS mode should be at least Full for the zone High SE.CF.Api
MP.SE.CF.1003 Minimum visitor TLS version should be at least 1.2 for the zone High SE.CF.Api
MP.SE.CF.1004 TLS 1.3 should be enabled for the zone Medium SE.CF.Api
MP.SE.CF.1005 DNSSEC should be active for the authoritative zone High SE.CF.Api
MP.SE.CF.1006 Account membership should require two-factor authentication High SE.CF.Api
MP.SE.CF.1007 Account members should use MFA High SE.CF.Api
MP.SE.CF.1008 Account-owned API tokens should expire and be used regularly Medium SE.CF.Api
MP.SE.CF.1009 R2 buckets should have intentional r2.dev exposure Medium SE.CF.Api
MP.SE.CF.1010 R2 buckets should have intentional custom-domain exposure Medium SE.CF.Api
MP.SE.CF.1011 Account-level Cloudflare Managed Ruleset deployment should be reviewed Medium SE.CF.Api
MP.SE.CF.1012 Public zones should have managed WAF coverage for their Cloudflare plan High SE.CF.Api
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