Check if S3 bucket default encryption is enabled with KMS.
Rule | S3 bucket default encryption should be enabled with KMS |
Framework | CISA-cyber-essentials |
Severity | ✔ Medium |
Rule: S3 Bucket Default Encryption with KMS for CISA-Cyber Essentials
Description:
The S3 bucket default encryption with Key Management Service (KMS) rule ensures that any new objects uploaded to an S3 bucket are automatically encrypted using KMS. This rule helps to protect sensitive data and meet compliance requirements, specifically for CISA-Cyber Essentials.
Troubleshooting Steps:
Remediation:
Step 1: Enable Default Encryption for an Existing S3 Bucket:
Step 2: Enable Default Encryption for New S3 Buckets (AWS CLI):
aws s3api put-bucket-encryption --bucket <bucket-name> --server-side-encryption-configuration '{"Rules": [{"ApplyServerSideEncryptionByDefault": {"SSEAlgorithm": "aws:kms"}}]}'
Replace
<bucket-name>
with the name of the new S3 bucket you want to enable default encryption for.Additional Notes:
Please note that SEO optimization is a continuous process and may require additional steps specific to your website content and target keywords.