lacework-global-129
CloudFront Viewer Protocol Policy should use https-only
Description
It is recommended to configure your AWS CloudFront content delivery network (CDN) distributions to use HTTPS for encrypting data while in transit between CloudFront and the viewer. When CloudFront CDN distributions are found that are not configured to encrypt data using HTTPS, violations are reported.
Remediation
Set the Distribution Viewer Protocol Policy to HTTPS Only.
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.
Select Save changes.