Ensure CloudFront distributions require encryption for data in transit.
Rule | CloudFront distributions should require encryption in transit |
Framework | General Data Protection Regulation (GDPR) |
Severity | ✔ High |
Rule Description:
This rule states that all CloudFront distributions must require encryption in transit to comply with the General Data Protection Regulation (GDPR).
The GDPR is a legal framework that governs the protection and privacy of personal data for individuals within the European Union (EU). Encryption in transit ensures that data transmitted between the CloudFront distribution and end-users remains secure and protected from unauthorized access or interception.
Troubleshooting Steps:
Verify the CloudFront distribution settings:
Check the SSL/TLS certificate:
Test encryption in transit:
Review CloudFront access logs:
Review AWS WAF (Web Application Firewall) settings:
Necessary Codes:
There are no specific codes required for this rule. However, the configuration of CloudFront distributions can be achieved through the AWS Management Console, AWS Command Line Interface (CLI), or AWS CloudFormation templates.
Step-by-Step Remediation Guide:
To ensure that CloudFront distributions require encryption in transit for GDPR compliance, follow the steps below:
Sign in to the AWS Management Console.
Open the CloudFront service.
Select the desired CloudFront distribution that needs to be configured.
Click on the "Behaviors" or "Origins and Origin Groups" tab, depending on the CloudFront version.
Inside the behavior settings, ensure that the "Viewer Protocol Policy" is set to "Redirect HTTP to HTTPS" or "HTTPS Only."
Configure the CloudFront distribution to use an SSL/TLS certificate by doing the following:
Save the changes made to the CloudFront distribution.
Test the CloudFront distribution by accessing it using a browser or testing tool, ensuring that the connection is using HTTPS.
Monitor the CloudFront access logs regularly to detect any potential issues or security breaches.
If you have AWS WAF deployed, review and adjust the rules and settings to align with GDPR requirements.
By following these steps, you will ensure that your CloudFront distribution requires encryption in transit, complying with the GDPR regulations for data protection and privacy.