Free plan Signups are open now. The full audytx engine — Terraform and CloudFormation — is live. The Free plan is 100 scans a month and stays free — paid tiers arrive Nov 01, 2026 from $20/month for unlimited repositories. Try it on your own code.

CloudFront distribution viewer protocol policy should redirect HTTP to HTTPS

AWS_CLOUDFRONT_001 HIGH Security

What it checks

CloudFront distribution viewer protocol policy should redirect HTTP to HTTPS

Where it applies

Terraform: aws_cloudfront_distribution

CloudFormation: AWS::CloudFront::Distribution

How to fix it

  1. Set viewer_protocol_policy = "redirect-to-https" in default_cache_behavior and all ordered_cache_behavior blocks

Frameworks

These mappings are advisory, not an attestation of compliance.

Vendor documentation

All rules