# Working with Triggers

Triggers are tools used to set up Wallarm response to different events. Triggers combine a significant number of events the system can react to with a variety of possible reactions. This constructor-like process allows configuring complex behaviors that match your company's unique security needs.

Triggers are configured in the **Triggers** section in the [US](https://us1.my.wallarm.com/triggers) or [EU](https://my.wallarm.com/triggers) Cloud. To create a trigger for one endpoint with its filter prefilled, use [API Discovery](https://docs.wallarm.com/6.x/api-discovery/exploring.md#triggers).

![Section to configure triggers](https://docs.wallarm.com/6.x/images/user-guides/triggers/triggers-section.png)

## How it works

Each trigger consists of the following components that you can configure:

* **Condition**: an event that Wallarm should react to. For example: getting a certain amount of attacks, a denylisted IP address, and a new user added to the account.
* [**Filters**](#understanding-filters): the condition details. For example: if condition is "More than 10,000 attacks per day", then set the **Type** filter to "SQLi" and the **Response status** to "200" and for the trigger that will mean "Act if there were more than 10,000 SQLi attacks per day that got the 200 response".
* **Reaction**: an action that should be performed if the specified condition and filters are met. For example: sending the notification to Slack or another system configured as the [integration](https://docs.wallarm.com/6.x/user-guides/settings/integrations/integrations-intro.md), blocking IP address, or marking requests as a brute‑force attack.

## What you can do with triggers

Using triggers, you can:

* Configure protection mechanisms for your applications and APIs:

    * [Protection from multi-attack perpetrators](https://docs.wallarm.com/6.x/admin-en/configuration-guides/protecting-with-thresholds.md)
    * [Brute force protection](https://docs.wallarm.com/6.x/admin-en/configuration-guides/protecting-against-bruteforce.md)
    * [Forced browsing protection](https://docs.wallarm.com/6.x/admin-en/configuration-guides/protecting-against-forcedbrowsing.md)
    * [BOLA protection](https://docs.wallarm.com/6.x/admin-en/configuration-guides/protecting-against-bola-trigger.md)

* Configure notifications and alerts for security and API inventory events, including:

    * [New, unused, and changed API endpoints discovered from real traffic](https://docs.wallarm.com/6.x/api-discovery/track-changes.md#per-endpoint-alerts-via-triggers)
    * Exceeded thresholds for attacks and incidents
    * Detection of certain attack types or compromised user accounts in traffic
    * IP addresses added to the denylist
    * New users added to the company account in Wallarm Console

    Notifications can be delivered through configured [integrations](https://docs.wallarm.com/6.x/user-guides/settings/integrations/integrations-intro.md), including SIEM systems, messengers, and other external tools.

## Understanding filters

Filters are used for [condition](#how-it-works) detailing. For example, you can set up reactions to attacks of certain types, such as brute-force attacks, SQL injections and others. You can add one or more filters in the Wallarm Console interface and set values for them.

![Available filters](https://docs.wallarm.com/6.x/images/user-guides/triggers/trigger-filters.png)

The following filters are available:

* **URI** (only for the conditions **Brute force**, **Forced browsing** and **BOLA**): full URI to which the request was sent. URI can be configured via the [URI constructor](https://docs.wallarm.com/6.x/user-guides/rules/rules.md#uri-constructor) or [advanced edit form](https://docs.wallarm.com/6.x/user-guides/rules/rules.md#advanced-edit-form).
* **Type** is a [type](https://docs.wallarm.com/6.x/attacks-vulns-list.md) of attack detected in the request or a type of vulnerability the request is directed to.
* **Application** is the [application](https://docs.wallarm.com/6.x/user-guides/settings/applications.md) that receives the request.
* **IP** is an IP address from which the request is sent.

    The filter expects only single IPs, it does not allow subnets, locations and source types.
* **Domain** is the domain that receives the request.
* **Response status** is the response code returned to the request.
* **Target** is an application architecture part that the attack is directed at or in which the incident is detected. It can take the following values: `Server`, `Client`, `Database`.
* **User's role** is the [role](https://docs.wallarm.com/6.x/user-guides/settings/users.md#user-roles) of the added user. It can take the following values: `Deploy`, `Analyst`, `Administrator`, `Read only`, `API developer`, and if the [multitenancy](https://docs.wallarm.com/6.x/installation/multi-tenant/overview.md) feature is enabled - `Global Administrator`, `Global Analyst`, `Global Read Only`.

## Default triggers

New company accounts come with the following default (pre-configured) triggers:

!!! info "Hits from the same IP trigger no longer works"
    Starting in August 2026, the **Hits from the same IP** trigger — which grouped hits from one source IP into a single attack — no longer works. Group attacks by source IP on demand instead: in the **Attacks** section, set **Group by** to source IP (see [Attack Search and Filters](https://docs.wallarm.com/6.x/user-guides/search-and-filters/attack-filters.md#grouping)). The trigger may still appear in this section for some time, but it has no effect.

* Graylist IP for 1 hour when it originates more than 3 different [malicious payloads](https://docs.wallarm.com/6.x/about-wallarm/protecting-against-attacks.md#malicious-payload) within 1 hour

    [Graylist](https://docs.wallarm.com/6.x/user-guides/ip-lists/overview.md) is a list of suspicious IP addresses processed by the node as follows: if graylisted IP originates malicious requests, the node blocks them while allowing legitimate requests. In contrast to graylist, [denylist](https://docs.wallarm.com/6.x/user-guides/ip-lists/overview.md) points to IP addresses that are not allowed to reach your applications at all - the node blocks even legitimate traffic produced by denylisted sources. IP graylisting is one of the options aimed at the reduction of [false positives](https://docs.wallarm.com/6.x/about-wallarm/protecting-against-attacks.md#false-positives).

    The trigger is released in any node filtration mode, so that it will graylist IPs regardless of the node mode.

    However, the node analyzes the graylist only in the **safe blocking** mode. To block malicious requests originating from graylisted IPs, switch the node [mode](https://docs.wallarm.com/6.x/admin-en/configure-wallarm-mode.md#available-filtration-modes) to safe blocking learning its features first.

    The hits with the Brute force, Forced browsing, Resource overlimit, Data bomb, or Virtual patch attack types are not considered in this trigger.

You can temporarily disable a default trigger. You can also modify behavior provided by the default trigger - to do so, create your custom triggers of the same type. Creating any custom trigger deletes the default one; if you delete all your custom triggers, the default is restored.

## Trigger processing priorities

When there are several triggers with identical conditions (for example, **Brute force**, **Forced browsing**, **BOLA**) and some of them have nesting level URI, requests to lower nesting level URI will be counted only in the trigger with the filter by the lower nesting level URI.

Triggers without URI filter are considered to be the higher nesting level.

**Example:**

* The first trigger with some condition has no filter by the URI (requests to any application or its part are counted by this trigger).
* The second trigger with the same condition has the filter by the URI `example.com/api`.

Requests to `example.com/api` are counted only by the second trigger with the filter by `example.com/api`.

## Disabling and deleting triggers

* To temporarily stop sending notifications and reactions to events, you can disable the trigger. A disabled trigger will be displayed in the lists with **All** and **Disabled** triggers. To re‑enable sending notifications and reactions to events, the **Enable** option is used.
* To permanently stop sending notifications and reactions to events, you can delete the trigger. Deleting a trigger cannot be undone. The trigger will be permanently removed from the trigger list.

To disable or delete the trigger, please select an appropriate option from the trigger menu and confirm the action if required.
