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. You will no longer receive any alarm notifications about the event.
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.
The attack event will not be displayed on the Events page. You will no longer receive any alarm notifications about the event.
Parameter |
Description |
---|---|
Event Type |
Type of attack. By default, All is selected. You can view logs of all attack types or select an attack type to view corresponding attack logs. |
Protective Action |
The options are Block, Log only, and Verification code. |
Source IP Address |
Public IP address of the web visitor/attacker By default, All is selected. You can view logs of all attack source IP addresses, select an attack source IP address, or enter an attack source IP address to view corresponding attack logs. |
URL |
Attacked URL |
Event ID |
ID of the event |
Parameter |
Description |
Example Value |
---|---|---|
Time |
When the attack occurred |
2021/02/04 13:20:04 |
Source IP Address |
Public IP address of the web visitor/attacker |
None |
Geolocation |
Location where the IP address of the attack originates from |
- |
Domain Name |
Attacked domain name |
www.example.com |
URL |
Attacked URL |
/admin |
Malicious Load |
The location or part of the attack that causes damage or the number of times that the URL was accessed. NOTE:
|
id=1 and 1='1 |
Event Type |
Type of attack |
SQL injection |
Protective Action |
Protective actions configured in the rule. The options are Block, Log only, and Verification code. NOTE:
If an access request matches a web tamper protection rule, information leakage prevention rule, or data masking rule, the protective action is marked as Mismatch. |
Block |
Status Code |
HTTP status code returned on the block page. |
418 |
To view event details, click Details in the Operation column of the event list.
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 |
ID |
This parameter is mandatory when you select ID for Ignored Protection Type. ID of an attack event on the Events page. If the event type is Custom, it has no event ID. Click Handle False Alarm in the row containing the attack event to obtain the ID. You are advised to configure global protection whitelist (formerly false alarm masking) rules on the Events page by referring to Handling False Alarms. |
041046 |
Attack 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 |
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 request the page for which the false alarm masking rule is configured to check whether the configuration takes effect.
If an event is handled as a false alarm, the rule hit will be added to the global protection whitelist (formerly false alarm masking) rule list. You can go to the Policies page and then switch to the Global Protection Whitelist (Formerly False Alarm Masking) page to manage the rule, including querying, disabling, deleting, and modifying the rule. For details, see Configuring a Global Protection Whitelist (Formerly False Alarm Masking) Rule.