InfraScan Cloud

Repository scan

somleng-switch

somleng/somleng-switch · branch main · scanned 25 Jun 2026 · 180 resources

DOverall
FSecurity
–Reliability · N/A
BCost
208findings · 0 critical, 0 high
$22.70estimated savings per month, from the code

Medium 201

Medium Ensure every security group and rule has a description Security · 52 places
Medium Ensure that CloudWatch Log Group is encrypted by KMS Security · 13 places
Medium Ensure CloudWatch log groups retains logs for at least 1 year Security · 13 places
Medium Ensure that ECR repositories are encrypted using KMS Security · 12 places
Medium Ensure ECR Image Tags are immutable Security · 12 places
Medium Ensure no security groups allow egress from 0.0.0.0:0 to port -1 Security · 11 places
Medium Ensure SSM parameters are using KMS CMK Security · 7 places
Medium Ensure Instance Metadata Service Version 1 is not enabled Security · 6 places
Medium Ensure that all EIP addresses allocated to a VPC are attached to EC2 instances Security · 5 places
Medium ECS Task Definition Without CPU/Memory Limits Cost · 5 places

aws_ecs_task_definition without explicit cpu and memory limits. This leads to unpredictable cluster over-provisioning as the scheduler cannot bin-pack tasks efficiently.

How to fix

Set cpu and memory at the task level. Start with the minimum viable values and scale up based on CloudWatch Container Insights metrics.

Where

Medium Ensure no security groups allow ingress from 0.0.0.0:0 to port -1 Security · 4 places
Medium Ensure container insights are enabled on ECS cluster Security · 4 places
Medium Ensure no IAM policies documents allow "*" as a statement's resource for restrictable actions Security · 3 places
Medium Ensure AWS Load Balancer doesn't use HTTP protocol Security · 3 places
Medium Missing Cost and Usage Report Cost · 3 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 that S3 bucket has a Public Access block Security · 2 places
Medium Ensure S3 buckets should have event notifications enabled Security · 2 places
Medium Ensure that AWS Lambda function is configured for function-level concurrent execution limit Security · 2 places

Ensure that AWS Lambda function is configured for function-level concurrent execution limit

Documentation

Where

Medium Ensure that AWS Lambda function is configured for a Dead Letter Queue(DLQ) Security · 2 places

Ensure that AWS Lambda function is configured for a Dead Letter Queue(DLQ)

Documentation

Where

Medium Ensure that S3 bucket has cross-region replication enabled Security · 2 places
Medium Check encryption settings for Lambda environmental variable Security · 2 places
Medium Ensure the S3 bucket has access logging enabled Security · 2 places
Medium Ensure resource is encrypted by KMS using a customer managed Key (CMK) Security · 2 places

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

Documentation

Where

Medium Ensure all data stored in the S3 bucket have versioning enabled Reliability · 2 places

Ensure all data stored in the S3 bucket have versioning enabled

Documentation

Where

Medium Ensure no security groups allow ingress from 0.0.0.0:0 to port 80 Security · 2 places

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

Documentation

Where

Medium Ensure all data stored in the SQS queue is encrypted Security · 2 places
Medium Ensure AWS Lambda function is configured to validate code-signing Security · 2 places

Ensure AWS Lambda function is configured to validate code-signing

Documentation

Where

Medium Ensure access is controlled through SSO and not AWS IAM defined users Security · 2 places

Ensure access is controlled through SSO and not AWS IAM defined users

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 S3 lifecycle configuration sets period for aborting failed uploads Security · 2 places

Ensure S3 lifecycle configuration sets period for aborting failed uploads

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 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 · 2 places

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

Medium X-Ray tracing is enabled for Lambda Security · 2 places
Medium EC2 instance should not have public IP. Security · 2 places
Medium 1 known vulnerability in busybox@1.37.0-r30 (public.ecr.aws/docker/library/redis:alpine) Security · 1 CVE

How to fix

No fixed version of busybox is available yet. Check whether public.ecr.aws/docker/library/redis:alpine needs busybox at all (a slimmer or distroless base image often drops it), watch the advisory for a fix, or accept the risk with a review date if it isn't reachable in your setup.

Vulnerabilities

  • Medium CVE-2025-60876 fixed in no fix yet
Medium Route53 A Record has Attached Resource Security · 1 place

Route53 A Record has Attached Resource

Documentation

Where

Medium Ensure AWS ElastiCache Redis cluster with Multi-AZ Automatic Failover feature set to enabled Reliability · 1 place

Ensure AWS ElastiCache Redis cluster with Multi-AZ Automatic Failover feature set to enabled

Documentation

Where

Medium Ensure that AWS Lambda function is configured inside a VPC Security · 1 place

Ensure that AWS Lambda function is configured inside a VPC

Documentation

Where

Medium Ensure that Load Balancer has deletion protection enabled Reliability · 1 place

Ensure that Load Balancer has deletion protection enabled

Documentation

Where

Medium Ensure ElastiCache replication group is encrypted by KMS using a customer managed Key (CMK) Security · 1 place

Ensure ElastiCache replication group is encrypted by KMS using a customer managed Key (CMK)

Documentation

Where

and 4 more groups with 4 findings

Low 7

Low Unassociated Elastic IP Cost · 3 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 · 3 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

Low Route53 Health Checks Cost · 1 place

Route53 health checks incur monthly costs. May not be necessary for all resources.

How to fix

Remove health checks for non-critical resources or personal projects.

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.