From e35470969d24ab7dca0280297d7bfd0f39f10a11 Mon Sep 17 00:00:00 2001 From: dfitton Date: Thu, 21 Nov 2024 16:12:21 +0000 Subject: [PATCH] Update msteams.py Add "summary" line to replace 'Sent a Card' In message preview with title of the alert. --- cmk/notification_plugins/msteams.py | 1 + 1 file changed, 1 insertion(+) diff --git a/cmk/notification_plugins/msteams.py b/cmk/notification_plugins/msteams.py index 5ec2f60102a..6a80e75b50d 100644 --- a/cmk/notification_plugins/msteams.py +++ b/cmk/notification_plugins/msteams.py @@ -53,6 +53,7 @@ def _msteams_msg( return { "type": "message", + "summary": substitute_context(title, context), "attachments": [ { "contentType": "application/vnd.microsoft.card.adaptive",