surveillance

Update the alert policy.

Changed on

Recipients are the email addresses of members of the organisation with a verified address, 20 at most. Slack and Teams destinations need the Basic plan or above (403 plan_required; clearing them is always allowed).

put/surveillance/policy

Request

  • Base URL
    https://api.ismalicious.com
  • Auth
    • API key in header X-API-KEY
    • or HTTP bearer
    • or HTTP basic

Request body

chatDestinationIdsstring[] nullable
emailEnabledboolean nullable
emailRecipientsstring[] nullable
includeDevDependenciesboolean nullable
localestring nullable
p1Cadence'Immediate' | 'Daily' | 'Weekly' | 'Never'

SurveillanceAlertPolicy.p{1,2,3}Cadence.

p2Cadence'Immediate' | 'Daily' | 'Weekly' | 'Never'

SurveillanceAlertPolicy.p{1,2,3}Cadence.

p3Cadence'Immediate' | 'Daily' | 'Weekly' | 'Never'

SurveillanceAlertPolicy.p{1,2,3}Cadence.

webhooksEnabledboolean nullable

Response

OK

Changes