lacework-global-129
CloudFront Viewer Protocol Policy should use https-only or redirect-to-https
Description
Best practices recommend configuring your AWS CloudFront Content Delivery Network (CDN) distributions to use HTTPS for encrypting data while in transit between CloudFront and the viewer. Violations exist when CloudFront CDN distributions do not encrypt data using HTTPS.
Remediation
Set the Distribution Viewer Protocol Policy to HTTPS Only or Redirect HTTP to HTTPS.
Log in to the AWS Management Console.
Select Services.
Select CloudFront.
Select the Distribution to edit.
Select the Behaviors tab.
Select the Behavior to edit, and select Edit.
Under Viewer protocol policy, select HTTPS only or Redirect HTTP to HTTPS.
Select Save changes.