In VCF Operations 9.1.x, alerts configured with webhook payload templates in an array format (e.g., [...]) may fail to populate variable values, transmitting literal variable names instead.
[
{
"labels": {
"alertname": "${ALERT_DEFINITION} - ${RESOURCE_NAME}",
"notify_sys": "######",
"notify_grp": "######",
"resolve": "false"
},
"annotations": {
"updateDate": "${UPDATE_TIME}",
"resourceId": "${RESOURCE_ID}",
"adapterKind": "${ADAPTER_KIND}",
"resourceKind": "${RESOURCE_KIND}",
"resourceName": "${RESOURCE_NAME}",
"Health": "${OBJECT_HEALTH_STATE}",
"Risk": "${OBJECT_RISK_STATE}",
"Efficiency": "${OBJECT_EFFICIENCY_STATE}",
"impact": "${ALERT_IMPACT}",
"criticality": "${ALERT_CRITICALITY}",
"type": "${ALERT_TYPE}",
"subType": "${ALERT_SUBTYPE}",
"alertId": "${ALERT_ID}",
"status": "${ALERT_STATUS}",
"recommendations": "${ALERT_RECOMMENDATIONS}",
"AriaAlertURL": "${LINK_TO_ALERT}"
},
"generatorURL": "${LINK_TO_ALERT}"
}
]