security-dashboards-plugin icon indicating copy to clipboard operation
security-dashboards-plugin copied to clipboard

[Improvement] Use hideLocalCluster flag to determine whether a dataSourceId must be present

Open DarshitChanpura opened this issue 1 year ago • 1 comments
trafficstars

At present, the dataSourceId schema validation for a route is lax in the sense that a dataSourceId when not present, it falls back to "Local Cluster".

This validation should be updated to check for hideLocalCluster flag. If the flag is set to false, then check if dataSourceId is present and a non-empty string.

DarshitChanpura avatar Oct 16 '24 03:10 DarshitChanpura