Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add auth options for WebHook notifier #1149

Closed

Conversation

simonpasquier
Copy link
Member

@simonpasquier simonpasquier commented Dec 18, 2017

This change adds common authentication options to the WebHook notifier. Fixes #516.

TODO

  • Bearer token
  • TLS client certificate
  • TLS options
  • Basic authentication
  • Add unit tests

This change adds common authentication options to the WebHook notifier:

- Bearer token
- TLS client certificate
- Basic authentication

It also adds TLS options for CA certificate, server name and disabling
validation of server-side certificates.
@simonpasquier
Copy link
Member Author

I'm still testing it on my side but in case someone has time for a review, go ahead.

@brian-brazil
Copy link
Contributor

#516 is the one you mean. Security-related code should not be copied&pasted.

This requires to pull github.com/prometheus/common/config in vendor.
@simonpasquier
Copy link
Member Author

simonpasquier commented Dec 20, 2017

@brian-brazil PTAL when you have time. I have probably missed the contentious points you mentioned on IRC... Ok, I've found the relevant discussion at #930...

@simonpasquier
Copy link
Member Author

Closing it for now since it requires consensus across maintainers and another PR had already been opened.

hh pushed a commit to ii/alertmanager that referenced this pull request Nov 19, 2018
* Change Dfly's CPU counting frequency, see: prometheus/node_exporter#1129

Signed-off-by: iori-yja <fivio.11235813@gmail.com>

* Convert Dfly's CPU unit into second

Signed-off-by: iori-yja <fivio.11235813@gmail.com>

* Check BSD's mib which accounts for swap size; see prometheus#1127

Signed-off-by: iori-yja <fivo.11235813@gmail.com>

* fix swap check code

Signed-off-by: iori-yja <fivo.11235813@gmail.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants