Skip to content

Commit

Permalink
Add 'msteams' to TestMultitenantAlertmanager_FirewallShouldBlockHTTPB…
Browse files Browse the repository at this point in the history
…asedReceiversWhenEnabled (#7050)

Signed-off-by: Marco Pracucci <marco@pracucci.com>
  • Loading branch information
pracucci committed Jan 4, 2024
1 parent 7cb75d7 commit ed7844f
Showing 1 changed file with 15 additions and 0 deletions.
15 changes: 15 additions & 0 deletions pkg/alertmanager/multitenant_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -571,6 +571,21 @@ receivers:
authorization:
type: Bearer
credentials: secret
`, backendURL)
},
},
"msteams": {
getAlertmanagerConfig: func(backendURL string) string {
return fmt.Sprintf(`
route:
receiver: msteams
group_wait: 0s
group_interval: 1s
receivers:
- name: msteams
msteams_configs:
- webhook_url: %s
`, backendURL)
},
},
Expand Down

0 comments on commit ed7844f

Please sign in to comment.