Cloudflare Docs
Waf
Visit WAF on GitHub
Set theme to dark (⇧+D)

Configure payload logging for a Managed Ruleset in the dashboard

Configure payload logging for a ruleset in the ruleset configuration page.

  1. Open Security > WAF > Managed rules.

    Displays the content of the Managed rules tab in Security > WAF

  2. To configure payload logging for a ruleset you had already deployed in the WAF, click Edit next to the Managed Ruleset name.

    To deploy a Managed Ruleset and configure payload logging, click Configure next to the Managed Ruleset under Managed Rulesets.

  3. At the bottom of the page, click Configure payload logging.

  4. After reading and understanding the implications of enabling payload logging, select one of the available options:

    • Generate key pair using your web browser — Generates a key pair (a private and a public key) in your browser and configures payload logging with the generated public key.

    • Use my own public key — Enter a public key generated by the matched-data-cli command-line tool .

  5. Click Next.

  6. If you generated a key pair in the browser, copy the displayed private key and store it safely. You will use this private key later to view the decrypted payload content .

  7. Click Done.

  8. If you are deploying the Managed Ruleset where you configured payload logging, click Deploy. If you configured payload logging for a ruleset you had already deployed, click Save.