InfraScan Cloud

Repository scan

govuk-infrastructure

alphagov/govuk-infrastructure · branch main · scanned 17 Jun 2026 · 960 resources

FOverall
FSecurity
–Reliability · N/A
DCost
994findings · 0 critical, 29 high
—no cost findings with a savings estimate

High 29

High Missing AWS Budget Cost · 28 places
High Expensive NAT Gateway Cost · 1 place

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 962

Medium Ensure Terraform module sources use a commit hash Security · 144 places
Medium Ensure Terraform module sources use a tag with a version number Security · 118 places
Medium Ensure BigQuery tables have deletion protection enabled Security · 72 places
Medium Ensure Big Query Tables are encrypted with Customer Supplied Encryption Keys (CSEK) Security · 72 places
Medium Ensure that CloudWatch Log Group is encrypted by KMS Security · 29 places
Medium Missing Cost and Usage Report Cost · 28 places
Medium Ensure S3 buckets should have event notifications enabled Security · 26 places
Medium Ensure that S3 bucket has cross-region replication enabled Security · 26 places
Medium Ensure that S3 buckets are encrypted with KMS by default Security · 26 places
Medium Ensure all data stored in the S3 bucket have versioning enabled Reliability · 22 places
Medium Ensure S3 lifecycle configuration sets period for aborting failed uploads Security · 19 places
Medium Ensure Big Query Datasets are encrypted with Customer Supplied Encryption Keys (CSEK) Security · 18 places
Medium Ensure CloudWatch log groups retains logs for at least 1 year Security · 17 places
Medium Ensure no IAM policies documents allow "*" as a statement's resource for restrictable actions Security · 16 places
Medium Ensure public access prevention is enforced on Cloud Storage bucket Security · 13 places
Medium Bucket should log access Security · 13 places
Medium Ensure Cloud storage has versioning enabled Security · 11 places
Medium Missing Spot Instance Usage Cost · 11 places
Medium Ensure Secrets Manager secrets should have automatic rotation enabled Security · 10 places
Medium Ensure that Secrets Manager secret is encrypted using KMS CMK Security · 10 places
Medium Ensure that Security Groups are attached to another resource Security · 8 places
Medium Ensure IAM policies does not allow write access without constraints Security · 8 places
Medium Ensure that S3 bucket has a Public Access block Security · 7 places
Medium Ensure WAF prevents message lookup in Log4j2. See CVE-2021-44228 aka log4jshell Security · 7 places
Medium Ensure every security group and rule has a description Security · 7 places
Medium Ensure basic roles are not used at project level. Security · 7 places
Medium Ensure roles do not impersonate or manage Service Accounts used at project level Security · 7 places
Medium Ensure that Cloud Storage buckets have uniform bucket-level access enabled Security · 6 places
Medium Ensure 'Block Project-wide SSH keys' is enabled for VM instances Security · 6 places
Medium Ensure Compute instances are launched with Shielded VM enabled Security · 6 places
Medium Ensure that Compute instances do not have public IP addresses Security · 6 places
Medium Ensure all data stored in the Elasticsearch is encrypted with a CMK Security · 5 places
Medium Ensure all data stored in the SNS topic is encrypted Security · 5 places
Medium Ensure Elasticsearch Domain Audit Logging is enabled Security · 5 places
Medium Ensure Elasticsearch domains are configured with at least three dedicated master nodes for HA Security · 5 places
Medium Ensure that Cloud Audit Logging is configured properly across all services and all users from a project Security · 4 places
Medium Ensure rotation for customer created CMKs is enabled Security · 4 places
Medium Ensure that the default network does not exist in a project Security · 4 places
Medium Ensure that all EIP addresses allocated to a VPC are attached to EC2 instances Security · 3 places
Medium Ensure WAF2 has a Logging Configuration Security · 3 places

and 94 more groups with 148 findings

Low 3

Low Unassociated Elastic IP Cost · 2 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 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 17 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.