grafana/pkg/services/ngalert/notifier/channels
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
..
alertmanager_test.go Encryption: Use secrets service (#40251) 2021-11-04 18:47:21 +02:00
alertmanager.go Encryption: Use secrets service (#40251) 2021-11-04 18:47:21 +02:00
base.go Alerting: Validate contact point configuration during migration to Unified Alerting (#40717) 2021-10-22 10:11:06 +01:00
default_template_test.go Alerting: Fix notifier tests to close the temp file (#38992) 2021-09-09 09:56:42 -04:00
default_template.go Alerting: Fix notifier tests to close the temp file (#38992) 2021-09-09 09:56:42 -04:00
dingding_test.go Alerting: Improve receiver initialisation errors (#36814) 2021-07-19 11:58:35 +03:00
dingding.go Alerting: Validate contact point configuration during migration to Unified Alerting (#40717) 2021-10-22 10:11:06 +01:00
discord_test.go Alerting: Option for Discord notifier to use webhook name (#40463) 2021-10-26 14:55:10 -04:00
discord.go Alerting: Option for Discord notifier to use webhook name (#40463) 2021-10-26 14:55:10 -04:00
email_test.go Email: Allow configuration of content types for email notifications (#34530) 2021-07-19 13:31:51 +03:00
email.go Alerting: Validate contact point configuration during migration to Unified Alerting (#40717) 2021-10-22 10:11:06 +01:00
googlechat_test.go Remove flakiness of google chat tests (#40592) 2021-10-19 16:18:44 -04:00
googlechat.go Alerting: Validate contact point configuration during migration to Unified Alerting (#40717) 2021-10-22 10:11:06 +01:00
kafka_test.go Alerting: Improve receiver initialisation errors (#36814) 2021-07-19 11:58:35 +03:00
kafka.go Alerting: Validate contact point configuration during migration to Unified Alerting (#40717) 2021-10-22 10:11:06 +01:00
line_test.go Encryption: Use secrets service (#40251) 2021-11-04 18:47:21 +02:00
line.go Encryption: Use secrets service (#40251) 2021-11-04 18:47:21 +02:00
opsgenie_test.go Encryption: Use secrets service (#40251) 2021-11-04 18:47:21 +02:00
opsgenie.go Encryption: Use secrets service (#40251) 2021-11-04 18:47:21 +02:00
pagerduty_test.go Encryption: Use secrets service (#40251) 2021-11-04 18:47:21 +02:00
pagerduty.go Encryption: Use secrets service (#40251) 2021-11-04 18:47:21 +02:00
pushover_test.go Encryption: Use secrets service (#40251) 2021-11-04 18:47:21 +02:00
pushover.go Encryption: Use secrets service (#40251) 2021-11-04 18:47:21 +02:00
sensugo_test.go Encryption: Use secrets service (#40251) 2021-11-04 18:47:21 +02:00
sensugo.go Encryption: Use secrets service (#40251) 2021-11-04 18:47:21 +02:00
slack_test.go Encryption: Use secrets service (#40251) 2021-11-04 18:47:21 +02:00
slack.go Encryption: Use secrets service (#40251) 2021-11-04 18:47:21 +02:00
teams_test.go Alerting: Improve receiver initialisation errors (#36814) 2021-07-19 11:58:35 +03:00
teams.go Alerting: Validate contact point configuration during migration to Unified Alerting (#40717) 2021-10-22 10:11:06 +01:00
telegram_test.go Encryption: Use secrets service (#40251) 2021-11-04 18:47:21 +02:00
telegram.go Encryption: Use secrets service (#40251) 2021-11-04 18:47:21 +02:00
template_data.go Alerting: declare constants for __dashboardUid__ and __panelId__ literals (#39976) 2021-10-07 17:30:06 -04:00
testing.go Remove flakiness of google chat tests (#40592) 2021-10-19 16:18:44 -04:00
threema_test.go Encryption: Use secrets service (#40251) 2021-11-04 18:47:21 +02:00
threema.go Encryption: Use secrets service (#40251) 2021-11-04 18:47:21 +02:00
utils.go Remove flakiness of google chat tests (#40592) 2021-10-19 16:18:44 -04:00
victorops_test.go Alerting: Improve receiver initialisation errors (#36814) 2021-07-19 11:58:35 +03:00
victorops.go Alerting: Validate contact point configuration during migration to Unified Alerting (#40717) 2021-10-22 10:11:06 +01:00
webhook_test.go Encryption: Use secrets service (#40251) 2021-11-04 18:47:21 +02:00
webhook.go Encryption: Use secrets service (#40251) 2021-11-04 18:47:21 +02:00