alerting-kibana-plugin
alerting-kibana-plugin copied to clipboard
[BUG] .company TLD marked as "invalid" as Destination-Url
Describe the bug A clear and concise description of what the bug is.
To Reproduce Steps to reproduce the behavior:
- Go to 'Alerting'
- Click on 'Destinations'
- Click on 'Add Destination'
- Select Type 'Custom Webhook'
- Enter Webhook URL - 'https://example.company'
- See error
Expected behavior This is a valid URI
Screenshots
Additional context
Do you really need to check for a valid TLD? Something like .berlin
shows an error as well.
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 ?
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.
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