Grafana board with preset filters is not accepted as External Dashboard
Summary
Feature: Settings -> Operations -> External Dashboard
We monitor our Kubernetes Stack with Prometheus & Grafana.
I tried to include a deeplink to my Grafana-Dashboard with set filters for the correct Namespace.
The filters trigger the form validation and an error message is shown.
There was an error saving your changes. External dashboard URL is blocked: HTML/CSS/JS tags are not allowed
.
If i remove the filter params, the link is accepted. I think it should be possible to include Grafana Link with preset filters.
Steps to reproduce
Go to Settings -> Operations -> External Dashboard
Try a link like https://mygrafanaurl.com/myprojekt?orgId=1&refresh=10s&var-datasource=Prometheus&var-cluster=&var-namespace=stobag
The form validation will trigger. If you remove the URL params the link will be accepted.
What is the current bug behavior?
The link is validated and not accepted because of the url params.
What is the expected correct behavior?
The link is accepted as valid because grafana boards with preset filters is a valid usecase.