Help Center> Web Application Firewall> User Guide> Enabling Alarm Notifications

Enabling Alarm Notifications

This topic describes how to enable notifications for attack logs. Once this function is enabled, WAF sends you SMS or email notifications if an attack is detected.

  • Simple Message Notification (SMN) is a paid service. For details, see Product Pricing Details.
  • Before you set alarm notification, create a message topic in the SMN service as an administrator. For details, see Publishing a Message.
  • If you have enabled enterprise projects, you can select your enterprise project from the Enterprise Project drop-down list and enable alarm notifications in the project.

Prerequisites

SMN has been enabled.

Constraints

Alarm notifications are sent if the number of attacks is at least equal to the threshold configured for a certain period.

Alarm notification is not included in the detection edition.

Procedure

  1. Log in to the management console.
  2. Go to the Events page by following the steps shown in Figure 1.

    Figure 1 Events page

  3. Click the Set Notification tab and configure alarm notification parameters by referring to Table 1. Figure 2 shows an example.

    Figure 2 Configuring alarm notifications
    Table 1 Description of notification setting parameters

    Parameter

    Description

    Notification

    Whether alarm notification is enabled.

    • : enabled.
    • : disabled.

    Notification Topic

    Select a topic from the drop-down list.

    If there are no topics, click View Topic and perform the following steps to create a topic:
    1. Create a topic. For details, see Creating a Topic.
    2. Add one or more subscriptions to the topic. You will need to provide a phone number, email address, function, platform application endpoint, DMS endpoint, or HTTP/HTTPS endpoint for receiving alarm notifications. For details, see Adding a Subscription.
    3. Confirm the subscription. After the subscription is added, confirm the subscription.

    For details about topics and subscriptions, see the Simple Message Notification User Guide.

    Threshold

    Alarm threshold.

    NOTE:

    Alarm notifications are sent when the number of attacks is greater than or equal to the threshold within the configured period.

    Event Type

    By default, All is selected. To specify event types, click Custom.

  4. Click OK.

Example Alarm Notification Email

If you have enabled alarm notifications and configured email alarm notifications, WAF emails you reports of any attacks that occur. Figure 3 shows an example of an alarm notification email.

Figure 3 Alarm notification email