Alerting in CentralCSP
CentralCSP's alerting feature sends notifications when important events occur on your monitored sites such as new scripts in your Script Inventory or CVE-related findings. Real-time alerting is critical for maintaining security and compliance because it turns passive data into actionable signals.
What Alerting Does
Alerting connects your CentralCSP data to the channels you use every day. When a configured event happens, CentralCSP can notify you via:- Webhooks , receive a POST request with a JSON body containing the rule name, payload, and timestamp.
- Slack channel, receive a message in the channel when an event occurs.
Why It Matters for Security
A Content Security Policy and reporting give you visibility after the fact. Alerting shortens the time between “something happened” and “someone is looking at it.” For example:- New origin detected Receive a notification when a new origin is used to load scripts.
- New or changed scripts If a new script appears on a payment page or a known script's hash changes, alerting can notify you so you can verify it's authorized.
- CVE and script risk When CentralCSP correlates scripts with known vulnerabilities, alerts help you prioritize patching or temporary mitigations.
Why It Matters for Compliance
Frameworks like PCI DSS expect you to manage and monitor scripts on pages that handle cardholder data. Demonstrating that you:- Know what scripts run (inventory)
- Restrict what can run (CSP)
- Are notified when something relevant changes (alerting)
How to Use It
In CentralCSP you configure:- Event types e.g. new script detected, CVE matched.
- Channels webhook URLs or Slack channel.
- Scope which sites or policies the alerts apply to.
See also
- Script Inventory Why tracking scripts supports security and PCI DSS
- Reporting-Endpoints header How CSP reports are collected and used
- Get started with CSP reporting Setting up reporting so alerts have data to work with
Continue Reading
JSONP and Content Security Policy
Learn what is the JsonP endpoint and what is the impact of using it with CSP. See how to avoid using JSONP endpoint and how it can be used to bypass CSP.
2025-06-08
10 min read
Read more
CSP & meta tags
Learn how to implement Content-Security-Policy using meta tags and understand the limitations compared to HTTP headers.
2024-11-16
4 min read
Read more