Repository scan
cool-assessment-terraform
cisagov/cool-assessment-terraform · branch main · scanned 25 Jun 2026 · 314 resources
High 1
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
Medium 210
Medium Ensure every security group and rule has a description
Ensure every security group and rule has a description
Where
- ../../cloudwatch_agent_endpoint_client_sg.tf:2
- ../../cloudwatch_agent_endpoint_client_sg.tf:13
- ../../cloudwatch_agent_endpoint_sg.tf:3
- ../../cloudwatch_agent_endpoint_sg.tf:14
- ../../debiandesktop_sg.tf:2
- ../../debiandesktop_sg.tf:14
- ../../debiandesktop_sg.tf:28
- ../../debiandesktop_sg.tf:41
- ../../debiandesktop_sg.tf:28
- ../../dynamodb_endpoint_client_sg.tf:2
- ../../dynamodb_endpoint_client_sg.tf:12
- ../../ec2_endpoint_client_sg.tf:2
- ../../ec2_endpoint_client_sg.tf:12
- ../../ec2_endpoint_sg.tf:2
- ../../ec2_endpoint_sg.tf:12
- ../../efs.tf:65
- ../../efs.tf:73
- ../../efs.tf:85
- ../../efs.tf:93
- ../../egressassess_sg.tf:2
- and 113 more
Medium Ensure Terraform module sources use a commit hash
Ensure Terraform module sources use a commit hash
Where
- ../../debiandesktop_ec2.tf:85
- ../../egressassess_ec2.tf:99
- ../../email_sending_domain_certreadrole.tf:3
- ../../gophish_ec2.tf:139
- ../../guacamole_ec2.tf:102
- ../../guacamole_iam.tf:2
- ../../kali_ec2.tf:109
- ../../nessus_ec2.tf:120
- ../../pentestportal_ec2.tf:107
- ../../read_terraform_state_role.tf:7
- ../../read_write_terraform_state_role.tf:7
- ../../samba_ec2.tf:90
- ../../session_manager.tf:5
- ../../teamserver_ec2.tf:120
- ../../terraformer_ec2.tf:94
- ../../vpc_flow_logs.tf:4
- ../../windows_ec2.tf:100
Medium Ensure Terraform module sources use a tag with a version number
Ensure Terraform module sources use a tag with a version number
Where
- ../../debiandesktop_ec2.tf:85
- ../../egressassess_ec2.tf:99
- ../../email_sending_domain_certreadrole.tf:3
- ../../gophish_ec2.tf:139
- ../../guacamole_ec2.tf:102
- ../../guacamole_iam.tf:2
- ../../kali_ec2.tf:109
- ../../nessus_ec2.tf:120
- ../../pentestportal_ec2.tf:107
- ../../read_terraform_state_role.tf:7
- ../../read_write_terraform_state_role.tf:7
- ../../samba_ec2.tf:90
- ../../session_manager.tf:5
- ../../teamserver_ec2.tf:120
- ../../terraformer_ec2.tf:94
- ../../windows_ec2.tf:100
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
- gophish_ec2.tf:32 $26.42 / mo
- egressassess_ec2.tf:32 $26.42 / mo
- kali_ec2.tf:32 $26.42 / mo
- debiandesktop_ec2.tf:32 $26.42 / mo
- teamserver_ec2.tf:32 $26.42 / mo
- terraformer_ec2.tf:32 $26.42 / mo
- windows_ec2.tf:35 $26.42 / mo
- pentestportal_ec2.tf:32 $26.42 / mo
- guacamole_ec2.tf:32 $26.42 / mo
- nessus_ec2.tf:37 $26.42 / mo
- samba_ec2.tf:32 $26.42 / mo
- examples/use-terraformer-instance/teamserver_ec2.tf:25 $26.42 / mo
Medium Ensure that detailed monitoring is enabled for EC2 instances
Ensure that detailed monitoring is enabled for EC2 instances
Where
Medium Ensure that EC2 is EBS optimized
Ensure that EC2 is EBS optimized
Where
Medium EC2 instance should not have public IP.
EC2 instance should not have public IP.
Where
Medium Route53 A Record has Attached Resource
Route53 A Record has Attached Resource
Where
Medium Ensure IAM policies that allow full "*-*" administrative privileges are not created
Ensure IAM policies that allow full "*-*" administrative privileges are not created
Where
Medium Ensure IAM policies does not allow write access without constraints
Ensure IAM policies does not allow write access without constraints
Where
Medium Ensure NACL ingress does not allow all Ports
Ensure NACL ingress does not allow all Ports
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 no IAM policies documents allow "*" as a statement's actions
Ensure no IAM policies documents allow "*" as a statement's actions
Where
Medium Missing Cost and Usage Report
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
Medium Ensure the default security group of every VPC restricts all traffic
Ensure the default security group of every VPC restricts all traffic
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 NACL allow ingress from 0.0.0.0:0 to port 3389
Ensure no NACL allow ingress from 0.0.0.0:0 to port 3389
Where
Medium Ensure no security groups allow ingress from 0.0.0.0:0 to port -1
Ensure no security groups allow ingress from 0.0.0.0:0 to port -1
Where
Medium Ensure no security groups allow egress from 0.0.0.0:0 to port -1
Ensure no security groups allow egress from 0.0.0.0:0 to port -1
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.)
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.)
Where
Low 17
Low Large Root Volume
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
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
- gophish_ec2.tf:88 $3.65 / mo
- egressassess_ec2.tf:77 $3.65 / mo
- kali_ec2.tf:87 $3.65 / mo
- teamserver_ec2.tf:98 $3.65 / mo
- pentestportal_ec2.tf:84 $3.65 / mo
- nessus_ec2.tf:98 $3.65 / mo
Low 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
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.