grafana/pkg/services/pluginsintegration
Ieva c310a20966
AuthZ: add headers for IP range AC checks for cloud data sources (#80208)
* add feature toggle

* add a middleware that appens headers for IP range AC

* sort imports

* sign IP range header and only append it if the request is going to allow listed data sources

* sign a random generated string instead of IP, also change the name of the middleware to make it more generic

* remove the DS IP range AC options from the config file; remove unwanted change

* add test

* sanitize the URLs when comparing

* cleanup and fixes

* check if X-Real-Ip is present, and set the internal request header if it is not present

* use split string function from the util package
2024-01-31 18:09:24 +01:00
..
adapters Replace signed in user for identity.requester (#74048) 2023-08-30 16:51:18 +02:00
angulardetectorsprovider FeatureToggles: Add context and and an explicit global check (#78081) 2023-11-14 12:50:27 -08:00
angularinspector FeatureToggles: Add context and and an explicit global check (#78081) 2023-11-14 12:50:27 -08:00
angularpatternsstore Plugins: Angular patterns: Use ETag for GCOM requests (#74453) 2023-09-12 18:03:57 +02:00
cachekvstore Plugins: Refactor kvstore usage in signing keys and angular patterns (#73154) 2023-09-05 16:20:42 +02:00
clientmiddleware AuthZ: add headers for IP range AC checks for cloud data sources (#80208) 2024-01-31 18:09:24 +01:00
config FeatureFlags: Use interface rather than manager (#80000) 2024-01-09 10:38:06 -08:00
dashboards Plugins: Move store and plugin dto to pluginsintegration (#74655) 2023-09-11 13:59:24 +02:00
keyretriever Plugins: Refactor kvstore usage in signing keys and angular patterns (#73154) 2023-09-05 16:20:42 +02:00
keystore Plugins: Refactor kvstore usage in signing keys and angular patterns (#73154) 2023-09-05 16:20:42 +02:00
licensing Plugins: Migrate licensing and access control to pkg/services/pluginsintegration package (#65258) 2023-03-27 11:15:37 +02:00
loader FeatureFlags: Use interface rather than manager (#80000) 2024-01-09 10:38:06 -08:00
pipeline FeatureFlags: Use interface rather than manager (#80000) 2024-01-09 10:38:06 -08:00
pluginaccesscontrol FeatureFlags: Avoid using cfg.IsFeatureToggleEnabled (#81407) 2024-01-28 15:22:45 -08:00
plugincontext K8s/DataSource: Introduce PluginConfigProvider (#80928) 2024-01-22 11:32:25 -08:00
pluginerrs Plugins: Add context to StaticRouteResolver and ErrorResolver interfaces (#73121) 2023-08-10 10:32:12 +02:00
pluginsettings Chore: use any rather than interface{} (#74066) 2023-08-30 18:46:47 +03:00
pluginstore Plugins: Add backend check for app page role access (#78269) 2023-12-18 16:12:46 +01:00
renderer Plugins: Update renderer plugin source (#80643) 2024-01-18 11:06:33 +01:00
serviceregistration Plugins: Rename externalServiceAuthentication to iam (#78686) 2023-12-04 13:14:21 +01:00
doc.go Plugins: Refactor forward of cookies, OAuth token and header modifications by introducing client middlewares (#58132) 2022-12-01 19:08:36 +01:00
plugins_integration_test.go Cloud Monitoring: Add standalone files and modify plugin.json (#81596) 2024-01-30 15:52:44 -07:00
pluginsintegration.go AuthZ: add headers for IP range AC checks for cloud data sources (#80208) 2024-01-31 18:09:24 +01:00
test_helper.go Plugins: Fix loading of dist folders (#80015) 2024-01-08 11:45:03 +01:00