Skip to content
This repository has been archived by the owner on Aug 2, 2022. It is now read-only.

URL validation for custom webhooks does not work with docker services networking #149

Open
youtous opened this issue May 14, 2020 · 0 comments
Labels
bug Something isn't working

Comments

@youtous
Copy link

youtous commented May 14, 2020

Hi,

Thank you for this kibana plugin!

I'm using a webhook processor in a container, I would like to be able to query the webhook service using it's name: http://webhook:8080/email or with http://webhook/email.

validateHost does not permits this (frontend validation).

Workaround

POST _opendistro/_alerting/destinations
{
  "name": "smtp",
  "type": "custom_webhook",
  "custom_webhook": {
    "url": "http://webhook-smtp:8080/email"
  }
}
@dbbaughe dbbaughe added the bug Something isn't working label May 18, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants