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.1001 Always Use HTTPS should be on for the zone

Severity: HighSE.CF.Api

For each discovered public zone, Cloudflare's Always Use HTTPS setting should be on. Internal DNS zones are not applicable because they do not serve public HTTP traffic. This reads the zone setting; it does not test live redirects or hostname-specific behavior.

Remediation action

In Cloudflare, enable SSL/TLS > Edge Certificates > Always Use HTTPS for the zone. Confirm that the zone has an active edge certificate and that the SSL/TLS mode is not off.

Related links

%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