--- title: "Cloudflare WAF" slug: "cloudflare-waf" updated: 2025-11-13T05:28:07Z published: 2025-11-13T05:28:07Z canonical: "docs.databee.buzz/cloudflare-waf" --- > ## Documentation Index > Fetch the complete documentation index at: https://docs.databee.buzz/llms.txt > Use this file to discover all available pages before exploring further. # Cloudflare WAF Cloudflare WAF neutralizes the latest threats, including zero-days by being the frontline defense for web applications. More information can be found at [**Cloudflare WAF**](https://www.cloudflare.com/en-in/application-services/products/waf/)**.** **Integration Method**: API **Tables**: HTTP Activity (4002) This integration supports the following events. | **Event** | **Description** | | --- | --- | | Firewall events | Get all the firewall events generated by the Cloudflare's security features on incoming HTTP requests | This integration supports the following versions. | Cloudflare WAF API version | v4.0 | | --- | --- | > [!NOTE] > **Note**: > > Cloudflare is a continuously updated cloud service. As for this document preparation, the latest release was in [**16 June 2025**](https://developers.cloudflare.com/waf/change-log/2025-06-16/) ## Prerequisites - Access to **Cloudflare** account with an account that has Administrator privileges. - Access to the DataBee console. ## Configuration Overview 1. Generate an API token with the required scope. 2. Add the [**Cloudflare WAF data feed**](/user-manual/docs/cloudflare-waf#databee-configuration) in the DataBee console with the below parameters. | **DataBee Parameter** | **Cloudflare Parameter** | | --- | --- | | Token | Personal Access Token | # ## Cloudflare WAF Configuration 1. Log on to **Cloudflare WAF** console. 2. Go to **Profile** in the top right corner. ![](https://cdn.document360.io/04e48772-4346-44a4-aa69-043eca42257c/Images/Documentation/cloudflare-waf-doc-standard-image-lsghy3rn.png?sv=2026-02-06&spr=https&st=2026-10-30T12%3A09%3A30Z&se=2026-10-30T13%3A09%3A30Z&sr=c&sp=r&sig=MR35OrCn5Yfig0qNEglJhFJwOUeLij1c3bKyEp1pNX0%3D) 3. Go to **API Tokens**. ![A screenshot of a computer AI-generated content may be incorrect.](https://cdn.document360.io/04e48772-4346-44a4-aa69-043eca42257c/Images/Documentation/cloudflare-waf-doc-standard-image-60hts7qn.png?sv=2026-02-06&spr=https&st=2026-10-30T12%3A09%3A30Z&se=2026-10-30T13%3A09%3A30Z&sr=c&sp=r&sig=MR35OrCn5Yfig0qNEglJhFJwOUeLij1c3bKyEp1pNX0%3D) 4. Under **Create Custom Token** section, click on **Get started**. ![](https://cdn.document360.io/04e48772-4346-44a4-aa69-043eca42257c/Images/Documentation/cloudflare-waf-doc-standard-image-n9falr1s.png?sv=2026-02-06&spr=https&st=2026-10-30T12%3A09%3A30Z&se=2026-10-30T13%3A09%3A30Z&sr=c&sp=r&sig=MR35OrCn5Yfig0qNEglJhFJwOUeLij1c3bKyEp1pNX0%3D) 5. Give an appropriate API token name. 6. **Permissions**: select **Account**, choose **Account Analytics** and **Read** ![](https://cdn.document360.io/04e48772-4346-44a4-aa69-043eca42257c/Images/Documentation/cloudflare-waf-doc-standard-image-g2rqcmw6.png?sv=2026-02-06&spr=https&st=2026-10-30T12%3A09%3A30Z&se=2026-10-30T13%3A09%3A30Z&sr=c&sp=r&sig=MR35OrCn5Yfig0qNEglJhFJwOUeLij1c3bKyEp1pNX0%3D) 7. Click the **+Add more** button to add the following permissions: **Firewall Services**, **Zone** and **Analytics** with the **Zone** level and **Read**. ![A screenshot of a computer AI-generated content may be incorrect.](https://cdn.document360.io/04e48772-4346-44a4-aa69-043eca42257c/Images/Documentation/cloudflare-waf-doc-standard-image-thn9fcdb.png?sv=2026-02-06&spr=https&st=2026-10-30T12%3A09%3A30Z&se=2026-10-30T13%3A09%3A30Z&sr=c&sp=r&sig=MR35OrCn5Yfig0qNEglJhFJwOUeLij1c3bKyEp1pNX0%3D) 8. Click **Continue to summary** at the bottom of the page. ![A screenshot of a computer screen AI-generated content may be incorrect.](https://cdn.document360.io/04e48772-4346-44a4-aa69-043eca42257c/Images/Documentation/cloudflare-waf-doc-standard-image-a6tq7ycw.png?sv=2026-02-06&spr=https&st=2026-10-30T12%3A09%3A30Z&se=2026-10-30T13%3A09%3A30Z&sr=c&sp=r&sig=MR35OrCn5Yfig0qNEglJhFJwOUeLij1c3bKyEp1pNX0%3D) 9. You will find the token summary on the following page. Click on **Create Token** button. 10. **Save** the token for later use. It will not be visible later. ## DataBee Configuration 1. Login to the DataBee UI, navigate to **Data** > **Data Feeds** and click the **Add New Data Feed** button. ![](https://cdn.document360.io/04e48772-4346-44a4-aa69-043eca42257c/Images/Documentation/cloudflare-waf-doc-standard-image-c6dik8sb.png?sv=2026-02-06&spr=https&st=2026-10-30T12%3A09%3A30Z&se=2026-10-30T13%3A09%3A30Z&sr=c&sp=r&sig=MR35OrCn5Yfig0qNEglJhFJwOUeLij1c3bKyEp1pNX0%3D) 2. Search for the **Cloudflare WAF** and click on it as shown below**.** ![](https://cdn.document360.io/04e48772-4346-44a4-aa69-043eca42257c/Images/Documentation/cloudflare-waf-doc-standard-image-jlvt11vq.png?sv=2026-02-06&spr=https&st=2026-10-30T12%3A09%3A30Z&se=2026-10-30T13%3A09%3A30Z&sr=c&sp=r&sig=MR35OrCn5Yfig0qNEglJhFJwOUeLij1c3bKyEp1pNX0%3D) 3. Click on the **API Ingest** option for the collection method. ![](https://cdn.document360.io/04e48772-4346-44a4-aa69-043eca42257c/Images/Documentation/cloudflare-waf-doc-standard-image-tb1ptyfm.png?sv=2026-02-06&spr=https&st=2026-10-30T12%3A09%3A30Z&se=2026-10-30T13%3A09%3A30Z&sr=c&sp=r&sig=MR35OrCn5Yfig0qNEglJhFJwOUeLij1c3bKyEp1pNX0%3D) 4. Enter feed contact information and click **Next**. ![](https://cdn.document360.io/04e48772-4346-44a4-aa69-043eca42257c/Images/Documentation/cloudflare-waf-doc-standard-image-x8og52uw.png?sv=2026-02-06&spr=https&st=2026-10-30T12%3A09%3A30Z&se=2026-10-30T13%3A09%3A30Z&sr=c&sp=r&sig=MR35OrCn5Yfig0qNEglJhFJwOUeLij1c3bKyEp1pNX0%3D) 5. In the configuration page, confirm the following: ![A screenshot of a computer AI-generated content may be incorrect.](https://cdn.document360.io/04e48772-4346-44a4-aa69-043eca42257c/Images/Documentation/cloudflare-waf-doc-standard-image-gqabxxs0.png?sv=2026-02-06&spr=https&st=2026-10-30T12%3A09%3A30Z&se=2026-10-30T13%3A09%3A30Z&sr=c&sp=r&sig=MR35OrCn5Yfig0qNEglJhFJwOUeLij1c3bKyEp1pNX0%3D) - **Authorization Method:** Bearer Token - **API Base URL**: This is the base URL that DataBee will interact with. - **Token**: Enter the above generated Personal Access Token - **Event Types:** Preselected for all the event types that integration pulls. 6. Click **Submit**. # ## Troubleshooting Tips - Ensure the token is pasted correctly. Since you cannot view the token after the 1st time, re-create the token, paste it on a text editor to ensure no spaces or unexpected characters are included and reconfigure the DataBee feed. - Ensure the Cloudflare WAF scopes/permissions are correct. # # #