InfraScan Cloud

Repository scan

le-tf-infra-aws

binbashar/le-tf-infra-aws · branch main · scanned 17 Mar 2026 · 596 resources

FOverall
FSecurity
–Reliability · N/A
FCost
974findings · 0 critical, 157 high
—no cost findings with a savings estimate

High 157

High Missing AWS Budget Cost · 154 places
High Old Generation Instance Cost · 2 places

Usage of old generation EC2 instances (e.g., t2, m3, c4, r3). Newer generations are often cheaper and faster.

How to fix

Upgrade to current generation instances (e.g., t3, m5, c5, r5).

Where

High Unencrypted EBS Volume Cost · 1 place

EBS volume is not encrypted. This is a security risk and often indicates unmanaged infrastructure.

How to fix

Enable encryption for EBS volumes.

Where

Medium 808

Medium Ensure Terraform module sources use a commit hash Security · 422 places
Medium Missing Cost and Usage Report Cost · 154 places
Medium Ensure no IAM policies documents allow "*" as a statement's resource for restrictable actions Security · 24 places
Medium Ensure no IAM policies documents allow "*" as a statement's resource for restrictable actions Security · 20 places
Medium Ensure that Security Groups are attached to another resource Security · 19 places
Medium Ensure AWS IAM policy does not allow full IAM privileges Security · 13 places
Medium Ensure IAM policies does not allow write access without constraints Security · 12 places
Medium Ensure IAM policies does not allow permissions management / resource exposure without constraints Security · 10 places
Medium DynamoDB Provisioned Mode Cost · 9 places
Medium Ensure the S3 bucket has access logging enabled Security · 8 places
Medium Ensure S3 buckets should have event notifications enabled Security · 7 places
Medium Ensure that S3 bucket has cross-region replication enabled Security · 7 places
Medium Ensure that S3 bucket has a Public Access block Security · 5 places
Medium Ensure that S3 buckets are encrypted with KMS by default Security · 5 places
Medium Ensure CloudWatch log groups retains logs for at least 1 year Security · 5 places
Medium Ensure AWS ACM Certificate domain name does not include wildcards Security · 4 places
Medium Ensure IAM policies does not allow data exfiltration Security · 4 places
Medium Ensure that AWS Lambda function is configured for function-level concurrent execution limit Security · 4 places
Medium Ensure that AWS Lambda function is configured for a Dead Letter Queue(DLQ) Security · 4 places
Medium Ensure that AWS Lambda function is configured inside a VPC Security · 4 places
Medium Ensure that CloudWatch Log Group is encrypted by KMS Security · 4 places
Medium Check encryption settings for Lambda environmental variable Security · 4 places
Medium Ensure Create before destroy for ACM certificates Security · 4 places
Medium Ensure AWS Lambda function is configured to validate code-signing Security · 4 places
Medium Ensure IAM policies does not allow write access without constraints Security · 4 places
Medium X-Ray tracing is enabled for Lambda Security · 4 places
Medium Old Generation Storage (gp2) Cost · 4 places

Using gp2 EBS volumes when gp3 provides better performance at lower cost.

How to fix

Migrate from gp2 to gp3 volumes. gp3 offers 20% cost savings and better baseline performance.

Where

Medium Ensure that all EIP addresses allocated to a VPC are attached to EC2 instances Security · 3 places
Medium Ensure Domain Name System Security Extensions (DNSSEC) signing is enabled for Amazon Route 53 public hosted zones Security · 3 places
Medium Ensure Domain Name System (DNS) query logging is enabled for Amazon Route 53 hosted zones Security · 3 places
Medium Ensure every security group and rule has a description Security · 3 places
Medium Route53 A Record has Attached Resource Security · 2 places
Medium Ensure that an S3 bucket has a lifecycle configuration Security · 2 places
Medium Ensure all data stored in the S3 bucket have versioning enabled Reliability · 2 places
Medium Ensure no security groups allow ingress from 0.0.0.0:0 to port 22 Security · 2 places
Medium Ensure IAM policies does not allow permissions management / resource exposure without constraints Security · 2 places

Ensure IAM policies does not allow permissions management / resource exposure without constraints

Documentation

Where

Medium Ensure no security groups allow egress from 0.0.0.0:0 to port -1 Security · 2 places
Medium Ensure that only encrypted EBS volumes are attached to EC2 instances Security · 1 place

Ensure that only encrypted EBS volumes are attached to EC2 instances

Documentation

Where

Medium Ensure AWS SQS uses CMK not AWS default keys for encryption Security · 1 place

Ensure AWS SQS uses CMK not AWS default keys for encryption

Documentation

Where

Medium Ensure EBS Volume is encrypted by KMS using a customer managed Key (CMK) Security · 1 place

Ensure EBS Volume is encrypted by KMS using a customer managed Key (CMK)

Documentation

Where

and 13 more groups with 13 findings

Low 9

Low Large Root Volume Cost · 4 places

Oversized root block device. Many workloads don't require large root volumes.

How to fix

Reduce root volume size to minimum required (typically 8-20 GB for most Linux instances).

Where

Low EC2 Detailed Monitoring Cost · 3 places

Detailed monitoring for EC2 instances incurs extra costs.

How to fix

Disable detailed monitoring if standard 5-minute metrics are sufficient.

Where

Low Elastic IP Usage 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

Grades use InfraScan Cloud's current formula, so they can differ from the ones first shown for this scan. Findings reflect the repository on 17 Mar 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.