-
Notifications
You must be signed in to change notification settings - Fork 29
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
Modify S6327: Improve the recommended fix #4543
Changes from 3 commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,13 @@ | ||
== Recommended Secure Coding Practices | ||
|
||
It's recommended to encrypt SNS topics that contain sensitive information. Encryption and decryption are handled transparently by SNS, so no further modifications to the application are necessary. | ||
It is recommended to encrypt SNS topics that contain sensitive information. | ||
|
||
To do so, create a master key and affect the SNS topic to it. Without a master | ||
key, the SNS topic is not encrypted by default. | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Using the negative version is usually a bit harder to understand than the positive version: "With a master key, the SNS topic is encrypted by default". There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. I removed it, the goal was to say that by default no encryption applied but I am starting to think this sentence, at this location could be confusing. I replaced it with notable information instead |
||
|
||
Then, make sure that any publishers have the ``++kms:GenerateDataKey*++`` and | ||
``++kms:Decrypt++`` permissions for the AWS KMS key. | ||
|
||
See https://docs.aws.amazon.com/sns/latest/dg/sns-key-management.html#sns-what-permissions-for-sse[AWS SNS Key Management Documentation] | ||
for more information. | ||
|
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.
Is "affect" the right word here?