grafana/pkg/api/pluginproxy
Ryan McKinley 0fedd316eb
Datasource Proxy: Restrict full access to setting.Cfg (#125180)
Plugin Proxy: Narrow data source config to DataSourceProxySettings

The data source proxy only needs a handful of fields from setting.Cfg.
Introduce a focused DataSourceProxySettings struct that exposes only
those fields, load Azure settings lazily via a resolver callback so the
proxy avoids touching Azure configuration unless an Azure-authenticated
route is matched, and pass the new struct through the datasource proxy
service in place of *setting.Cfg.
2026-05-21 12:09:14 +03:00
..
test-data
ds_auth_provider.go Datasource Proxy: Restrict full access to setting.Cfg (#125180) 2026-05-21 12:09:14 +03:00
ds_auth_provider_test.go Chore: use any rather than interface{} (#74066) 2023-08-30 18:46:47 +03:00
ds_proxy.go Datasource Proxy: Restrict full access to setting.Cfg (#125180) 2026-05-21 12:09:14 +03:00
ds_proxy_test.go Datasource Proxy: Restrict full access to setting.Cfg (#125180) 2026-05-21 12:09:14 +03:00
pluginproxy.go DataSources: Load secure values from decrypter (#124515) 2026-05-11 18:58:44 +03:00
pluginproxy_test.go AppPlugins: Refactor plugin proxy for easier reuse in apiserver (#124075) 2026-05-05 14:11:47 +00:00
settings.go Datasource Proxy: Restrict full access to setting.Cfg (#125180) 2026-05-21 12:09:14 +03:00
token_provider.go
token_provider_azure.go Datasource Proxy: Restrict full access to setting.Cfg (#125180) 2026-05-21 12:09:14 +03:00
token_provider_gce.go
token_provider_generic.go
token_provider_jwt.go
token_provider_test.go Chore: use any rather than interface{} (#74066) 2023-08-30 18:46:47 +03:00
utils.go Chore: use any rather than interface{} (#74066) 2023-08-30 18:46:47 +03:00
utils_test.go