-
Notifications
You must be signed in to change notification settings - Fork 361
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Don't change non empty fields to nil during a encryption key roation
There have been cases where the field `syslog_drain_url` of `ManagedServiceInstance` was changed from valid URL to nil during a ccdb encryption key rotation. This change ensures that only modified columns/rows will be saved during a rotation. Tests for all models with encrypted fields check that unencrypted fields will not be modified. Co-authored-by: Philipp Thun <[email protected]>
- Loading branch information
1 parent
d0c7fd4
commit 57a54c6
Showing
4 changed files
with
112 additions
and
19 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters