InfraScan Cloud

Repository scan

cds-website-terraform

cds-snc/cds-website-terraform · branch main · scanned 25 Jun 2026 · 68 resources

COverall
DSecurity
–Reliability · N/A
BCost
49findings · 0 critical, 1 high
$3.65–$50.00estimated savings per month, from the code

High 1

High Expensive NAT Gateway Cost · 1 place

NAT Gateways are expensive managed services. Ensure they are strictly necessary.

How to fix

Consider using VPC Endpoints, NAT Instances for non-critical workloads, or share a single NAT Gateway across multiple subnets.

Where

Medium 47

Medium Ensure SSM parameters are using KMS CMK Security · 4 places
Medium Ensure that all EIP addresses allocated to a VPC are attached to EC2 instances Security · 2 places

Ensure that all EIP addresses allocated to a VPC are attached to EC2 instances

Documentation

Where

Medium Ensure top-level permissions are not set to write-all Security · 2 places

Ensure top-level permissions are not set to write-all

How to fix

See Checkov documentation for remediation guidance.

Where

Medium Suspicious use of curl with secrets Security · 2 places

Suspicious use of curl with secrets

How to fix

See Checkov documentation for remediation guidance.

Where

Medium Ensure Terraform module sources use a commit hash Security · 2 places
Medium Ensure the default security group of every VPC restricts all traffic Security · 1 place

Ensure the default security group of every VPC restricts all traffic

Documentation

Where

Medium Ensure Postgres RDS as aws_db_instance has Query Logging enabled Security · 1 place

Ensure Postgres RDS as aws_db_instance has Query Logging enabled

Documentation

Where

Medium Ensure CloudFront distribution has a response headers policy attached Security · 1 place

Ensure CloudFront distribution has a response headers policy attached

Documentation

Where

Medium Ensure Domain Name System Security Extensions (DNSSEC) signing is enabled for Amazon Route 53 public hosted zones Security · 1 place

Ensure Domain Name System Security Extensions (DNSSEC) signing is enabled for Amazon Route 53 public hosted zones

Documentation

Where

Medium Ensure Domain Name System (DNS) query logging is enabled for Amazon Route 53 hosted zones Security · 1 place

Ensure Domain Name System (DNS) query logging is enabled for Amazon Route 53 hosted zones

Documentation

Where

Medium Ensure AWS CloudFront distribution uses custom SSL certificate Security · 1 place

Ensure AWS CloudFront distribution uses custom SSL certificate

Documentation

Where

Medium Ensure AWS CloudFront attached WAFv2 WebACL is configured with AMR for Log4j Vulnerability Security · 1 place

Ensure AWS CloudFront attached WAFv2 WebACL is configured with AMR for Log4j Vulnerability

Documentation

Where

Medium Ensure that S3 bucket has a Public Access block Security · 1 place

Ensure that S3 bucket has a Public Access block

Documentation

Where

Medium Ensure that an S3 bucket has a lifecycle configuration Security · 1 place

Ensure that an S3 bucket has a lifecycle configuration

Documentation

Where

Medium Ensure S3 buckets should have event notifications enabled Security · 1 place

Ensure S3 buckets should have event notifications enabled

Documentation

Where

Medium Ensure AWS ALB attached WAFv2 WebACL is configured with AMR for Log4j Vulnerability Security · 1 place

Ensure AWS ALB attached WAFv2 WebACL is configured with AMR for Log4j Vulnerability

How to fix

See Checkov documentation for remediation guidance.

Where

Medium Ensure that enhanced monitoring is enabled for Amazon RDS instances Security · 1 place

Ensure that enhanced monitoring is enabled for Amazon RDS instances

Documentation

Where

Medium Ensure that respective logs of Amazon Relational Database Service (Amazon RDS) are enabled Security · 1 place

Ensure that respective logs of Amazon Relational Database Service (Amazon RDS) are enabled

Documentation

Where

Medium Ensure that ECR repositories are encrypted using KMS Security · 1 place

Ensure that ECR repositories are encrypted using KMS

Documentation

Where

Medium Ensure that S3 bucket has cross-region replication enabled Security · 1 place

Ensure that S3 bucket has cross-region replication enabled

Documentation

Where

Medium Ensure that S3 buckets are encrypted with KMS by default Security · 1 place

Ensure that S3 buckets are encrypted with KMS by default

Documentation

Where

Medium Ensure that RDS instances have Multi-AZ enabled Reliability · 1 place

Ensure that RDS instances have Multi-AZ enabled

Documentation

Where

Medium Ensure RDS database has IAM authentication enabled Security · 1 place

Ensure RDS database has IAM authentication enabled

Documentation

Where

Medium Verify CloudFront Distribution Viewer Certificate is using TLS v1.2 or higher Security · 1 place

Verify CloudFront Distribution Viewer Certificate is using TLS v1.2 or higher

Documentation

Where

Medium Ensure the S3 bucket has access logging enabled Security · 1 place

Ensure the S3 bucket has access logging enabled

Documentation

Where

Medium Ensure all data stored in the S3 bucket have versioning enabled Reliability · 1 place

Ensure all data stored in the S3 bucket have versioning enabled

Documentation

Where

Medium Ensure DB instance gets all minor upgrades automatically Security · 1 place

Ensure DB instance gets all minor upgrades automatically

Documentation

Where

Medium Ensure that Kinesis Firehose Delivery Streams are encrypted with CMK Security · 1 place

Ensure that Kinesis Firehose Delivery Streams are encrypted with CMK

Documentation

Where

Medium Ensure no security groups allow ingress from 0.0.0.0:0 to port 80 Security · 1 place

Ensure no security groups allow ingress from 0.0.0.0:0 to port 80

Documentation

Where

Medium Disallow policies from using the AWS AdministratorAccess policy Security · 1 place

Disallow policies from using the AWS AdministratorAccess policy

Documentation

Where

Medium Ensure CloudFront distribution has a default root object configured Security · 1 place

Ensure CloudFront distribution has a default root object configured

Documentation

Where

Medium Ensure CloudFront distributions should have origin failover configured Security · 1 place

Ensure CloudFront distributions should have origin failover configured

Documentation

Where

Medium Ensure CloudWatch log groups retains logs for at least 1 year Security · 1 place

Ensure CloudWatch log groups retains logs for at least 1 year

Documentation

Where

Medium Ensure that RDS instances have performance insights enabled Security · 1 place

Ensure that RDS instances have performance insights enabled

Documentation

Where

Medium Ensure AWS CloudFront web distribution has geo restriction enabled Security · 1 place

Ensure AWS CloudFront web distribution has geo restriction enabled

Documentation

Where

Medium Ensure ECR Image Tags are immutable Security · 1 place

Ensure ECR Image Tags are immutable

Documentation

Where

Medium CloudFront Distribution should have WAF enabled Security · 1 place

CloudFront Distribution should have WAF enabled

Documentation

Where

Medium Ensure CloudFront distribution has Access Logging enabled Security · 1 place

Ensure CloudFront distribution has Access Logging enabled

Documentation

Where

Medium Missing S3 Lifecycle Policy Cost · 1 place

S3 bucket without lifecycle rules. Objects are retained indefinitely, increasing storage costs.

How to fix

Define lifecycle rules to transition objects to cheaper storage classes (e.g., Glacier) or delete them after a retention period.

Where

Medium Load Balancer for Single Instance Cost · 1 place

Load balancer detected. Verify it's needed - load balancers cost $15-20/month even if unused.

How to fix

Consider if load balancer is necessary for single-instance deployments or low-traffic applications.

Where

Low 1

Low Unassociated Elastic IP Cost · 1 place

Elastic IPs are charged if not attached to a running instance or if you have more than one per instance.

How to fix

Release unattached Elastic IPs.

Where

Grades use InfraScan Cloud's current formula, so they can differ from the ones first shown for this scan. Findings reflect the repository on 25 Jun 2026; it may have changed since.

Scan your own repository

InfraScan Cloud scans your repositories and AWS accounts, keeps the history and shows how to fix each finding.