Alert properties

List of properties

All alerts send the same list of properties across all alert types, they relate to both:

  • The alert that you set on Sonar

  • The event that triggered your alert

Below are the properties passed in the json:

key

type

options

event_id

int

Open

timestamp

timestamptz

Open

type

string

Limited to 4

alert_name

string

Open

event_verbose

string

Open

domain

string

Open

The event_verbose has been added to allow further flexibility on the way you use the alert.

As opposed to event properties or company properties, alert properties are not sent in a nested json but rather sent directly in the first level of the json object as shown below:

{
"event_id": 458325, // Not nested
"timestamp": "2020-04-23T12:25:32.209Z", // Not nested
"type": "technology_removed", // Not nested
"alert_name": "Hotjar deleted", // Not nested
"event_verbose": "Wine Central removed Hotjar", // Not nested
"domain": "winecentral.co.nz", // Not nested
"event_properties": {
"technology_name": "Hotjar",
"technology_domain": "https://www.hotjar.com/",
"technology_category": "Analytics"
},
"company_properties": {
"company_name": "Wine Central",
"alexa_rank": null,
"country": "New Zealand",
"location": "Albany, Auckland, New Zealand",
"industry": "Food & Beverages",
"employees_range": "1-10",
"social_linkedin_url": "linkedin.com/company/wine-central",
"social_facebook_url": "/4winecentral",
"social_twitter_url": null,
"year_founded": 2013
}
}

Values for properties with limited options

Below are all the all the possible values that could be returned for alert properties with limited options.

Type

option

description

technology_added

When a new technology is detected on a company website

technology_removed

When a technology is no longer detected on a company website

job_added

When a company just added a new job posting

job_removed

When a company removed an existing job posting