Graylog2 / graylog-plugin-integrations

A collection of open source Graylog integrations that will be released together.
Other
14 stars 14 forks source link

Add summary to Teams adaptive card so the notification title show in Teams notifications #1341

Closed fbouynot closed 1 year ago

fbouynot commented 1 year ago

Description

Add the notification title in teams notifications.

What

Every Graylog notification in Teams looks like this : image The title says "card", and there is no icon.

I would expect the title to be the Graylog notification title instead of "card, like it is for LibreNMS: image

Why

This modification would allow us to know what is happening from our phone / computer notifications, without going to the Teams channel.

How

According to this Microsoft article, the summary field has to be filled. I think it should be in the file TeamsMessage.java, in the TeamsMessage class, where we could define a FIELD_SUMMARY mathing the notification title and add it to json properties.