mirror of
https://github.com/grafana/grafana.git
synced 2025-08-03 05:08:36 +08:00

* Use a enable configuration to enable frontend sandbox * Modify settings to load enableFrontendSandbox * Check for signature type * Update commment * Fix e2e tests for the frontend sandbox * Modify logic so a custom check function is used instead of a list of checks * Fixes flaky test * fix comment * Update comment * Empty commit * Empty commit
18 lines
790 B
INI
18 lines
790 B
INI
|
|
[security]
|
|
content_security_policy = true
|
|
content_security_policy_template = """require-trusted-types-for 'script'; script-src 'self' 'unsafe-eval' 'unsafe-inline' 'strict-dynamic' $NONCE;object-src 'none';font-src 'self';style-src 'self' 'unsafe-inline' blob:;img-src * data:;base-uri 'self';connect-src 'self' grafana.com ws://$ROOT_PATH wss://$ROOT_PATH;manifest-src 'self';media-src 'none';form-action 'self';"""
|
|
enable_frontend_sandbox_for_plugins = sandbox-app-test,sandbox-test-datasource,sandbox-test-panel
|
|
|
|
[feature_toggles]
|
|
enable = publicDashboards
|
|
|
|
[plugins]
|
|
allow_loading_unsigned_plugins=grafana-extensionstest-app,grafana-extensionexample1-app,grafana-extensionexample2-app,grafana-extensionexample3-app
|
|
|
|
[database]
|
|
type=sqlite3
|
|
wal=true
|
|
max_idle_conn = 2
|
|
max_open_conn = 2
|