Updated on 2022-02-22 GMT+08:00

Configuring False Alarm Masking Rules

This section describes how to configure false alarm masking rules.

You can add false alarms to the whitelist and ignore certain event IDs (for example, skip XSS check for a specified URL).

False alarm masking only applies to events logged by built-in basic web protection rules. If you want to mask events logged by custom rules, delete the rules.

Prerequisites

  • Login credentials have been obtained.
  • The domain name to be protected has been created.

Procedure

  1. Log in to the management console.
  2. Click in the upper left corner of the management console and select a region or project.
  3. Click Service List at the top of the page. Choose Security > Web Application Firewall. In the navigation pane on the left, choose Domains.
  4. Locate the row that contains the desired domain name. In the Operation column, click Configure Policy.
  5. In the False Alarm Masking area, specify Status. After the configuration completes, in the upper right corner of the Protection Status list, click Save. In the displayed dialog box, click Yes to save the settings. If you do not want to save the settings, click Cancel.
  6. Click Customize Rule. On the displayed False Alarm Masking page, click Add Rule in the upper left corner.

    If you do not click Save after changing Status in Step 5, a Warning dialog box is displayed when you click Customize Rule.

    • Click Yes to cancel the previous settings.
    • Click No and then Save to save the settings.

  7. In the displayed dialog box, specify the parameters by referring to Table 1.

    False alarm masking only applies to events logged by built-in basic web protection rules. If you want to mask events logged by custom rules, delete the rules.

    Table 1 Rule parameters

    Parameter

    Description

    Example Value

    Path

    Misreported URL excluding a domain name

    • Prefix match: The path ending with * indicates that the path is used as a prefix. For example, if the path to be protected is /admin/test.php or /adminabc, set Path to /admin*.
    • Exact match: The path to be entered must match the path to be protected. If the path to be protected is /admin, set Path to /admin.
    NOTE:
    • The path supports prefix and exact matches only and does not support regular expressions.
    • The path cannot contain two or more consecutive slashes. For example, ///admin. If you enter ///admin, the WAF engine converts /// to /.

    /admin

    For example, if the URL to be protected is http://www.example.com/admin, set Path to /admin.

    Event ID

    ID of the built-in rule corresponding to the attack event for which the false alarm masking is to be performed

    NOTE:

    To obtain the event ID, go to the Events page, select the Search tab, locate the row where the attack event resides, and click Handle False Alarm in the Operation column.

    0000-0000-0000-14-6faa68ff067b246a555a3efbb9fb83dc

  8. Click OK. If Rule added successfully is displayed in the upper right corner, the rule is added.

    To delete the added rule, click Delete in the row containing the target rule.