Repository scan
infra
mosip/infra · branch main · scanned 2 Apr 2026 · 45 resources
High 10
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
High Unencrypted EBS Volume
EBS volume is not encrypted. This is a security risk and often indicates unmanaged infrastructure.
How to fix
Enable encryption for EBS volumes.
Where
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 70
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/infra/main.tf:33
- terraform/implementations/azure/infra/main.tf:41
- terraform/implementations/azure/base-infra/main.tf:136
- terraform/implementations/aws/infra/main.tf:56
- terraform/implementations/aws/observ-infra/main.tf:42
- terraform/implementations/aws/base-infra/main.tf:165
- terraform/implementations/gcp/infra/main.tf:42
- terraform/implementations/gcp/base-infra/main.tf:142
- terraform/observ-infra/main.tf:33
- terraform/modules/aws/aws-resource-creation/variables.tf:70
- terraform/modules/aws/aws-resource-creation/outputs.tf:4
- terraform/modules/aws/aws-resource-creation/aws-resource-creation-main.tf:90
- terraform/base-infra/main.tf:31
- terraform/base-infra/aws/main.tf:204
- terraform/base-infra/aws/outputs.tf:18
Medium Ensure that detailed monitoring is enabled for EC2 instances
Ensure that detailed monitoring is enabled for EC2 instances
Where
- ../../terraform/base-infra/aws/main.tf:204
- ../../terraform/modules/aws/aws-resource-creation/aws-resource-creation-main.tf:90
- ../../terraform/modules/aws/aws-resource-creation/aws-resource-creation-main.tf:181
- ../../terraform/modules/aws/aws-resource-creation/aws-resource-creation-main.tf:90
- ../../terraform/modules/aws/aws-resource-creation/aws-resource-creation-main.tf:181
- ../../terraform/modules/aws/aws-resource-creation/aws-resource-creation-main.tf:90
- ../../terraform/modules/aws/aws-resource-creation/aws-resource-creation-main.tf:181
Medium Ensure that EC2 is EBS optimized
Ensure that EC2 is EBS optimized
Where
- ../../terraform/base-infra/aws/main.tf:204
- ../../terraform/modules/aws/aws-resource-creation/aws-resource-creation-main.tf:90
- ../../terraform/modules/aws/aws-resource-creation/aws-resource-creation-main.tf:181
- ../../terraform/modules/aws/aws-resource-creation/aws-resource-creation-main.tf:90
- ../../terraform/modules/aws/aws-resource-creation/aws-resource-creation-main.tf:181
- ../../terraform/modules/aws/aws-resource-creation/aws-resource-creation-main.tf:90
- ../../terraform/modules/aws/aws-resource-creation/aws-resource-creation-main.tf:181
Medium Ensure Instance Metadata Service Version 1 is not enabled
Ensure Instance Metadata Service Version 1 is not enabled
Where
- ../../terraform/base-infra/aws/main.tf:204
- ../../terraform/modules/aws/aws-resource-creation/aws-resource-creation-main.tf:90
- ../../terraform/modules/aws/aws-resource-creation/aws-resource-creation-main.tf:181
- ../../terraform/modules/aws/aws-resource-creation/aws-resource-creation-main.tf:90
- ../../terraform/modules/aws/aws-resource-creation/aws-resource-creation-main.tf:181
- ../../terraform/modules/aws/aws-resource-creation/aws-resource-creation-main.tf:90
- ../../terraform/modules/aws/aws-resource-creation/aws-resource-creation-main.tf:181
Medium Ensure all data stored in the Launch configuration or instance Elastic Blocks Store is securely encrypted
Ensure all data stored in the Launch configuration or instance Elastic Blocks Store is securely encrypted
Where
- ../../terraform/modules/aws/aws-resource-creation/aws-resource-creation-main.tf:90
- ../../terraform/modules/aws/aws-resource-creation/aws-resource-creation-main.tf:181
- ../../terraform/modules/aws/aws-resource-creation/aws-resource-creation-main.tf:90
- ../../terraform/modules/aws/aws-resource-creation/aws-resource-creation-main.tf:181
- ../../terraform/modules/aws/aws-resource-creation/aws-resource-creation-main.tf:90
- ../../terraform/modules/aws/aws-resource-creation/aws-resource-creation-main.tf:181
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 an IAM role is attached to EC2 instance
Ensure an IAM role is attached to EC2 instance
Where
Medium EC2 instance should not have public IP.
EC2 instance should not have public IP.
Where
Medium Ensure that Security Groups are attached to another resource
Ensure that Security Groups are attached to another resource
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 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 VPC flow logging is enabled in all VPCs
Ensure VPC flow logging is enabled in all VPCs
Where
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 every security group and rule has a description
Ensure every security group and rule has a description
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 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 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
Low 3
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
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
Grades use InfraScan Cloud's current formula, so they can differ from the ones first shown for this scan. Findings reflect the repository on 2 Apr 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.