Viewing Protection Event Logs

On the Events page, you can view events generated for blocked attacks and logged only attacks. You can view details of WAF events, including the time an event occurs, origin server IP address, geographic location of the origin server IP address, malicious load, and hit rule.

Important

On the WAF console, you can view the event data for all protected domain names over the last 30 days.

Prerequisites

The website to be protected has been connected to WAF.

Procedure

  1. Log in to the management console.

  2. Click image1 in the upper left corner of the management console and select a region or project.

  3. Click image2 in the upper left corner and choose Web Application Firewall under Security.

  4. In the navigation pane on the left, choose Events.

  5. Click the Search tab. In the website or instance drop-down list, select a website to view corresponding event logs. The query time can be Yesterday, Today, Past 3 days, Past 7 days, Past 30 days, or a time range you configure. Table 2 lists related parameters.

    Table 1 Event parameters

    Parameter

    Parameters

    Event Type

    Type of the 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.

    Table 2 Parameters in the event list

    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

    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

    • In a CC attack, the malicious load indicates the number of times that the URL was accessed.

    • For blacklist protection events, the malicious load is left blank.

    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

    Operation

    You can perform the following operations in the Operation column:

    • Click Details to view details about the attack event.

    • Click Handle False Alarm to handle the attack event as a false alarm.

    Details

    Note

    To view event details, click Details in the Operation column of the event list.