Repository scan
commcare-cloud
dimagi/commcare-cloud · branch main · scanned 10 Feb 2026 · 136 resources
High 2
High Expensive NAT Gateway
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
High Missing AWS Budget
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
Medium 92
Medium Ensure that Security Groups are attached to another resource
Ensure that Security Groups are attached to another resource
Where
- ../../src/commcare_cloud/terraform/modules/network/main.tf:97
- ../../src/commcare_cloud/terraform/modules/network/main.tf:258
- ../../src/commcare_cloud/terraform/modules/network/main.tf:294
- ../../src/commcare_cloud/terraform/modules/network/main.tf:346
- ../../src/commcare_cloud/terraform/modules/network/main.tf:362
- ../../src/commcare_cloud/terraform/modules/network/main.tf:412
- ../../src/commcare_cloud/terraform/modules/network/main.tf:514
- ../../src/commcare_cloud/terraform/modules/network/main.tf:557
Medium Ensure every security group and rule has a description
Ensure every security group and rule has a description
Where
- ../../src/commcare_cloud/terraform/modules/network/main.tf:97
- ../../src/commcare_cloud/terraform/modules/network/main.tf:258
- ../../src/commcare_cloud/terraform/modules/network/main.tf:294
- ../../src/commcare_cloud/terraform/modules/network/main.tf:346
- ../../src/commcare_cloud/terraform/modules/network/main.tf:362
- ../../src/commcare_cloud/terraform/modules/network/main.tf:412
- ../../src/commcare_cloud/terraform/modules/network/main.tf:514
- ../../src/commcare_cloud/terraform/modules/network/main.tf:557
Medium Ensure S3 buckets should have event notifications enabled
Ensure S3 buckets should have event notifications enabled
Where
Medium Ensure that S3 bucket has cross-region replication enabled
Ensure that S3 bucket has cross-region replication enabled
Where
Medium Ensure that S3 buckets are encrypted with KMS by default
Ensure that S3 buckets are encrypted with KMS by default
Where
Medium Ensure that CloudWatch Log Group is encrypted by KMS
Ensure that CloudWatch Log Group is encrypted by KMS
Where
Medium Ensure the S3 bucket has access logging enabled
Ensure the S3 bucket has access logging enabled
Where
Medium Ensure all data stored in the S3 bucket have versioning enabled
Ensure all data stored in the S3 bucket have versioning enabled
Where
Medium Load Balancer for Single Instance
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 that S3 bucket has a Public Access block
Ensure that S3 bucket has a Public Access block
Where
Medium Ensure that an S3 bucket has a lifecycle configuration
Ensure that an S3 bucket has a lifecycle configuration
Where
Medium Ensure KMS key Policy is defined
Ensure KMS key Policy is defined
Where
Medium Ensure that ALB drops HTTP headers
Ensure that ALB drops HTTP headers
Where
Medium Ensure that Kinesis Firehose Delivery Streams are encrypted with CMK
Ensure that Kinesis Firehose Delivery Streams are encrypted with CMK
Where
Medium Ensure CloudWatch log groups retains logs for at least 1 year
Ensure CloudWatch log groups retains logs for at least 1 year
Where
Medium Ensure no IAM policies documents allow "*" as a statement's resource for restrictable actions
Ensure no IAM policies documents allow "*" as a statement's resource for restrictable actions
Where
Medium Ensure that CloudWatch Log Group specifies retention days
Ensure that CloudWatch Log Group specifies retention days
Where
Medium Ensure rotation for customer created CMKs is enabled
Ensure rotation for customer created CMKs is enabled
Where
Medium Ensure the ELBv2 (Application/Network) has access logging enabled
Ensure the ELBv2 (Application/Network) has access logging enabled
Where
Medium Missing Spot Instance Usage
No spot instances detected. Spot instances can save 50-90% on compute costs for interruptible workloads.
How to fix
Use spot instances for batch jobs, data analysis, and optional tasks. Consider aws_spot_instance_request or spot_price in launch templates.
Where
Medium Ensure VPC flow logging is enabled in all VPCs
Ensure VPC flow logging is enabled in all VPCs
Where
Medium Ensure that Elastic File System (Amazon EFS) file systems are added in the backup plans of AWS Backup
Ensure that Elastic File System (Amazon EFS) file systems are added in the backup plans of AWS Backup
Where
Medium Ensure that ALB redirects HTTP requests into HTTPS ones
Ensure that ALB redirects HTTP requests into HTTPS ones
Where
Medium Ensure access control lists for S3 buckets are disabled
Ensure access control lists for S3 buckets are disabled
Where
Medium Ensure that EBS are added in the backup plans of AWS Backup
Ensure that EBS are added in the backup plans of AWS Backup
Where
Medium Ensure that load balancer is using at least TLS 1.2
Ensure that load balancer is using at least TLS 1.2
Where
Medium Ensure that AWS Lambda function is configured for function-level concurrent execution limit
Ensure that AWS Lambda function is configured for function-level concurrent execution limit
Where
Medium Ensure that AWS Lambda function is configured for a Dead Letter Queue(DLQ)
Ensure that AWS Lambda function is configured for a Dead Letter Queue(DLQ)
Where
Medium Ensure that AWS Lambda function is configured inside a VPC
Ensure that AWS Lambda function is configured inside a VPC
Where
Medium Ensure that detailed monitoring is enabled for EC2 instances
Ensure that detailed monitoring is enabled for EC2 instances
Where
Medium Ensure that Load Balancer (Network/Gateway) has cross-zone load balancing enabled
Ensure that Load Balancer (Network/Gateway) has cross-zone load balancing enabled
Where
Medium Check encryption settings for Lambda environmental variable
Check encryption settings for Lambda environmental variable
Where
Medium Ensure resource is encrypted by KMS using a customer managed Key (CMK)
Ensure resource is encrypted by KMS using a customer managed Key (CMK)
Where
Medium Ensure EBS Volume is encrypted by KMS using a customer managed Key (CMK)
Ensure EBS Volume is encrypted by KMS using a customer managed Key (CMK)
Where
Medium Ensure ElastiCache replication group is encrypted by KMS using a customer managed Key (CMK)
Ensure ElastiCache replication group is encrypted by KMS using a customer managed Key (CMK)
Where
Medium Ensure ALB protocol is HTTPS
Ensure ALB protocol is HTTPS
Where
Medium Ensure resource is encrypted by KMS using a customer managed Key (CMK)
Ensure resource is encrypted by KMS using a customer managed Key (CMK)
Where
Medium Ensure no security groups allow ingress from 0.0.0.0:0 to port 80
Ensure no security groups allow ingress from 0.0.0.0:0 to port 80
Where
Medium Ensure HTTP HTTPS Target group defines Healthcheck
Ensure HTTP HTTPS Target group defines Healthcheck
Where
Medium Ensure AWS Lambda function is configured to validate code-signing
Ensure AWS Lambda function is configured to validate code-signing
Where
and 13 more groups with 13 findings
Low 1
Low Elastic IP Usage
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 10 Feb 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.