If you confirm that an attack event on the Events page is a false alarm, you can handle the event as false alarm by ignoring the URL and rule ID in basic web protection, or by deleting or disabling the corresponding protection rule you configured. After an attack event is handled as a false alarm, the event will not be displayed on the Events page anymore.
WAF detects attacks by using built-in basic web protection rules, built-in features in anti-crawler protection, and custom rules you configured (such as CC attack protection, precise access protection, blacklist, whitelist, and geolocation access control rules). WAF will respond to detected attacks based on the protective actions (such as Block and Log only) defined in the rules and display attack events on the Events page.
There is at least one false alarm event in the event list.
Sometimes normal service requests may be blocked by WAF. For example, suppose you deploy a web application on an ECS and then add the public domain name associated with that application to WAF. If you enable basic web protection for that application, WAF may block the access requests that match the basic web protection rules. As a result, the website cannot be accessed through its domain name. However, the website can still be accessed through the IP address. In this case, you can handle the false alarms to allow normal access requests to the application.
Parameter |
Description |
Example Value |
---|---|---|
Scope |
|
Specified domain names |
Domain Name |
This parameter is mandatory when you select Specified domain names for Scope. Enter a single domain name that matches the wildcard domain name being protected by the current policy. |
www.example.com |
Condition List |
Click Add to add conditions. At least one condition needs to be added. You can add up to 30 conditions to a protection rule. If more than one condition is added, all of the conditions must be met for the rule to be applied. A condition includes the following parameters: Parameters for configuring a condition are described as follows:
|
Path, Include, /product |
Ignore WAF Protection |
|
Basic web protection |
Ignored Protection Type |
If you select Basic web protection for Ignored Protection Type, specify the following parameters:
|
Attack type |
Rule ID |
This parameter is mandatory when you select ID for Ignored Protection Type. Rule ID of a misreported event in Events whose type is not Custom. You are advised to handle false alarms on the Events page. |
041046 |
Rule Type |
This parameter is mandatory when you select Attack type for Ignored Protection Type. Select an attack type from the drop-down list box. WAF can defend against XSS attacks, web shells, SQL injection attacks, malicious crawlers, remote file inclusions, local file inclusions, command injection attacks, and other attacks. |
SQL injection |
Rule Description |
A brief description of the rule. This parameter is optional. |
SQL injection attacks are not intercepted. |
Advanced Settings |
To ignore attacks of a specific field, specify the field in the Advanced Settings area. After you add the rule, WAF will stop blocking attack events of the specified field. Select a target field from the first drop-down list box on the left. The following fields are supported: Params, Cookie, Header, Body, and Multipart.
NOTE:
If All is selected, WAF will not block all attack events of the selected field. |
Params All |
Add to: You can select an existing address group or create an address group.
Parameter |
Description |
---|---|
Add to |
|
Rule Name |
|
IP Address/Range/Group |
This parameter is mandatory when you select New rule for Add to. You can select IP address/Range or Address Group to add IP addresses a blacklist or whitelist rule. |
Group Name |
This parameter is mandatory when you select Address group for IP Address/Range/Group. Select an address group from the drop-down list. |
Protective Action |
|
Known Attack Source |
If you select Block for Protective Action, you can select a blocking type of a known attack source rule. WAF will block requests matching the configured IP address, Cookie, or Params for a length of time configured as part of the rule. |
Rule Description |
A brief description of the rule. This parameter is optional. |
A false alarm will be deleted within about a minute after the handling configuration is done. It will no longer be displayed in the attack event details list. You can refresh the browser cache and access the page for which the global whitelist rule is configured again to check whether the configuration is successful.
If an event is handled as a false alarm, the rule hit will be added to the global protection whitelist rule list. You can go to the Policies page and then switch to the Global Protection Whitelist page to manage the rule, including querying, disabling, deleting, and modifying the rule. For more details, see Configuring a Global Proteciton whitelist Rule to Ignore False Alarms.