grafana/pkg/services/sqlstore/migrations
Guilherme Caulada a367ad730c
Secrets: Implement basic unified secret store service (#45804)
* wip: Implement kvstore for secrets

* wip: Refactor kvstore for secrets

* wip: Add format key function to secrets kvstore sql

* wip: Add migration for secrets kvstore

* Remove unused Key field from secrets kvstore

* Remove secret values from debug logs

* Integrate unified secrets with datasources

* Fix minor issues and tests for kvstore

* Create test service helper for secret store

* Remove encryption tests from datasources

* Move secret operations after datasources

* Fix datasource proxy tests

* Fix legacy data tests

* Add Name to all delete data source commands

* Implement decryption cache on sql secret store

* Fix minor issue with cache and tests

* Use secret type on secret store datasource operations

* Add comments to make create and update clear

* Rename itemFound variable to isFound

* Improve secret deletion and cache management

* Add base64 encoding to sql secret store

* Move secret retrieval to decrypted values function

* Refactor decrypt secure json data functions

* Fix expr tests

* Fix datasource tests

* Fix plugin proxy tests

* Fix query tests

* Fix metrics api tests

* Remove unused fake secrets service from query tests

* Add rename function to secret store

* Add check for error renaming secret

* Remove bus from tests to fix merge conflicts

* Add background secrets migration to datasources

* Get datasource secure json fields from secrets

* Move migration to secret store

* Revert "Move migration to secret store"

This reverts commit 7c3f872072.

* Add secret service to datasource service on tests

* Fix datasource tests

* Remove merge conflict on wire

* Add ctx to data source http transport on prometheus stats collector

* Add ctx to data source http transport on stats collector test
2022-04-25 13:57:45 -03:00
..
accesscontrol Rename FGAC to RBAC in the codebase (#48051) 2022-04-21 14:31:02 +02:00
ualert Alerting: Add integration test for AddDashAlertMigration (#47730) 2022-04-21 04:02:23 +02:00
alert_mig.go SQL: Define primary key for tables without it (#22255) 2020-11-17 17:58:56 +01:00
annotation_mig.go SQL: Define primary key for tables without it (#22255) 2020-11-17 17:58:56 +01:00
apikey_mig.go APIKeys: add API key migration to ensure fk is null (#46285) 2022-03-07 15:58:20 +01:00
cache_data_mig.go renames key to cache_key 2019-03-11 10:49:55 +01:00
comments_migrations.go Comments: support live comments in dashboards and annotations (#44980) 2022-02-22 10:47:42 +03:00
common.go login: uses epochs for login throtting. 2018-02-16 17:25:46 +01:00
dashboard_acl.go Extract search users functions into a service (#39002) 2021-09-29 12:51:49 +02:00
dashboard_mig.go Extract search users functions into a service (#39002) 2021-09-29 12:51:49 +02:00
dashboard_snapshot_mig.go Chore: Fix SQL related Go variable naming (#28887) 2020-11-11 06:21:08 +01:00
dashboard_thumbs_mig.go Dash previews: populate crawler queue from SQL query (#44083) 2022-02-09 13:23:32 +04:00
dashboard_version_mig.go Chore: Fix SQL related Go variable naming (#28887) 2020-11-11 06:21:08 +01:00
datasource_mig.go Alerting: improve alerting default datasource search when extracting alerts (#29993) 2021-01-07 21:33:17 +01:00
db_file_storage.go FileStore: add basic file storage API (#46051) 2022-03-03 10:53:26 +04:00
heartbeat_mig.go feat(query_part): refactoring query part 2016-08-15 17:20:45 +02:00
kv_store_mig.go add key/value store service (#36868) 2021-08-31 11:05:45 -04:00
libraryelements.go LibraryPanels: Increase max description length to 2048 chars (#46601) 2022-03-24 12:14:56 +00:00
live_mig.go Migrate to Wire for dependency injection (#32289) 2021-08-25 15:11:22 +02:00
login_attempt_mig.go login: migration fix. 2018-02-16 17:36:28 +01:00
migrations_test.go Skip flaky test (#45785) 2022-02-23 16:56:21 +01:00
migrations.go Access control: Use access control for dashboard and folder (#44702) 2022-03-03 15:05:47 +01:00
org_mig.go Extract search users functions into a service (#39002) 2021-09-29 12:51:49 +02:00
playlist_mig.go utf8mb4 encoding (#7959) 2017-03-28 14:34:53 +02:00
plugin_setting.go Chore: Enable whitespace linter (#25903) 2020-07-06 20:17:28 +02:00
preferences_mig.go Navigation: Introduce a preferences table to store Navbar preferences (#44914) 2022-03-17 12:07:20 +00:00
query_history_mig.go Query history: Create API to add query to query history (#44479) 2022-01-28 17:55:09 +01:00
query_history_star_mig.go Query history: Create API to star and unstar query in query history (#45077) 2022-02-23 17:03:04 +01:00
quota_mig.go Chore: Enable whitespace linter (#25903) 2020-07-06 20:17:28 +02:00
secrets_mig.go Secrets: Implement basic unified secret store service (#45804) 2022-04-25 13:57:45 -03:00
serverlock_migrations.go moves migrations to /sqlstore/migrations 2018-12-17 16:36:57 +01:00
session_mig.go Issue 3461: Session table is now created automatically 2015-12-23 01:33:46 -06:00
short_url_mig.go Chore: Fix issues reported by staticcheck; enable stylecheck linter (#28866) 2020-11-05 15:37:11 +01:00
stats_mig.go Chore/fix lint issues (#27704) 2020-09-22 16:22:19 +02:00
tag_mig.go Chore: Enable whitespace linter (#25903) 2020-07-06 20:17:28 +02:00
team_mig.go Teams: Add index for permission check (#25736) 2020-06-26 15:13:53 +02:00
temp_user.go Chore: Fix SQL related Go variable naming (#28887) 2020-11-11 06:21:08 +01:00
user_auth_mig.go OAuth: persisting the id token (#42938) 2021-12-14 15:22:10 +01:00
user_auth_token_mig.go Auth: Allow soft token revocation (#31601) 2021-03-16 17:44:02 +01:00
user_mig.go Service accounts: make is_service_account nullable (#45541) 2022-02-18 13:08:00 +01:00