Help Center/ Config/ User Guide/ Resource Compliance/ Built-In Policies/ Web Application Firewall/ Protection Policies Must Be Configured for Domain Names Protected with WAF
Updated on 2025-08-25 GMT+08:00

Protection Policies Must Be Configured for Domain Names Protected with WAF

Rule Details

Table 1 Rule details

Parameter

Description

Rule name

waf-instance-policy-not-empty

Identifier

Protection Policies Must Be Configured for Domain Names Protected with WAF

Description

If a protection policy is not configured for a domain name protected with a dedicated WAF instance, the WAF policy is non-compliant.

Tag

waf

Trigger Type

Configuration change

Filter Type

waf.instance

Rule Parameters

None

Application Scenarios

WAF protection policies help you defend against common web application attacks, including XSS attacks, SQL injection, crawlers, and web shells. You can customize protection rules to let WAF better protect your website services using these custom rules. For details, see Protection Configuration Overview.

This rule checks whether your dedicated WAF instances are configured protection policies for domain names.

Solution

When you buy new dedicated WAF instances, associate them with domain name protection policies. Based on the check result of this rule, associate existing dedicated WAF instances with protection policies for domain names.

Rule Logic

  • If a protection policy is not configured for a domain name protected with a dedicated WAF instance, the WAF policy is non-compliant.
  • If a protection policy is configured for a domain name protected with a dedicated WAF instance, the WAF policy is compliant.