Added in: 5.17.0
Prowler for Cloudflare allows you to scan your Cloudflare zones for security misconfigurations, including SSL/TLS settings, DNSSEC, HSTS, and more.
Prerequisites
Before running Prowler with the Cloudflare provider, ensure you have:- A Cloudflare account with at least one zone
- One of the following authentication methods configured (see Authentication):
- An API Token (recommended)
- An API Key + Email (legacy)
Quick Start
Step 1: Set Up Authentication
The recommended method is using an API Token via environment variable:Step 2: Run Prowler
Run a scan across all your Cloudflare zones:Authentication
Prowler reads Cloudflare credentials from environment variables. Set your credentials before running Prowler: API Token (Recommended):Filtering Zones
By default, Prowler scans all zones accessible with your credentials:-f, --region, or --filter-region argument:
Filtering Accounts
By default, Prowler scans all accounts accessible with your credentials. If your API Token or API Key has access to multiple Cloudflare accounts, you can restrict the scan to specific accounts using the--account-id argument:
If any of the provided account IDs are not found among the accounts accessible with your credentials, Prowler will raise an error and stop execution.
Configuration
Prowler uses a configuration file to customize provider behavior. The Cloudflare configuration includes:Next Steps
- Authentication - Detailed guide on creating API tokens and keys

