grafana/pkg/services/ngalert/api
Tania B 5652bde447
Encryption: Use secrets service (#40251)
* Use secrets service in pluginproxy

* Use secrets service in pluginxontext

* Use secrets service in pluginsettings

* Use secrets service in provisioning

* Use secrets service in authinfoservice

* Use secrets service in api

* Use secrets service in sqlstore

* Use secrets service in dashboardshapshots

* Use secrets service in tsdb

* Use secrets service in datasources

* Use secrets service in alerting

* Use secrets service in ngalert

* Break cyclic dependancy

* Refactor service

* Break cyclic dependancy

* Add FakeSecretsStore

* Setup Secrets Service in sqlstore

* Fix

* Continue secrets service refactoring

* Fix cyclic dependancy in sqlstore tests

* Fix secrets service references

* Fix linter errors

* Add fake secrets service for tests

* Refactor SetupTestSecretsService

* Update setting up secret service in tests

* Fix missing secrets service in multiorg_alertmanager_test

* Use fake db in tests and sort imports

* Use fake db in datasources tests

* Fix more tests

* Fix linter issues

* Attempt to fix plugin proxy tests

* Pass secrets service to getPluginProxiedRequest in pluginproxy tests

* Fix pluginproxy tests

* Revert using secrets service in alerting and provisioning

* Update decryptFn in alerting migration

* Rename defaultProvider to currentProvider

* Use fake secrets service in alert channels tests

* Refactor secrets service test helper

* Update setting up secrets service in tests

* Revert alerting changes in api

* Add comments

* Remove secrets service from background services

* Convert global encryption functions into vars

* Revert "Convert global encryption functions into vars"

This reverts commit 498eb19859.

* Add feature toggle for envelope encryption

* Rename toggle

Co-authored-by: Emil Tullstedt <emil.tullstedt@grafana.com>
Co-authored-by: Joan López de la Franca Beltran <joanjan14@gmail.com>
2021-11-04 18:47:21 +02:00
..
test-data Alerting: Remove ngalert feature toggle and introduce two new settings for enabling Grafana 8 alerts and disabling them for specific organisations (#38746) 2021-09-29 16:16:40 +02:00
tooling Encryption: Use secrets service (#40251) 2021-11-04 18:47:21 +02:00
api_admin.go Alerting: Introduces /api/v1/ngalert/alertmanagers to expose discovered and dropped Alertmanager(s) (#37632) 2021-08-13 13:14:36 +01:00
api_alertmanager_test.go Contact point testing (#37308) 2021-08-17 13:49:05 +01:00
api_alertmanager.go Encryption: Use secrets service (#40251) 2021-11-04 18:47:21 +02:00
api_prometheus.go You can now get alert rules for a dashboard or a panel using /api/v1/rules endpoints. (#39476) 2021-10-04 16:33:55 +01:00
api_ruler.go Chore: replace macaron with web package (#40136) 2021-10-11 14:30:59 +02:00
api_testing.go Chore: replace macaron with web package (#40136) 2021-10-11 14:30:59 +02:00
api.go Encryption: Use secrets service (#40251) 2021-11-04 18:47:21 +02:00
fork_ruler.go Alerting/consistent api errors (#34858) 2021-05-28 11:55:03 -04:00
forked_am.go Contact point testing (#37308) 2021-08-17 13:49:05 +01:00
forked_prom.go Alerting/consistent api errors (#34858) 2021-05-28 11:55:03 -04:00
generated_base_api_alertmanager.go Alerting: Refactor & fix unified alerting metrics structure (#39151) 2021-09-14 12:55:01 +01:00
generated_base_api_configuration.go Alerting: Refactor & fix unified alerting metrics structure (#39151) 2021-09-14 12:55:01 +01:00
generated_base_api_prometheus.go Alerting: Refactor & fix unified alerting metrics structure (#39151) 2021-09-14 12:55:01 +01:00
generated_base_api_ruler.go Alerting: Refactor & fix unified alerting metrics structure (#39151) 2021-09-14 12:55:01 +01:00
generated_base_api_testing.go Alerting: Refactor & fix unified alerting metrics structure (#39151) 2021-09-14 12:55:01 +01:00
lotex_am.go Chore: replace macaron with web package (#40136) 2021-10-11 14:30:59 +02:00
lotex_prom.go Chore: pass url parameters through context.Context (#38826) 2021-09-14 18:34:56 +02:00
lotex_ruler.go Chore: replace macaron with web package (#40136) 2021-10-11 14:30:59 +02:00
Makefile Alerting: Fix API specification (#38753) 2021-09-10 12:46:02 +03:00
promql_compat_test.go Alerting/testing promql extraction (#34665) 2021-05-25 11:54:50 -04:00
promql_compat.go Alerting: check upstream response content type in lotex proxy (#34760) 2021-05-27 14:12:29 +03:00
util_test.go [Alerting]: implement backend checking for forking to Lotex ruler (#32208) 2021-03-23 18:08:57 +02:00
util.go Chore: replace macaron with web package (#40136) 2021-10-11 14:30:59 +02:00