alerting-kibana-plugin icon indicating copy to clipboard operation
alerting-kibana-plugin copied to clipboard

[BUG] .company TLD marked as "invalid" as Destination-Url

Open Kjarrigan opened this issue 5 years ago • 3 comments

Describe the bug A clear and concise description of what the bug is.

To Reproduce Steps to reproduce the behavior:

  1. Go to 'Alerting'
  2. Click on 'Destinations'
  3. Click on 'Add Destination'
  4. Select Type 'Custom Webhook'
  5. Enter Webhook URL - 'https://example.company'
  6. See error

Expected behavior This is a valid URI

Screenshots image

Additional context Do you really need to check for a valid TLD? Something like .berlin shows an error as well.

Kjarrigan avatar Oct 11 '19 11:10 Kjarrigan

Just saw that there is a different repository for the "frontend" stuff. So probably this has to be moved to opendistro-for-elasticsearch/alerting-kibana-plugin ?

Kjarrigan avatar Oct 11 '19 11:10 Kjarrigan

Hi @Kjarrigan,

Yes you are correct this check is being done on the Kibana side. I will transfer your issue there.

As a work around you can try to create the destination through API, the backend validation is a little different. Let me know if you have any issues with this work around.

lucaswin-amzn avatar Oct 14 '19 20:10 lucaswin-amzn

As a work around you can try to create the destination through API, the backend validation is a little different.

That worked thanks.

For anyone who has the same issue, the API-call is documented here

Kjarrigan avatar Oct 15 '19 07:10 Kjarrigan