mirror of
https://github.com/StackExchange/dnscontrol.git
synced 2024-05-11 05:55:12 +00:00
Notifications: Add support for Microsoft Teams (#812)
This commit is contained in:
@@ -21,7 +21,8 @@ Notifications are set up in your credentials json file. They will use the `notif
|
||||
...
|
||||
} ,
|
||||
"notifications":{
|
||||
"slack_url": "https://hooks.slack.com/services/T00000000/B00000000/XXXXXXXXXXXXXXXXXXXXXXXX"
|
||||
"slack_url": "https://hooks.slack.com/services/T00000000/B00000000/XXXXXXXXXXXXXXXXXXXXXXXX",
|
||||
"teams_url": "https://outlook.office.com/webhook/00000000-0000-0000-0000-000000000000@00000000-0000-0000-0000-000000000000/IncomingWebhook/00000000000000000000000000000000/00000000-0000-0000-0000-000000000000"
|
||||
}
|
||||
```
|
||||
|
||||
@@ -36,6 +37,13 @@ Please see the [Slack documentation](https://api.slack.com/messaging/webhooks) o
|
||||
|
||||
Configure `slack_url` to this webhook. Mattermost works as well, as they share the same api,
|
||||
|
||||
### Microsoft Teams
|
||||
|
||||
If you want to use the Teams integration, you need to create a webhook in Teams.
|
||||
Please see the [Teams documentation](https://docs.microsoft.com/en-us/microsoftteams/platform/webhooks-and-connectors/how-to/add-incoming-webhook#add-an-incoming-webhook-to-a-teams-channel)
|
||||
|
||||
Configure `teams_url` to this webhook.
|
||||
|
||||
### Bonfire
|
||||
|
||||
This is stack overflow's built in chat system. This is probably not useful for most people.
|
||||
@@ -44,7 +52,7 @@ Configure `bonfire_url` to be the full url including room and api key.
|
||||
|
||||
## Future work
|
||||
|
||||
Yes, this seems pretty limited right now in what it can do. We didn't want to add a bunch of notification types if nobody was going to use them. The good news is, it should
|
||||
Yes, this seems pretty limited right now in what it can do. We didn't want to add a bunch of notification types if nobody was going to use them. The good news is, it should
|
||||
be really simple to add more. We gladly welcome any PRs with new notification destinations. Some easy possibilities:
|
||||
|
||||
- Email
|
||||
|
||||
Reference in New Issue
Block a user