* feat(alerting): Add group-specific webhook URL for discord
Add group-specific webhook URL for discord alert
Provides support for paging multiple Discords based on the group selector while keeping backward compatibility to the old Discords configuration manifest
integration per team can be specified in the overrides sections in an array form.
ref: #96
Signed-off-by: Bo-Yi Wu <appleboy.tw@gmail.com>
* docs: update
Signed-off-by: Bo-Yi Wu <appleboy.tw@gmail.com>
* Update README.md
* Update README.md
* Update alerting/provider/discord/discord.go
Co-authored-by: TwiN <twin@linux.com>
* Update README.md
Co-authored-by: TwiN <twin@linux.com>
* test: revert testing name
* Update alerting/provider/discord/discord_test.go
Co-authored-by: TwiN <twin@linux.com>
Co-authored-by: TwiN <twin@linux.com>
* Initial implementation
* Added OAuth2 support to `client` config
* Revert "Initial implementation"
This reverts commit 7f2f3a603a.
* Restore vendored clientcredentials
* configureOAuth2 is now a func (including tests)
* README update
* Use the same OAuth2Config in all related tests
* Cleanup & comments
* Update email alerting provider to supply a username, maintaining backwards compatibility with from
* Update README.md
Co-authored-by: Tom Moitié <tomm@gendius.co.uk>
Co-authored-by: TwiN <twin@twinnation.org>
I've re-written the code for this several times before but always ended up not going through with it because a hashed Bcrypt string has dollar signs in it, which caused issues with the config due to environment variable support.
I finally decided to go through with it by forcing users to base64 encode the bcrypt hash
* Added support for pagerduty integration per group
* Added pagerduty per group tests
* bugfix: if no team is provided and no general integration is provided return the first pagerduty integration in team integrations
* Updated README
* Update README.md
Co-authored-by: Chris <twin@twinnation.org>
* Update alerting/provider/pagerduty/pagerduty.go
Co-authored-by: Chris <twin@twinnation.org>
* Update alerting/provider/pagerduty/pagerduty.go
Co-authored-by: Chris <twin@twinnation.org>
Co-authored-by: Achref Ben Saad <achref.bensaad@cimpress.com>
Co-authored-by: Chris <twin@twinnation.org>
* protocol: starttls: add timeout support
Signed-off-by: Charles Decoux <charles@phowork.fr>
* protocol: add ssl support
Signed-off-by: Charles Decoux <charles@phowork.fr>