This rule ensures that all S3 buckets enforce SSL for secure data transmission
Rule | S3 buckets should enforce SSL |
Framework | RBI Cyber Security Framework |
Severity | ✔ Medium |
Rule Description: Enforce SSL for S3 Buckets as per RBI Cyber Security Framework
The RBI Cyber Security Framework mandates that all S3 buckets should enforce SSL (Secure Sockets Layer) for data transmission and communication. SSL ensures that data exchanged between the client and S3 buckets remains encrypted and secure.
Enforcing SSL for S3 buckets helps protect against unauthorized access, eavesdropping, and data tampering during transit, thereby reducing the risk of data breaches and ensuring compliance with RBI regulations.
Troubleshooting Steps (if any):
If you encounter any issues while enforcing SSL for S3 buckets, you can follow these troubleshooting steps:
"aws:SecureTransport": "true"
).Necessary codes (if any):
If your S3 buckets do not have SSL enforcement enabled, you can use the following bucket policy to enforce SSL:
{
"Version": "2012-10-17",
"Statement": [
{
"Sid": "EnforceSSL",
"Effect": "Deny",
"Principal": "*",
"Action": "s3:*",
"Resource": "arn:aws:s3:::YOUR_S3_BUCKET_NAME/*",
"Condition": {
"Bool": {
"aws:SecureTransport": "false"
}
}
}
]
}
Replace
"YOUR_S3_BUCKET_NAME"
in the above JSON policy with the name of your S3 bucket.Step-by-Step Guide for Remediation:
To enforce SSL for an S3 bucket, follow these steps:
"Condition"
under an existing policy."aws:SecureTransport"
condition is set to true
.By following these steps, you will enforce SSL for your S3 bucket, complying with the RBI Cyber Security Framework requirements and ensuring secure data transmission.