services.grafana.settings.security.content_security_policy

NixOS option

Set to true to add the Content-Security-Policy header to your requests. CSP allows to control resources that the user agent can load and helps prevent XSS attacks.

type: boolean
Default
false
declared in: nixos/modules/services/monitoring/grafana.nixView source on NixOS/nixpkgs →