Severity and state mappings for Sentry

Alert priority and resolution state mapping between Sentry and Incident Response.

Sentry alert priority mapping

Sentry’s alert priority is based on two fields and a header value in payload.

Header value of interest is: sentry-hook-resource.

The fields of interest are:
  • action
  • data.issue.level
If the header value for sentry-hook-resource is metric_alert, then the payload value of data.issue.level is not applied, and the severity level is set to the default value, Warning/0.
In Sentry, the data.issue.level is applicable only if action has one of the following values:
  • triggered
  • critical
  • warning
  • created
Sentry payload field Sentry payload value Incident Response alert priority value
data.issue.level fatal P1-Critical
error P2-High
warning P4-Low
action resolved 0/Clear

The default value for alert priority is P4-Low.

Sentry resolution state mapping

The field of interest is: action

Sentry payload field Sentry payload value Incident Response alert resolution state value
action resolved Closing
New
Note: If you require any other severity and state mappings, use the Generic webhook integration.