Repository scan
cyhy_amis
cisagov/cyhy_amis · branch develop · scanned 26 Jun 2026 · 418 resources
High 9
High EBS Provisioned IOPS (io1/io2)
EBS volume using Provisioned IOPS (io1/io2) type. These are very expensive — io2 costs 56× more than gp3 per GB plus per-IOPS charges.
How to fix
Verify if gp3 can meet performance requirements at a lower cost.
Where
- terraform/bod_docker_ec2.tf:98 $11.00 / mo
- terraform/bod_docker_ec2.tf:131 $6.68 / mo
- terraform/cyhy_reporter_ec2.tf:94 $11.00 / mo
- terraform/cyhy_mongo_ec2.tf:103 $200 / mo
- terraform/cyhy_mongo_ec2.tf:117 $16.61 / mo
- terraform/cyhy_mongo_ec2.tf:131 $6.86 / mo
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 212
Medium Ensure every security group and rule has a description
Ensure every security group and rule has a description
Where
- ../../terraform/bod_bastion_security_group_rules.tf:2
- ../../terraform/bod_bastion_security_group_rules.tf:16
- ../../terraform/bod_bastion_security_group_rules.tf:30
- ../../terraform/bod_bastion_security_group_rules.tf:40
- ../../terraform/bod_bastion_security_group_rules.tf:16
- ../../terraform/bod_docker_security_group_rules.tf:2
- ../../terraform/bod_docker_security_group_rules.tf:12
- ../../terraform/bod_docker_security_group_rules.tf:27
- ../../terraform/bod_docker_security_group_rules.tf:40
- ../../terraform/bod_docker_security_group_rules.tf:12
- ../../terraform/bod_docker_security_group_rules.tf:12
- ../../terraform/bod_lambda_security_group_rules.tf:2
- ../../terraform/bod_lambda_security_group_rules.tf:2
- ../../terraform/bod_lambda_security_group_rules.tf:2
- ../../terraform/bod_lambda_security_group_rules.tf:2
- ../../terraform/bod_lambda_security_group_rules.tf:2
- ../../terraform/bod_vpc.tf:202
- ../../terraform/bod_vpc.tf:209
- ../../terraform/bod_vpc.tf:216
- ../../terraform/cyhy_bastion_security_group_rules.tf:2
- and 36 more
Medium Ensure Terraform module sources use a commit hash
Ensure Terraform module sources use a commit hash
Where
- ../../terraform/bod_bastion_ec2.tf:49
- ../../terraform/bod_docker_ec2.tf:150
- ../../terraform/cyhy_bastion_ec2.tf:49
- ../../terraform/cyhy_dashboard_ec2.tf:76
- ../../terraform/cyhy_mongo_ec2.tf:168
- ../../terraform/cyhy_nessus_ec2.tf:149
- ../../terraform/cyhy_nmap_ec2.tf:193
- ../../terraform/cyhy_reporter_ec2.tf:113
- ../../terraform/mgmt_bastion_ec2.tf:50
- ../../terraform/mgmt_nessus_ec2.tf:52
- ../../terraform/wiz-access.tf:6
Medium Route53 A Record has Attached Resource
Route53 A Record has Attached Resource
Where
- ../../terraform/bod_route53.tf:32
- ../../terraform/bod_route53.tf:44
- ../../terraform/bod_route53.tf:56
- ../../terraform/cyhy_mongo_route53.tf:2
- ../../terraform/cyhy_route53.tf:32
- ../../terraform/cyhy_route53.tf:43
- ../../terraform/cyhy_route53.tf:54
- ../../terraform/mgmt_route53.tf:30
- ../../terraform/mgmt_route53.tf:43
- ../../terraform/mgmt_route53.tf:56
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
- ../../terraform/bod_docker_acl_rules.tf:14
- ../../terraform/bod_lambda_acl_rules.tf:2
- ../../terraform/bod_public_acl_rules.tf:39
- ../../terraform/cyhy_portscanner_acl_rules.tf:14
- ../../terraform/cyhy_portscanner_acl_rules.tf:14
- ../../terraform/cyhy_private_acl_rules.tf:51
- ../../terraform/cyhy_public_acl_rules.tf:14
- ../../terraform/cyhy_public_acl_rules.tf:14
- ../../terraform/cyhy_vulnscanner_acl_rules.tf:16
- ../../terraform/cyhy_vulnscanner_acl_rules.tf:16
Medium Ensure Terraform module sources use a tag with a version number
Ensure Terraform module sources use a tag with a version number
Where
- ../../terraform/bod_bastion_ec2.tf:49
- ../../terraform/bod_docker_ec2.tf:150
- ../../terraform/cyhy_bastion_ec2.tf:49
- ../../terraform/cyhy_dashboard_ec2.tf:76
- ../../terraform/cyhy_mongo_ec2.tf:168
- ../../terraform/cyhy_nessus_ec2.tf:149
- ../../terraform/cyhy_nmap_ec2.tf:193
- ../../terraform/cyhy_reporter_ec2.tf:113
- ../../terraform/mgmt_bastion_ec2.tf:50
- ../../terraform/mgmt_nessus_ec2.tf:52
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
- terraform/cyhy_bastion_ec2.tf:2 $24.26 / mo
- terraform/bod_bastion_ec2.tf:2 $24.26 / mo
- terraform/cyhy_dashboard_ec2.tf:25 $24.26 / mo
- terraform/mgmt_nessus_ec2.tf:1 $24.26 / mo
- terraform/cyhy_nmap_ec2.tf:45 $24.26 / mo
- terraform/bod_docker_ec2.tf:25 $24.26 / mo
- terraform/cyhy_nessus_ec2.tf:23 $24.26 / mo
- terraform/mgmt_bastion_ec2.tf:2 $24.26 / mo
- terraform/cyhy_reporter_ec2.tf:24 $24.26 / mo
- terraform/cyhy_mongo_ec2.tf:23 $24.26 / 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 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 block is handling task errors properly
Ensure block is handling task errors properly
How to fix
See Checkov documentation for remediation guidance.
Where
- ../../packer/ansible/base.yml:13
- ../../packer/ansible/aws.yml:14
- ../../ansible/roles/cyhy_reporter/tasks/main.yml:16
- ../../ansible/roles/nessus/tasks/main.yml:12
- ../../ansible/roles/nessus/tasks/main.yml:45
- ../../ansible/roles/orchestrator/tasks/main.yml:51
- ../../ansible/roles/code_gov_update/tasks/main.yml:32
Medium Ensure top-level permissions are not set to write-all
Ensure top-level permissions are not set to write-all
How to fix
See Checkov documentation for remediation guidance.
Where
Medium Ensure NACL ingress does not allow all Ports
Medium CloudWatch Logs Without Retention
CloudWatch log group without retention_in_days. Logs are kept indefinitely by default, silently growing to hundreds $/month.
How to fix
Set appropriate retention periods for log groups (e.g., 7, 14, or 30 days).
Where
- terraform/cyhy_vpc_flow_logs.tf:43 $6.60 / mo
- terraform/mgmt_vpc_flow_logs.tf:43 $6.60 / mo
- terraform/bod_vpc_flow_logs.tf:43 $6.60 / mo
- terraform/nvdsync_failure_alarms.tf:2 $6.60 / mo
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 that CloudWatch Log Group is encrypted by KMS
Ensure that CloudWatch Log Group is encrypted by KMS
Where
Medium Ensure no security groups allow ingress from 0.0.0.0:0 to port 22
Ensure no security groups allow ingress from 0.0.0.0:0 to port 22
Where
Medium Ensure all data stored in the SNS topic is encrypted
Ensure all data stored in the SNS topic is encrypted
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 that all EIP addresses allocated to a VPC are attached to EC2 instances
Ensure that all EIP addresses allocated to a VPC are attached to EC2 instances
Where
Medium Ensure an IAM role is attached to EC2 instance
Ensure an IAM role is attached to EC2 instance
Where
Medium Ensure that an S3 bucket has a lifecycle configuration
Ensure that an S3 bucket has a lifecycle configuration
Where
Medium Ensure S3 buckets should have event notifications enabled
Ensure S3 buckets should have event notifications enabled
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 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 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 Ensure no NACL allow ingress from 0.0.0.0:0 to port 22
Ensure no NACL allow ingress from 0.0.0.0:0 to port 22
Where
Medium Ensure AWS Lambda function is configured to validate code-signing
Ensure AWS Lambda function is configured to validate code-signing
Where
Medium Ensure access is controlled through SSO and not AWS IAM defined users
Ensure access is controlled through SSO and not AWS IAM defined users
Where
Medium Ensure Lambda Runtime is not deprecated
Ensure Lambda Runtime is not deprecated
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
Medium X-Ray tracing is enabled for Lambda
X-Ray tracing is enabled for Lambda
Where
Medium EC2 instance should not have public IP.
EC2 instance should not have public IP.
Where
Medium Missing S3 Lifecycle Policy
S3 bucket without lifecycle rules. Objects are retained indefinitely, increasing storage costs.
How to fix
Define lifecycle rules to transition objects to cheaper storage classes (e.g., Glacier) or delete them after a retention period.
Where
Medium Ensure IAM policies does not allow write access without constraints
Ensure IAM policies does not allow write access without constraints
Where
Medium Check encryption settings for Lambda environmental variable
Check encryption settings for Lambda environmental variable
Where
Medium Ensure no security groups allow ingress from 0.0.0.0:0 to port 3389
Ensure no security groups 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 80
Ensure no security groups allow ingress from 0.0.0.0:0 to port 80
Where
and 5 more groups with 5 findings
Low 8
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
- terraform/mgmt_vpc.tf:57 $3.65 / mo
- terraform/cyhy_nmap_ec2.tf:119 $3.65 / mo
- terraform/bod_vpc.tf:64 $3.65 / mo
- terraform/cyhy_nessus_ec2.tf:95 $3.65 / mo
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 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 26 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.