InfraScan Cloud

Repository scan

opg-modernising-lpa

ministryofjustice/opg-modernising-lpa · branch main · scanned 25 Jun 2026 · 369 resources

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

Medium 190

Medium Ensure no security groups allow egress from 0.0.0.0:0 to port -1 Security · 18 places
Medium Ensure CloudWatch log groups retains logs for at least 1 year Security · 15 places
Medium Ensure IAM policies does not allow write access without constraints Security · 14 places
Medium Ensure no IAM policies documents allow "*" as a statement's resource for restrictable actions Security · 14 places
Medium Ensure IAM policies does not allow permissions management / resource exposure without constraints Security · 12 places
Medium Ensure Secrets Manager secrets should have automatic rotation enabled Security · 11 places
Medium Ensure S3 buckets should have event notifications enabled Security · 8 places
Medium Ensure AWS ALB attached WAFv2 WebACL is configured with AMR for Log4j Vulnerability Security · 8 places
Medium Ensure that S3 bucket has cross-region replication enabled Security · 8 places
Medium Ensure that AWS Lambda function is configured for function-level concurrent execution limit Security · 6 places
Medium Ensure that AWS Lambda function is configured for a Dead Letter Queue(DLQ) Security · 6 places
Medium Check encryption settings for Lambda environmental variable Security · 6 places
Medium Ensure AWS Lambda function is configured to validate code-signing Security · 6 places
Medium Ensure that CloudWatch Log Group specifies retention days Security · 6 places
Medium AWS SSM Parameter should be Encrypted Security · 5 places
Medium Ensure Create before destroy for ACM certificates Security · 4 places
Medium Ensure no security groups allow ingress from 0.0.0.0:0 to port 80 Security · 4 places
Medium Ensure EventBridge Scheduler Schedule uses Customer Managed Key (CMK) Security · 4 places
Medium Load Balancer for Single Instance Cost · 4 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 Security Groups are attached to another resource Security · 3 places
Medium Ensure Terraform module sources use a commit hash Security · 3 places
Medium Ensure AWS IAM policy does not allow full IAM privileges Security · 2 places
Medium Ensure IAM policies that allow full "*-*" administrative privileges are not created Security · 2 places

Ensure IAM policies that allow full "*-*" administrative privileges are not created

Documentation

Where

Medium Ensure Backup Vault is encrypted at rest using KMS CMK Security · 2 places
Medium Ensure DynamoDB point in time recovery (backup) is enabled Reliability · 2 places

Ensure DynamoDB point in time recovery (backup) is enabled

Documentation

Where

Medium Ensure no IAM policies documents allow ALL or any AWS principal permissions to the resource Security · 2 places

Ensure no IAM policies documents allow ALL or any AWS principal permissions to the resource

Documentation

Where

Medium Ensure S3 lifecycle configuration sets period for aborting failed uploads Security · 2 places
Medium Ensure that Network firewall encryption is via a CMK Security · 2 places
Medium Ensure Network Firewall Policy defines an encryption configuration that uses a customer managed Key (CMK) Security · 2 places

Ensure Network Firewall Policy defines an encryption configuration that uses a customer managed Key (CMK)

Documentation

Where

Medium Ensure AWS Cognito identity pool does not allow unauthenticated guest access Security · 2 places
Medium Ensure no IAM policies documents allow "*" as a statement's actions Security · 2 places

Ensure no IAM policies documents allow "*" as a statement's actions

Documentation

Where

Medium Missing Cost and Usage Report Cost · 2 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 DynamoDB Tables are encrypted using a KMS Customer Managed CMK Security · 1 place

Ensure DynamoDB Tables are encrypted using a KMS Customer Managed CMK

Documentation

Where

Medium Ensure CloudTrail defines an SNS Topic Security · 1 place

Ensure CloudTrail defines an SNS Topic

Documentation

Where

Medium CloudWatch Logs Without Retention Cost · 1 place

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

Low 4

Low Missing AWS Budget Cost · 2 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 · 2 places

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.