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

upgrade cdk and default encryption for compliance #473

Merged
merged 12 commits into from
Oct 23, 2023
Merged

Conversation

sam-goodwin
Copy link
Owner

@sam-goodwin sam-goodwin commented Oct 21, 2023

@sam-goodwin sam-goodwin requested a review from thantos October 21, 2023 00:33
Comment on lines +145 to +150
if (this.props.compliancePolicy.isCustomerManagedKeys()) {
// data in the buckets are encrypted with a key that the customer owns
this.props.compliancePolicy.dataEncryptionKey.grantEncryptDecrypt(
grantee
);
}
Copy link
Owner Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Not sure if I need to do this for AWS-managed keys. I don't have to for AWS-owned because there's zero visibility into that, but AWS-managed creates a key with an alias, like aws/s3 and I'm hoping I don't need to grant permissions but I may.

@sam-goodwin
Copy link
Owner Author

image

@sam-goodwin
Copy link
Owner Author

image

@sam-goodwin
Copy link
Owner Author

sam-goodwin commented Oct 22, 2023

Bug: the Entity Tables are using an AWS-owned key instead of an AWS-managed key:
image

image

Fixed in: d16b66b

@sam-goodwin sam-goodwin merged commit 38eb3b0 into main Oct 23, 2023
6 checks passed
@sam-goodwin sam-goodwin deleted the sam/compliance branch October 23, 2023 17:47
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