I'm using Kibana v.8.6.2
.
I get the error from Kibana Dashboard when I try to download csv from Discover Visualization. The Dev Tools Console gives me a error message like below.
Does anyone know why?
To solve this, move all inline scripts (e.g. onclick=[JS code]) and styles into external files.
⚠️ Allowing inline execution comes at the risk of script injection via injection of HTML script elements. If you absolutely must, you can allow inline script and styles by:
adding unsafe-inline as a source to the CSP header
adding the hash or nonce of the inline script to your CSP header.