-
Notifications
You must be signed in to change notification settings - Fork 77
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
PROD-2839 Better handling of empty storage secrets in aws_util #5347
Conversation
The latest updates on your projects. Learn more about Vercel for Git ↗︎
|
fides
|
Project |
fides
|
Run status |
|
Run duration | 00m 38s |
Commit |
|
Committer | Adam Sachs |
View all properties for this run ↗︎ |
Test results | |
---|---|
|
0
|
|
0
|
|
0
|
|
0
|
|
4
|
Upgrade your plan to view test results. |
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## main #5347 +/- ##
=======================================
Coverage 85.32% 85.32%
=======================================
Files 378 378
Lines 23994 23996 +2
Branches 3218 3219 +1
=======================================
+ Hits 20472 20474 +2
Misses 2932 2932
Partials 590 590 ☔ View full report in Codecov by Sentry. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Checked this manually, works perfectly!
fides
|
Project |
fides
|
Run status |
|
Run duration | 00m 40s |
Commit |
|
Committer | Adam Sachs |
View all properties for this run ↗︎ |
Test results | |
---|---|
|
0
|
|
0
|
|
0
|
|
0
|
|
4
|
Upgrade your plan to view test results. |
Closes PROD-2839
Description Of Changes
Added better handling for an empty storage secrets dictionary in the
get_aws_session
method.Steps to Confirm
AWS_ACCESS_KEY_ID
andAWS_SECRET_ACCESS_KEY
env variables to your.env
file (creds in 1pass sandboxProgrammaticUserS3)Before, this would raise an
AttributeError: 'NoneType' object has no attribute 'get'
, now you should be able to submit a privacy request and have results sent to the S3 bucket.Pre-Merge Checklist
CHANGELOG.md
main
downgrade()
migration is correct and works