This rule ensures that S3 buckets enforce SSL for secure data transfer.
Rule | S3 buckets should enforce SSL |
Framework | HIPAA |
Severity | ✔ Medium |
Rule Description:
S3 buckets storing sensitive data for HIPAA compliance should enforce Secure Socket Layer (SSL) to ensure data encryption during transmission. This rule helps protect the confidentiality and integrity of data being transferred to and from the S3 buckets.
Troubleshooting Steps (if applicable):
Necessary Codes/Configuration (if applicable):
To enforce SSL for S3 bucket, you can update the bucket policy or bucket ACL with the following code:
For Bucket Policy:
{ "Version":"2012-10-17", "Statement":[{ "Sid":"RequireSSLOnly", "Effect":"Deny", "Principal":"*", "Action":"s3:*", "Resource":"arn:aws:s3:::your-bucket-name", "Condition":{ "Bool":{ "aws:SecureTransport":"false" } } }] }
For Bucket ACL:
Remediation Steps:
By following these steps, you can enforce SSL for S3 buckets storing sensitive HIPAA data, ensuring data security during transmission.