getsentry / getsentry/sentry

[Metric Alerts] Add event.type:csp as an event filter option.

Closed
#44,375 6 comments 2 reactions 0 assignees View on GitHub
Security
Dominant language
Python
Stars
44.8k
Forks
4.9k
Avg merge
1d 5h
Merged PRs (30d)
624

Description

### Problem Statement

Currently, in metric alerts, there are only options for `event.type:error` and `event.type:default` and no way to alert based on the csp type.

Screenshot 2023-02-09 at 1 28 14 PM

Specfic customer feedback:
_I think being able to build an alert saying I got more than X CSP events in Y time frame would be very useful if an attacker is trying a bunch of attacks that are generating CSP violations._

### Solution Brainstorm

Ability to add `event.type:csp` as an option in the dropdown.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.