The default webhook template from the guide https://docs.vmware.com/en/VMware-Tanzu-CloudHealth/SaaS/using-and-managing-vmware-tanzu-cloudhealth/GUID-integrating-with-third-party-services.html?hWord=N4IghgNiBcIO4FMBGALA9mg1iAvkA gives me an error.
The default webhook template from the webhook guide is specifically for Slack. If you would like to set this up for Microsoft Teams then you can use the following template:
{ "text" : "{ Message: {{{ message }}}, PolicyName: {{{ policyName }}}, PolicyBlockName: {{{ policyBlockName }}}, AlertLink: {{{ alertLink }}}, EvaluatedAt: {{{ evaluatedAt }}}, IntegrationName: {{{ integrationName }}}, ResourceType: {{{ resourceType }}}, ResultSummary: {{{ resultSummary }}}, Warnings: {{{ warnings }}}, Violations: {{#violations}}{ New: {{New?}}, AccountName: {{AccountName}}, Tags: {{Tags}} } {{/violations}} }" }