Guideline ensuring S3 buckets restrict public read access for enhanced security measures.
Rule | S3 buckets should prohibit public read access |
Framework | NIST 800-171 Revision 2 |
Severity | ✔ Medium |
Rule Description
This rule is aimed at ensuring that S3 buckets are configured to prohibit public read access in order to comply with the security requirements specified in the NIST 800-171 Revision 2 framework.
Troubleshooting Steps
Necessary Codes
There are no necessary codes for this rule, as it involves configuring the permissions of S3 buckets through AWS Management Console or CLI commands.
Remediation Steps
AWS Management Console
AWS CLI
aws s3api put-bucket-acl --bucket YOUR_BUCKET_NAME --acl private
Replace
YOUR_BUCKET_NAME
with the name of the bucket you want to modify.aws s3api get-bucket-acl --bucket YOUR_BUCKET_NAME
Conclusion
Following the above steps will ensure that your S3 buckets do not have public read access, thus meeting the compliance requirements of the NIST 800-171 Revision 2 framework. Periodically review the permissions of your S3 buckets to ensure ongoing compliance and security.