{
  "extensionType": "bigpanda",
  "authenticationType": "basicAuth",
  "endPointForAdd": "https://integrations.bigpanda.io/oim/api/alerts",
  "endPointForUpdate": "https://integrations.bigpanda.io/oim/api/alerts",
  "configurations": [
    {
      "eventTypes": [
        3
      ],
      "header": {
        "Accept": "application/json",
        "Content-Type": "application/json; charset=utf-8",
        "Authorization": "Bearer ${accessToken}"
      },
      "body": {
        "Subject": "ALERT - ${severity} | ${value} | ${subject}",
	"Alert Id" : "${alert_id}_${rule_id}",
        "check": "${rule_name}",
	"Severity": "${severity}",
	"Metrics Subject" : "${subject}",
	"status": "{incident_severity}.${severity}.status",
	"Value": "${value}",
	"Event Time": "${event_time} ${timezone}",
        "Alert Time Range": "${event_time_range} ${timezone}",
        "Conditions": "${conditions}",
        "Expression": "${exp}",
        "Message": "${rule_msg}",
        "Description": "${rule_desc}",
        "app_key": "${appKey}",
        "host": "cavisson.com",
        "CT": "${tags}"
      }
    },
    {
      "eventTypes": [
        0
      ],
      "header": {
        "Content-Type": "application/json",
        "Authorization": "Bearer ${accessToken}"
      },
      "body": {
        "app_key": "${appKey}",
        "status": "ok",
        "host": "cavisson.com",
        "check": "Test from Cavisson"
      }
    }
  ],
  "incident_severity": {
    "Critical": {
      "status": "critical"
    },
    "Major": {
      "status": "warning"
    },
    "Minor": {
      "status": "warning"
    },
    "Normal": {
      "status": "ok"
    }
  }
}

