grafana/pkg/plugins
Joan López de la Franca Beltran 6415d2802e
Plugins: Requests validator (#30445)
* Introduce PluginRequestValidator abstraction with a NoOp implementation

* Update PluginRequestValidator abstraction to use the dsURL instead

* Inject PluginRequestValidator into the HTTPServer and validate requests going through data source proxy

* Inject PluginRequestValidator into the BackendPluginManager and validate requests going through it

* Validate requests going through QueryMetrics & QueryMetricsV2

* Validate BackendPluginManager health requests

* Fix backend plugins manager tests

* Validate requests going through alerting service

* Fix tests

* fix tests

* goimports

Co-authored-by: Leonard Gram <leo@xlson.com>
2021-02-03 20:47:45 +01:00
..
backendplugin Plugins: Requests validator (#30445) 2021-02-03 20:47:45 +01:00
datasource/wrapper Set signed in users email correctly (#30249) 2021-01-13 13:36:24 +01:00
testdata Plugins: Add support for signature manifest V2 (#29240) 2020-12-11 12:57:57 +01:00
app_plugin.go Chore: Remove unused Go code (#28852) 2020-11-17 11:51:31 +01:00
backend_utils.go Chore: Fix various spelling errors in back-end code (#25241) 2020-06-01 17:11:25 +02:00
dashboard_importer_test.go DashboardImport: Fix variable interpolation when property contains multiple variable expressions (#26574) 2020-07-24 11:12:44 +03:00
dashboard_importer.go Chore: Fix issues reported by staticcheck; enable stylecheck linter (#28866) 2020-11-05 15:37:11 +01:00
dashboards_test.go Chore: Enable whitespace linter (#25903) 2020-07-06 20:17:28 +02:00
dashboards_updater.go Plugins: Fix manifest verification (#24573) 2020-05-12 15:48:24 +02:00
dashboards.go Chore: Disable default golangci-lint filter (#29751) 2020-12-15 09:32:06 +01:00
datasource_plugin.go Plugins: Compose filesystem paths with filepath.Join (#28375) 2020-10-19 17:35:31 +02:00
error.go Plugins: Track plugin signing errors and expose them to the frontend (#28219) 2020-10-23 16:45:43 +02:00
frontend_plugin_test.go Chore: Enable whitespace linter (#25903) 2020-07-06 20:17:28 +02:00
frontend_plugin.go Plugins: Fix plugin URL paths on Windows (#28548) 2020-10-26 18:31:27 +01:00
manifest_test.go Plugins: Add support for signature manifest V2 (#29240) 2020-12-11 12:57:57 +01:00
manifest.go Plugins: Add support for signature manifest V2 (#29240) 2020-12-11 12:57:57 +01:00
models.go Plugins: Add support for signature manifest V2 (#29240) 2020-12-11 12:57:57 +01:00
panel_plugin.go Plugins: Let descendant plugins inherit their root's signature (#27970) 2020-10-05 13:28:18 +02:00
plugins_test.go Plugins: Add support for signature manifest V2 (#29240) 2020-12-11 12:57:57 +01:00
plugins.go Better logging of plugin scanning errors (#30231) 2021-01-12 19:17:25 +01:00
queries.go Provisioning: Adds support for enabling app plugins (#25649) 2020-06-22 17:49:13 +02:00
renderer_plugin.go Plugins: Compose filesystem paths with filepath.Join (#28375) 2020-10-19 17:35:31 +02:00
update_checker.go Chore: Disable default golangci-lint filter (#29751) 2020-12-15 09:32:06 +01:00