InfraScan Cloud

Repository scan

data-dashboard-infra

UKHSA-Internal/data-dashboard-infra · branch main · scanned 25 Jun 2026 · 143 resources

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

Medium 141

Medium Ensure Terraform module sources use a commit hash Security · 104 places
Medium Ensure Secrets Manager secrets should have automatic rotation enabled Security · 17 places
Medium Ensure that CloudWatch Log Group is encrypted by KMS Security · 2 places
Medium Ensure CloudWatch log groups retains logs for at least 1 year Security · 2 places
Medium Ensure public API gateway are protected by WAF Security · 1 place

Ensure public API gateway are protected by WAF

Documentation

Where

Medium Ensure API Gateway stage have logging level defined as appropriate Security · 1 place

Ensure API Gateway stage have logging level defined as appropriate

Documentation

Where

Medium Ensure AWS API Gateway endpoints uses client certificate authentication Security · 1 place

Ensure AWS API Gateway endpoints uses client certificate authentication

Documentation

Where

Medium Ensure AWS API gateway request is validated Security · 1 place

Ensure AWS API gateway request is validated

Documentation

Where

Medium Ensure API Gateway caching is enabled Security · 1 place

Ensure API Gateway caching is enabled

Documentation

Where

Medium Ensure Kinesis Stream is encrypted by KMS using a customer managed Key (CMK) Security · 1 place

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

Documentation

Where

Medium Ensure Create before destroy for API Gateway Security · 1 place

Ensure Create before destroy for API Gateway

Documentation

Where

Medium Ensure Kinesis Firehose delivery stream is encrypted Security · 1 place

Ensure Kinesis Firehose delivery stream is encrypted

Documentation

Where

Medium Ensure that Kinesis Firehose Delivery Streams are encrypted with CMK Security · 1 place

Ensure that Kinesis Firehose Delivery Streams are encrypted with CMK

Documentation

Where

Medium Ensure CloudFront response header policy enforces Strict Transport Security Security · 1 place

Ensure CloudFront response header policy enforces Strict Transport Security

Documentation

Where

Medium Ensure all data stored in the SNS topic is encrypted Security · 1 place

Ensure all data stored in the SNS topic is encrypted

Documentation

Where

Medium Ensure AWS Cognito identity pool does not allow unauthenticated guest access Security · 1 place

Ensure AWS Cognito identity pool does not allow unauthenticated guest access

Documentation

Where

Medium Ensure Kinesis Stream is securely encrypted Security · 1 place

Ensure Kinesis Stream is securely encrypted

Documentation

Where

Medium Ensure API Gateway has X-Ray Tracing enabled Security · 1 place

Ensure API Gateway has X-Ray Tracing enabled

Documentation

Where

Medium Ensure API Gateway has Access Logging enabled Security · 1 place

Ensure API Gateway has Access Logging enabled

Documentation

Where

Medium API Gateway REST Instead of HTTP API Cost · 1 place

aws_api_gateway_rest_api (REST API) costs ~3.5x more per million requests than aws_apigatewayv2_api (HTTP API). Most modern use cases are supported by the HTTP API.

How to fix

Migrate to aws_apigatewayv2_api (HTTP API v2) unless REST-specific features (usage plans, request validation, custom authorizers v1) are required.

Where

Low 2

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

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.