This rule ensures that S3 buckets enforce SSL for secure data transfer.
Rule | S3 buckets should enforce SSL |
Framework | FedRAMP Low Revision 4 |
Severity | ✔ Medium |
Rule/Policy Description:
The rule requires that all S3 buckets within an AWS account, which are intended to comply with the FedRAMP Low security level and meet Revision 4 standards, enforce SSL (Secure Sockets Layer) encryption for data transfer.
Steps for Troubleshooting (if applicable):
If SSL enforcement is not properly enabled, you may encounter the following issues:
To troubleshoot SSL enforcement in S3 buckets, follow these steps:
Necessary Codes (if applicable):
To enforce SSL for S3 buckets, the following code snippet can be used in AWS CLI:
{
"Version": "2012-10-17",
"Id": "EnforceSSLOnly",
"Statement": [
{
"Sid": "ForceSSLOnlyAccess",
"Effect": "Deny",
"Principal": "*",
"Action": "s3:*",
"Resource": "arn:aws:s3:::your-bucket-name/*",
"Condition": {
"Bool": {
"aws:SecureTransport": "false"
}
}
}
]
}
Step-by-Step Guide for Remediation:
To enforce SSL for S3 buckets, follow these steps:
By following these steps, SSL enforcement can be successfully applied to the target S3 bucket, ensuring compliance with the FedRAMP Low Revision 4 security requirements.