Getting started
Webhook alerts send a POST request to your specified URL and pass a JSON composed with 3 groups of data:
Alert properties (alert_name, ...)
These fields are directly returned in the top level of the json
Event properties (technology_name, ...)
These fields are nested in a json under the "event_properties" key
Company properties (employees_range, ...)
These fields are nested in a json under the "company_properties" key
A typical JSON payload for a webhook alert set through Sonar is as follow:
All keys are sent, with a null object returned when the data is not available.
Last updated