CloudGuard WAF
  • Documentation Overview
  • What is CloudGuard WAF?
  • Getting started
    • Prepare key information
    • Log in to the Infinity Portal
    • Protect a Web Application / API
    • Deploy Enforcement Point
      • Gateway/Virtual Machine
        • AWS
          • Store Certificates in AWS
          • Store certificates on Gateway
        • Azure
          • Store Certificates in Azure
          • Store Certificates on Gateway
        • VMware
          • Store Certificates on Gateway
          • Configure networking in VMware Deployments
      • WAF as a Service
        • Certificates Managed by Check Point
        • Bring Your Own Certificate
      • Kubernetes Ingress
        • Kong Application Security
        • Istio Application Security
      • Docker
        • Single Docker
          • Deployment using 'docker' command
            • Store Certificates Locally on Docker
          • Deployment in Azure App Services
        • Dual Docker: NGINX/Kong/Envoy + Security Agent
      • Linux / NGINX / Kong
    • Monitor Events
  • Concepts
    • Gateways & Agents
    • Management & Automation
    • Security Practices
    • Contextual Machine Learning
  • Additional Security Engines
    • Anti-Bot
    • API Protection
      • API Discovery
      • Track API Discovery Learning
      • Enforce API Schema
    • File Security
    • Intrusion Prevention System (IPS)
    • Rate Limit
    • Snort Rules
  • SETUP INSTRUCTIONS
    • Setup Custom Rules and Exceptions
    • Setup Web User Response Pages
    • Setup Log Triggers
    • Setup Report Triggers
    • Setup Notification Triggers
    • Setup Behavior Upon Failure
    • Setup Agent Upgrade Schedule
  • HOW TO
    • Edit Web Application/API Settings
    • Edit Reverse Proxy Advanced Settings for a Web Asset
    • Protect an existing production site with CloudGuard WAF's Gateway
    • View Policy of all your Web Applications/APIs
    • Add Data Loss Prevention (DLP) rules
    • Configure Contextual Machine Learning for Best Accuracy
    • Track Agent Status
    • Track Learning and Move from Learn/Detect to Prevent
    • Rotate profile authentication token
    • Upgrade your Reverse Proxy when a Linux/NGINX agent is installed
    • Use Terraform to Manage CloudGuard WAF
    • Authorize Temporary Access for Check Point Support
    • Restrict Access to Backend Servers from CloudGuard WAF as a Service IPs Only
  • Troubleshooting
    • WAF Gateway / Virtual Machine
      • Azure
        • "Unable to find a tag containing the vault's name in the VMSS" Error
        • How To: Configure Key Vault for a Single Gateway
      • NGINX Error: Upstream Sent Too Big Header While Reading Response Header from Upstream
      • How To: Compare Between the Gateway's Certificate and the Upstream Certificate
    • Linux
      • SELinux: Checking Status and Disabling
    • WAF as a Service
      • Certificate Validation Failed: Adjusting CAA Record
      • How To: Redirect a Root Domain to a Subdomain Protected by WAF SaaS
      • How To: Extend Connection Timeout to Upstream
      • How To: Update Expired Certificates
  • references
    • Agent CLI
    • Management API
    • Event Query Language
    • Writing Snort Signatures
    • Events/Logs Schema
    • CVE-2022-3786 and CVE-2022-3602: OpenSSL X.509 Email Address Buffer Overflows (HIGH)
    • CVE-2025-1097, CVE-2025-1098, CVE-2025-24514, CVE-2025-1974: Ingress NGINX Controller RCE (Critical)
  • Resources
    • GitHub
    • Docker Hub
Powered by GitBook
On this page
  • Setup a Web User Response Object
  • Configure your CloudGuard WAF practice to use the new Web User Response

Was this helpful?

  1. SETUP INSTRUCTIONS

Setup Web User Response Pages

PreviousSetup Custom Rules and ExceptionsNextSetup Log Triggers

Last updated 2 months ago

Was this helpful?

CloudGuard WAF protects web servers from attacks when set to Prevent mode. It is possible to determine the response returned to the client who initiated the blocked traffic. The response can be a simple HTTP error code, an HTTP redirect message, or a Block page that a user can view in their browser.

Setup a Web User Response Object

Step 1: Go to Policy->Behaviors and create a new Web User Response

If no behavior objects were configured yet you will see the following screen:

Alternatively the following screen with a "New" button at the top is shown:

Step 2: Select the type of the Web User Response and fill the form

Create a unique name for your Web User Response object and select a Type.

There are 3 types of Web User Response objects:

This option is not a recommended option for CloudGuard WAF protecting Web API assets as it is designed to be seen by human users.

  • Message title: The title of the web page to be shown to the user sending the malicious traffic

  • Message body: The Body of the message to be shown to the user.

  • HTTP Response Code: It is recommended to use a 403 (Forbidden) as a response code.

Different browsers behave differently upon receiving different error codes.

Using the Response code 444 will in fact reset the connection and the Message title and body will not be seen by the user.

  • Redirect URL: the client will be redirected to the provided URL where you can provide any customized web page.

  • Add X-Event-Id to header: When selected the redirect message will include this header with a value that provides an internal reference ID that will match a security log generated by the incident, if log triggers are configured.

This option is recommended for CloudGuard WAF protecting Web API assets.

  • HTTP Response Code: It is recommended to use a 403 (Forbidden) as a response code.

    Different clients may behave differently upon receiving different error codes.

Configure your CloudGuard WAF practice to use the new Web User Response

Step 1: Select the assets you wish to use this Web User Response upon event detection

Go to Policy->Assets and edit the asset you wish to modify.

Select the relevant practice tab and scroll to the bottom.

Step 2: Select the Web User Response object

Once selected, you will see the object shown as part of CloudGuard WAF Security Practice configuration:

Step 3: Enforce Policy

Policy is enforced after clicking Enforce in the top banner of the portal.