Why Cloudflare matters for compliance
If Cloudflare sits in front of your application, it decides how customer traffic is encrypted. Two settings matter most. The SSL/TLS encryption mode controls whether traffic between Cloudflare and your origin server is encrypted. Flexible mode encrypts only the browser side and sends plaintext to the origin, which can look fine from the outside while failing an encryption in transit control. Always Use HTTPS controls whether plaintext requests are redirected.
Varman checks every zone the token can read. A zone fails the high severity check if its mode is Flexible or Off, and fails the medium severity check if Always Use HTTPS is disabled. Both feed the TLS / HTTPS evidence task, which maps to SOC 2, ISO 27001, HIPAA, PCI DSS, NIST CSF, NIST 800-171, CMMC Level 2, and NIS 2. That gives you per-zone proof of encryption in transit rather than a single screenshot.
Cloudflare checks in Varman
Monitor Cloudflare zones for TLS encryption and HTTPS enforcement. Varman runs 2 checks against Cloudflare on a schedule and records each result as evidence.
Zone SSL mode enforces end-to-end encryption
high severityEach Cloudflare zone should use Full or Full (strict) encryption, not Flexible or Off.
- Fails when
- Flexible/Off leaves traffic between Cloudflare and the origin unencrypted.
- How to fix
- In the Cloudflare dashboard: SSL/TLS > Overview > set the encryption mode to Full (strict).
Evidence for the TLS / HTTPS task. Used by CMMC L2, HIPAA, ISO 27001, NIS 2, NIST 800-171, NIST CSF, PCI DSS, SOC 2.
Zone redirects all traffic to HTTPS
medium severityEach Cloudflare zone should have "Always Use HTTPS" enabled so plaintext requests are redirected.
- Fails when
- Plaintext HTTP requests are not redirected to HTTPS.
- How to fix
- In the Cloudflare dashboard: SSL/TLS > Edge Certificates > enable "Always Use HTTPS".
Evidence for the TLS / HTTPS task. Used by CMMC L2, HIPAA, ISO 27001, NIS 2, NIST 800-171, NIST CSF, PCI DSS, SOC 2.
Frameworks Cloudflare evidence supports
In Varman, each check feeds an evidence task, and each task is mapped to requirements in the frameworks you run. Results from Cloudflare count toward these 8 frameworks.
Connecting Cloudflare
An admin adds the details below in Varman under Integrations. Secret values are encrypted before they are stored.
Vendor reference: Cloudflare API documentation.
- API Token
- Create a token at My Profile > API Tokens with Zone:Read and Zone Settings:Read for the zones you want audited.
Cloudflare questions, answered.
What access does Varman need to Cloudflare?
An API token created under My Profile, API Tokens, with Zone:Read and Zone Settings:Read for the zones you want audited. Scope the token to only those zones if you prefer.
Which Cloudflare SSL mode passes?
Full or Full (strict). Varman recommends Full (strict), which also validates the origin certificate. Flexible and Off fail because traffic between Cloudflare and your origin is not encrypted.
How do I fix a failing HTTPS redirect check?
In the Cloudflare dashboard, open SSL/TLS, then Edge Certificates, and enable Always Use HTTPS for the zone. Re-run the check in Varman to record the change.
How often are Cloudflare checks run?
On a schedule, zone by zone. New zones that the token can read are picked up automatically on the next run.