Built-in Protections
Check No PagerDuty Alerts
This protection ensures that no active PagerDuty alerts are triggered for the provided service.
Name: check-no-pagerduty-alerts
Parameters
apiKey
- a PagerDuty API keyserviceID
- PagerDuty ServiceID of the service you want to validate
application:
name: my-application
releaseChannels:
- name: my-release-channel
protections:
- ref:
name: check-no-pagerduty-alerts
parameters:
- name: apiKey
# this secret can be created with `pvnctl secrets`
secret:
secretRef:
key: pagerdutyApiKey
version: pagerdutyApiKey-0
- name: serviceID
string: '<service-id>'
Check No Datadog Alerts
This protection ensures no active Datadog monitors are triggered that match the Datadog tags provided in TagList
.
Name: check-no-datadog-alerts
Parameters
apiKey
- a Datadog API keyappKey
- a Datadog app key with themonitors_read
scopetagList
- a space-separated list of Datadog tags to filter the monitors on
application:
name: my-application
releaseChannels:
- name: my-release-channel
protections:
- ref:
name: check-no-datadog-alerts
parameters:
- name: apiKey
# this secret can be created with `pvnctl secrets`
secret:
secretRef:
key: datadogApiKey
version: datadogApiKey-0
- name: appKey
secret:
secretRef:
key: datadogAppKey
version: datadogAppKey-0
- name: tagList
string: "env:prod"
Updated about 2 months ago