Medium
S3
S3 general purpose buckets should require requests to use SSL
CISPCI DSSNISTISO 27001HIPAA
Description
Checks if S3 buckets require requests to use SSL.
Remediation
To ensure that S3 buckets require requests to use SSL, follow these steps:
Steps
- Sign in to the AWS Management Console and open the Amazon S3 console.
- In the Buckets list, choose the name of the bucket you want to modify.
- Choose the 'Permissions' tab.
- Scroll down to the 'Bucket Policy' section.
- Add a bucket policy that denies any requests that do not use SSL. For example, you can use the following policy statement:
- {
- "Effect": "Deny",
- "Principal": "*",
- "Action": "s3:*",
- "Resource": "arn:aws:s3:::[your-bucket-name]/*",
- "Condition": {
- "Bool": {
- "aws:SecureTransport": "false"
- }
- }
- }
- Replace '[your-bucket-name]' with the actual name of your bucket.
- Save the changes to the bucket policy.
Compliance
CISPCI DSSNISTISO 27001HIPAA