Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Prevent erasing connection.options.configuration by mistake #307

Merged
merged 1 commit into from
Aug 30, 2022

Conversation

sergiught
Copy link
Contributor

@sergiught sergiught commented Aug 29, 2022

🔧 Changes

As noted in #251, out of bound configuration changes are unreported and this unfortunately can cause destructive behavior if we apply the config without checking for unmanaged configuration secrets. These get encrypted and the API will return the values encrypted and not the same as we specify in the config so we can only check for unmanaged keys but not the actual values. We now send an error to the user blocking applying if we find unmanaged config keys.

📚 References

🔬 Testing

📝 Checklist

  • All new/changed/fixed functionality is covered by tests (or N/A)
  • I have added documentation for all new/changed functionality (or N/A)

@sergiught sergiught force-pushed the patch/issue#251-options.config branch from fc5c15b to 2f16d47 Compare August 29, 2022 15:38
@sergiught sergiught force-pushed the patch/issue#251-options.config branch from 2f16d47 to 1f1714f Compare August 29, 2022 15:40
@sergiught sergiught marked this pull request as ready for review August 29, 2022 15:46
@sergiught sergiught requested a review from a team as a code owner August 29, 2022 15:46
@sergiught sergiught self-assigned this Aug 29, 2022
@sergiught sergiught merged commit 00b045a into main Aug 30, 2022
@sergiught sergiught deleted the patch/issue#251-options.config branch August 30, 2022 18:44
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants