InfraScan Cloud

Repository scan

hmpps-delius-core-terraform

ministryofjustice/hmpps-delius-core-terraform · branch main · scanned 25 Jun 2026 · 380 resources

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

Medium 177

Medium Ensure that Security Groups are attached to another resource Security · 34 places
Medium Ensure no IAM policies documents allow "*" as a statement's resource for restrictable actions Security · 11 places
Medium Ensure IAM policies does not allow write access without constraints Security · 7 places
Medium Ensure SSM parameters are using KMS CMK Security · 7 places
Medium Load Balancer for Single Instance Cost · 7 places

Load balancer detected. Verify it's needed - load balancers cost $15-20/month even if unused.

How to fix

Consider if load balancer is necessary for single-instance deployments or low-traffic applications.

Where

Medium Ensure that Load Balancer has deletion protection enabled Reliability · 6 places
Medium Ensure public facing ALB are protected by WAF Security · 5 places
Medium Ensure that ALB drops HTTP headers Security · 5 places
Medium Ensure Terraform module sources use a commit hash Security · 5 places
Medium Ensure that AWS Lambda function is configured for function-level concurrent execution limit Security · 4 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 · 4 places
Medium Ensure that AWS Lambda function is configured inside a VPC Security · 4 places
Medium Ensure that CloudWatch Log Group is encrypted by KMS Security · 4 places
Medium Check encryption settings for Lambda environmental variable Security · 4 places
Medium Ensure AWS Lambda function is configured to validate code-signing Security · 4 places
Medium Ensure that CloudWatch alarm actions are enabled Security · 4 places
Medium Ensure AWS Load Balancer doesn't use HTTP protocol Security · 4 places
Medium X-Ray tracing is enabled for Lambda Security · 4 places
Medium Ensure ECS containers are limited to read-only access to root filesystems Security · 3 places

Ensure ECS containers are limited to read-only access to root filesystems

Documentation

Where

Medium Ensure that auto Scaling groups that are associated with a load balancer are using Elastic Load Balancing health checks. Reliability · 2 places

Ensure that auto Scaling groups that are associated with a load balancer are using Elastic Load Balancing health checks.

Documentation

Where

Medium Ensure Postgres RDS as aws_db_instance has Query Logging enabled Security · 2 places

Ensure Postgres RDS as aws_db_instance has Query Logging enabled

Documentation

Where

Medium AWS SSM Parameter should be Encrypted Security · 2 places
Medium Ensure RDS instance with copy tags to snapshots is enabled Security · 2 places

Ensure RDS instance with copy tags to snapshots is enabled

Documentation

Where

Medium Ensure that enhanced monitoring is enabled for Amazon RDS instances Security · 2 places

Ensure that enhanced monitoring is enabled for Amazon RDS instances

Documentation

Where

Medium Ensure that respective logs of Amazon Relational Database Service (Amazon RDS) are enabled Security · 2 places

Ensure that respective logs of Amazon Relational Database Service (Amazon RDS) are enabled

Documentation

Where

Medium Ensure RDS database has IAM authentication enabled Security · 2 places

Ensure RDS database has IAM authentication enabled

Documentation

Where

Medium Ensure every security group and rule has a description Security · 2 places

Ensure every security group and rule has a description

Documentation

Where

Medium Ensure all data stored in the SNS topic is encrypted Security · 2 places

Ensure all data stored in the SNS topic is encrypted

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 that AWS database instances have deletion protection enabled Reliability · 2 places

Ensure that AWS database instances have deletion protection enabled

Documentation

Where

Medium Ensure EC2 Auto Scaling groups use EC2 launch templates Security · 2 places

Ensure EC2 Auto Scaling groups use EC2 launch templates

Documentation

Where

Medium Ensure that RDS instances have performance insights enabled Security · 2 places

Ensure that RDS instances have performance insights enabled

Documentation

Where

Medium Ensure Lambda Runtime is not deprecated Security · 2 places

Ensure Lambda Runtime is not deprecated

Documentation

Where

Medium Ensure Instance Metadata Service Version 1 is not enabled Security · 2 places

Ensure Instance Metadata Service Version 1 is not enabled

Documentation

Where

Medium Old Generation Storage (gp2) Cost · 2 places

Using gp2 EBS volumes when gp3 provides better performance at lower cost.

How to fix

Migrate from gp2 to gp3 volumes. gp3 offers 20% cost savings and better baseline performance.

Where

Medium Ensure that ALB redirects HTTP requests into HTTPS ones Security · 1 place

Ensure that ALB redirects HTTP requests into HTTPS ones

Documentation

Where

Medium Ensure S3 buckets should have event notifications enabled Security · 1 place

Ensure S3 buckets should have event notifications enabled

Documentation

Where

Medium Ensure IAM policies does not allow permissions management / resource exposure without constraints Security · 1 place

Ensure IAM policies does not allow permissions management / resource exposure without constraints

Documentation

Where

Medium Ensure that Elastic Load Balancer(s) uses SSL certificates provided by AWS Certificate Manager Security · 1 place

Ensure that Elastic Load Balancer(s) uses SSL certificates provided by AWS Certificate Manager

Documentation

Where

Medium Ensure that S3 bucket has cross-region replication enabled Security · 1 place

Ensure that S3 bucket has cross-region replication enabled

Documentation

Where

and 14 more groups with 14 findings

Low 1

Low EC2 Detailed Monitoring Cost · 1 place

Detailed monitoring for EC2 instances incurs extra costs.

How to fix

Disable detailed monitoring if standard 5-minute metrics are sufficient.

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.