InfraScan Cloud

Repository scan

forms-terraform

cds-snc/forms-terraform · branch main · scanned 25 Jun 2026 · 607 resources

COverall
DSecurity
–Reliability · N/A
BCost
198findings · 0 critical, 2 high
$8.80–$88.00estimated savings per month, from the code

High 2

High Expensive NAT Gateway Cost · 2 places

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 186

Medium Ensure that AWS Lambda function is configured for a Dead Letter Queue(DLQ) Security · 17 places
Medium Ensure AWS Lambda function is configured to validate code-signing Security · 17 places
Medium Ensure that HEALTHCHECK instructions have been added to container images Security · 17 places
Medium Ensure that a user for the container has been created Security · 17 places
Medium Ensure that Security Groups are attached to another resource Security · 15 places
Medium Ensure that AWS Lambda function is configured for function-level concurrent execution limit Security · 13 places
Medium Check encryption settings for Lambda environmental variable Security · 13 places
Medium Ensure that Secrets Manager secret is encrypted using KMS CMK Security · 11 places
Medium Ensure that S3 bucket has cross-region replication enabled Security · 8 places
Medium Ensure that S3 buckets are encrypted with KMS by default Security · 8 places
Medium Ensure AWS SQS uses CMK not AWS default keys for encryption Security · 7 places
Medium Ensure that AWS Lambda function is configured inside a VPC Security · 7 places
Medium Ensure top-level permissions are not set to write-all Security · 6 places
Medium Ensure that ECR repositories are encrypted using KMS Security · 5 places
Medium Ensure ECR Image Tags are immutable Security · 5 places
Medium Ensure AWS Load Balancer doesn't use HTTP protocol Security · 4 places
Medium Suspicious use of curl with secrets Security · 3 places

Suspicious use of curl with secrets

How to fix

See Checkov documentation for remediation guidance.

Where

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

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

How to fix

See Checkov documentation for remediation guidance.

Where

Medium Load Balancer for Single Instance Cost · 2 places

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

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

Ensure Postgres RDS as aws_rds_cluster has Query Logging enabled

Documentation

Where

Medium Ensure that RDS clusters has backup plan of AWS Backup Reliability · 1 place

Ensure that RDS clusters has backup plan of AWS Backup

Documentation

Where

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

Ensure RDS cluster has IAM authentication enabled

Documentation

Where

Medium Ensure all data stored in the ElastiCache Replication Group is securely encrypted at rest Security · 1 place

Ensure all data stored in the ElastiCache Replication Group is securely encrypted at rest

Documentation

Where

Medium Ensure all data stored in the ElastiCache Replication Group is securely encrypted at transit Security · 1 place

Ensure all data stored in the ElastiCache Replication Group is securely encrypted at transit

Documentation

Where

Medium Ensure all data stored in the ElastiCache Replication Group is securely encrypted at transit and has auth token Security · 1 place

Ensure all data stored in the ElastiCache Replication Group is securely encrypted at transit and has auth token

Documentation

Where

Medium Ensure ECS Fargate services run on the latest Fargate platform version Security · 1 place

Ensure ECS Fargate services run on the latest Fargate platform version

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 Missing Cost and Usage Report Cost · 1 place

No AWS Cost and Usage Report (CUR) configured. CUR provides detailed cost tracking and analysis.

How to fix

Enable AWS Cost and Usage Reports to track spending patterns and identify optimization opportunities.

Where

Low 10

Low SQS Max Message Retention Cost · 4 places

SQS queue configured with the maximum 14-day (1209600 s) message retention. On high-volume queues this inflates storage costs and may indicate unprocessed message buildup.

How to fix

Set retention to the minimum business requirement (e.g., 1–4 days for most queues) and alert on queue depth to catch processing failures early.

Where

Low Route53 Health Checks Cost · 3 places

Route53 health checks incur monthly costs. May not be necessary for all resources.

How to fix

Remove health checks for non-critical resources or personal projects.

Where

Low Unassociated Elastic IP Cost · 2 places

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

Low Missing AWS Budget Cost · 1 place

No AWS budget configured. Budgets help monitor and control spending with alerts.

How to fix

Create AWS budgets with alerts for forecasted and actual costs to avoid unexpected charges.

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.