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
  • Web Application Protection Advanced Settings
  • Threat Prevention Settings
  • Configuration Options
  • Web API Protection Advanced Settings
  • Additional Security Engines

Was this helpful?

  1. HOW TO

Edit Web Application/API Settings

PreviousSetup Agent Upgrade ScheduleNextEdit Reverse Proxy Advanced Settings for a Web Asset

Last updated 1 month ago

Was this helpful?

Configuring is easily done via the configuration wizard, and in the vast majority of the cases, is enough to fully protect the web assets without additional manual changes.

There are, however, advanced options that a security administrator can configure to modify the security to his specific requirements.

When making the first change to the default Web Application Best Practice's configuration such as configuring the advanced settings in this page, you will be prompted to change the name of the Practice to your own custom practice name.

Web Application Protection Advanced Settings

Threat Prevention Settings

Browse to Policy->Assets, edit the web application asset object you have created and click on the "e "Web Attacks" tab configuration.

Configuration Options

Mode override

Setting the Mode to As Top Level means inheriting the primary mode of the practice.

Otherwise you can override it only for this specific sub-practice to Detect/Prevent/Disable.

Confidence-dependent Prevent Mode

The option Activate when confidence is becomes available if practice or sub-practice are set to Prevent. The value determines the threshold in which CloudGuard WAF will block attacks and prevent them, rather than just send a log according to Log Trigger configuration.

Advanced settings window

When clicking on Advanced additional advanced settings appear:

For all Size Limits - CloudGuard WAF Web Attacks engine will accept traffic that exceeds the limits if set to Detect/Learn mode (and that traffic will bypass inspection), or block traffic that exceeds the limits if set to Prevent mode.

Advanced Setting
Meaning

URL Size (Bytes)

Determines the URL size limit for inspection

Max Object Depth

Determines the depth limit of a JSON/XML object inspected in the HTTP request. This includes embedded XML in JSON and the opposite.

Body Size (Kilobytes)

Determines the HTTP body size limit for inspection

Header Size (Bytes)

Determines the HTTP header size limit for inspection

CSRF Protection

Error Disclosure

Open Redirect

Non-Valid HTTP methods

When set to No and practice is set to Prevent, non-valid HTTP methods are blocked. Valid HTTP methods are:

  • GET, POST, DELETE, PATCH, PUT, CONNECT, OPTIONS, HEAD, TRACE

  • MKCOL, COPY, MOVE, PROPFIND, PROPPATCH, LOCK, UNLOCK, VERSION-CONTROL, REPORT, INDEX, CHECKOUT, CHECKIN, UNCHECK, MKWORKSPACE, UPDATE, LABEL, MERGE, BASELINE-CONTROL, MKACTIVITY, ORDERPATCH, ACL, SEARCH, MKREDIRECTREF, BIND, UNBIND

Web API Protection Advanced Settings

The advanced configuration for API Attacks is very similar to Web Attacks. The differences being:

  • The sub-practice is named API Attacks and not Web Attacks.

  • API attacks do not include the advanced options of CSRF Protection, Error Disclosure and Open Redirect.

Additional Security Engines

CloudGuard WAF includes additional security engines other in addition to the Machine Learning based-Web Attacks protection and API attacks protection:

Determines the mode for the advanced CSRF protection, which blocks . Important - This protection has a performance impact.

Determines the mode for the advanced Error Disclosure protection, which replaces and injects a different response instead. Important - This protection has a performance impact.

Determines the mode for the advanced Open Redirect protection, which prevents (e.g. as used by Phishing attacks) Important - This protection has a performance impact.

See here how to configure the

API Schema Enforcement Engine
Anti-Bot
Enforce API Schema
Intrusion Prevention System (IPS)
Snort Rules
CSRF attacks
internal error codes in the response
client side redirection to other domains
Web Application / API