Skip to content

Latest commit

 

History

History

msteams

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 

Microsoft Teams plugin

The msteams plugin provides alerts that send messages to Microsoft Teams channels.

Alerts

msteams.message

alert msteams.message "example" {
  url = "https://outlook.office.com/webhook/...../IncomingWebhook/....."
  title = "Service alert"
  theme = "#ff0000"
}

Sends a Teams message via an Incoming Webhook connector. See the Microsoft documentation for how to add an Incoming Webhook connector.

The title and theme parameters are optional. Title defaults to "Goplum alert". The theme parameter controls the colour scheme of the message, and defaults to "#6c2b8f".