# Alerts (/en/docs/platform/features/pci-dss/alerts)



PCI DSS 11.6.1 asks that you are alerted to unauthorized changes on your payment pages. The four **PCI compliance** alert events send a notification to your channels when something waits for a person, so nobody has to open the dashboard to find out.

Setting up alerts requires the website **Manager** role and a plan that includes alerting.

## The four events [#the-four-events]

| Event                                                 | When it fires                                                                                             | The link opens                                                                        |
| ----------------------------------------------------- | --------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------- |
| **New script to review on payment pages**             | A script runs on a payment page for the first time and nobody has approved it yet                         | The script on the **Scripts** page, ready to approve or reject                        |
| **Changed script to review on payment pages**         | A script on a payment page serves different content that nobody has approved yet                          | The script on the **Scripts** page, ready to approve or reject                        |
| **Security header change to review on payment pages** | A security header of a watched address appears, changes or disappears, and the new value waits for review | The header on the **Security headers** page, with its value before and after          |
| **Watched address failing**                           | Our scanner keeps failing to read a watched address, so its headers are no longer checked                 | The address on the **Current headers** tab, with why the scan fails and how to fix it |

An event fires only for what still waits for a person. A script or a header value that a person has already decided on sends nothing, and neither does a script decided by a [rule](/en/docs/platform/features/pci-dss/scripts/rules) as it arrives. The values read by the first scan of a new watched address do not send an alert either: they wait for review on the **Security headers** page.

Alerts are written in English on every channel.

## Set them up [#set-them-up]

1. Create at least one channel, if you have none: **Alerts** > **Configuration** > **Add channel**. For more information, refer to [Channels](/en/docs/platform/features/alerting/channels).
2. Select **Add rule**.
3. Give the rule a name, then open **Event** and choose one event in the **PCI compliance** group.
4. Pick one or more **Channels**, set the **Cooldown (minutes)**, and save.
5. Repeat for each of the four events. A rule watches one event, and its event cannot be changed after creation.

<!-- SCREENSHOT: img/pci-dss/alert-rule-pci.webp | Alert rule form, PCI compliance group open with the four events -->

To check that a channel works, select **Test** next to it. For the cooldown and how findings are grouped into notifications, refer to [Rules](/en/docs/platform/features/alerting/rules).

## Suggested setup [#suggested-setup]

Create one rule per event, all four sending to the same two channels:

* A **chat channel** your team reads every day, so changes are seen quickly.
* An **email channel** to the person who owns PCI DSS compliance, so someone is accountable for each change.

A cooldown of about 60 minutes keeps a deployment that adds several scripts to a few grouped messages.

## When an alert is missing [#when-an-alert-is-missing]

While a PCI event has no rule sending to an enabled channel, or a channel fails to deliver or is switched off, the website's PCI DSS recommendations say so, with a button to the **Alerts** page.

## Next steps [#next-steps]

* [Review scripts](/en/docs/platform/features/pci-dss/scripts/review-scripts)
* [Review headers](/en/docs/platform/features/pci-dss/security-headers/review-headers)
* [Failed scans](/en/docs/platform/features/pci-dss/security-headers/failed-scans)
* [Alert rules](/en/docs/platform/features/alerting/rules)
