coco_apm_exportdtconfig/configuration/20211213-201056_EUPROD/notifications/[ITSM][WK-Vehicle-Data].03c...

43 lines
1.4 KiB
HCL

resource "dynatrace_notification" "_ITSM__WK-Vehicle-Data_" {
web_hook {
name = "[ITSM][WK-Vehicle-Data]"
accept_any_certificate = false
active = true
alerting_profile = "cb5991e7-d0f4-307c-960a-5245c3ab0ba9"
notify_event_merges = false
payload = <<-EOT
[
{
"attributes": {
"CLASS": "BusinessTransaction",
"source": "[ITSM][WK-Vehicle-Data]",
"severity": "CRITICAL",
"origin": "APPD-194832",
"sub_origin": "Dynatrace SaaS",
"adapter_host": "https://xxu26128.live.dynatrace.com",
"msg": "{ProblemDetailsText}",
"contract_id": "10APP11779404",
"ars_esc": "Yes",
"ars_delay_time": "0",
"hostname": "test",
"sub_source": "Environment: CoCo_EMEA_Prod",
"server_loc": "",
"event_id": "AI001",
"dd_plus": "{ProblemSeverity}",
"dd1": "{ProblemURL}",
"dd2": "{PID}"
}
}
]
EOT
url = "https://apim-beta-prod.bmwgroup.com/evtmgmt/eventproxy/v1"
header {
name = "x-apikey"
value = "QkdrmGSgDAwU9iVF6cYEtVXPvUqciNai"
}
header {
name = "Authorization"
}
}
}