InfraScan Cloud

Repository scan

cool-assessment-terraform

cisagov/cool-assessment-terraform · branch main · scanned 25 Jun 2026 · 314 resources

DOverall
FSecurity
–Reliability · N/A
CCost
228findings · 0 critical, 1 high
$339–$658estimated 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 210

Medium Ensure every security group and rule has a description Security · 133 places
Medium Ensure Terraform module sources use a commit hash Security · 17 places
Medium Ensure Terraform module sources use a tag with a version number Security · 16 places
Medium Missing Spot Instance Usage Cost · 12 places

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 that detailed monitoring is enabled for EC2 instances Security · 4 places
Medium Ensure that EC2 is EBS optimized Security · 4 places
Medium EC2 instance should not have public IP. Security · 3 places
Medium Route53 A Record has Attached Resource Security · 2 places

Route53 A Record has Attached Resource

Documentation

Where

Medium Ensure IAM policies that allow full "*-*" administrative privileges are not created Security · 2 places

Ensure IAM policies that allow full "*-*" administrative privileges are not created

Documentation

Where

Medium Ensure IAM policies does not allow write access without constraints Security · 2 places

Ensure IAM policies does not allow write access without constraints

Documentation

Where

Medium Ensure NACL ingress does not allow all Ports Security · 2 places

Ensure NACL ingress does not allow all Ports

Documentation

Where

Medium Ensure no IAM policies documents allow "*" as a statement's resource for restrictable actions Security · 2 places

Ensure no IAM policies documents allow "*" as a statement's resource for restrictable actions

Documentation

Where

Medium Ensure no IAM policies documents allow "*" as a statement's actions Security · 2 places

Ensure no IAM policies documents allow "*" as a statement's actions

Documentation

Where

Medium Missing Cost and Usage Report Cost · 2 places

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

Medium Ensure VPC flow logging is enabled in all VPCs Security · 1 place

Ensure VPC flow logging is enabled in all VPCs

Documentation

Where

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 resource is encrypted by KMS using a customer managed Key (CMK) Security · 1 place

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

Documentation

Where

Medium Ensure no NACL allow ingress from 0.0.0.0:0 to port 3389 Security · 1 place

Ensure no NACL allow ingress from 0.0.0.0:0 to port 3389

Documentation

Where

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

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

Documentation

Where

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

Ensure no security groups allow egress from 0.0.0.0:0 to port -1

Documentation

Where

Medium Ensure IAM policies are attached only to groups or roles (Reducing access management complexity may in-turn reduce opportunity for a principal to inadvertently receive or retain excessive privileges.) Security · 1 place

Ensure IAM policies are attached only to groups or roles (Reducing access management complexity may in-turn reduce opportunity for a principal to inadvertently receive or retain excessive privileges.)

Documentation

Where

Low 17

Low Large Root Volume Cost · 9 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 Unassociated Elastic IP Cost · 6 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 · 2 places

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.