How to configure csp.rules for kibana on docker

I want to add the following rule to the kibana.yml for kibana on docker, version 7.7.1. I will externalise the kibana.yml filke using the volume mapping. But what is the right syntax ? The below syntax works for the native kibana version but not for the docker version.

csp.rules:
- "script-src 'unsafe-inline' 'unsafe-eval' 'self' https://maps.googleapis.com"

Thanks !

@Raja_SP could you please try

csp.rules: "script-src 'unsafe-inline' 'unsafe-eval' 'self' https://maps.googleapis.com"

Cheers

The syntax should be the same within the kibana.yml as there is no difference between how it is handled in Docker. Are you receiving an error with the config you provided? If so, can you provide it?

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.