InfraScan Cloud

Repository scan

nr-forests-access-management

bcgov/nr-forests-access-management · branch main · scanned 25 Jun 2026 · 265 resources

COverall
DSecurity
–Reliability · N/A
BCost
172findings · 0 critical, 0 high
$56.68–$96.68estimated savings per month, from the code

Medium 170

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 AWS Lambda function is configured for function-level concurrent execution limit Security · 8 places
Medium Ensure that AWS Lambda function is configured for a Dead Letter Queue(DLQ) Security · 8 places
Medium Check encryption settings for Lambda environmental variable Security · 8 places
Medium Ensure AWS Lambda function is configured to validate code-signing Security · 8 places
Medium Ensure IAM policies does not allow write access without constraints Security · 8 places
Medium Ensure no IAM policies documents allow "*" as a statement's resource for restrictable actions Security · 8 places
Medium X-Ray tracing is enabled for Lambda Security · 8 places
Medium Ensure WAF2 has a Logging Configuration Security · 6 places
Medium Ensure AWS API gateway request is validated Security · 6 places
Medium Ensure there is no open access to back-end resources through API Security · 6 places
Medium Ensure Terraform module sources use a commit hash Security · 6 places
Medium Ensure that an S3 bucket has a lifecycle configuration Security · 4 places
Medium Ensure S3 buckets should have event notifications enabled Security · 4 places
Medium Ensure that S3 bucket has cross-region replication enabled Security · 4 places
Medium Ensure that S3 buckets are encrypted with KMS by default Security · 4 places
Medium Ensure the S3 bucket has access logging enabled Security · 4 places
Medium Ensure all data stored in the S3 bucket have versioning enabled Reliability · 4 places
Medium Ensure Create before destroy for API Gateway Security · 4 places
Medium Missing S3 Lifecycle Policy Cost · 4 places

S3 bucket without lifecycle rules. Objects are retained indefinitely, increasing storage costs.

How to fix

Define lifecycle rules to transition objects to cheaper storage classes (e.g., Glacier) or delete them after a retention period.

Where

Medium API Gateway REST Instead of HTTP API Cost · 4 places

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

Medium Ensure API Gateway stage have logging level defined as appropriate Security · 3 places
Medium Ensure AWS API Gateway endpoints uses client certificate authentication Security · 3 places
Medium Ensure AWS API Gateway Rest API attached WAFv2 WebACL is configured with AMR for Log4j Vulnerability Security · 3 places

Ensure AWS API Gateway Rest API attached WAFv2 WebACL is configured with AMR for Log4j Vulnerability

How to fix

See Checkov documentation for remediation guidance.

Where

Medium Ensure API Gateway caching is enabled Security · 3 places
Medium Ensure API Gateway has X-Ray Tracing enabled Security · 3 places
Medium Ensure API Gateway has Access Logging enabled Security · 3 places
Medium Ensure CloudFront distribution has a response headers policy attached Security · 2 places
Medium Ensure AWS CloudFront attached WAFv2 WebACL is configured with AMR for Log4j Vulnerability Security · 2 places

Ensure AWS CloudFront attached WAFv2 WebACL is configured with AMR for Log4j Vulnerability

Documentation

Where

Medium Ensure that S3 bucket has a Public Access block Security · 2 places
Medium Ensure that EC2 is EBS optimized Security · 2 places
Medium Ensure CloudFront distributions should have origin failover configured Security · 2 places

Ensure CloudFront distributions should have origin failover configured

Documentation

Where

Medium Ensure CloudFront distribution has Access Logging enabled Security · 2 places
Medium Missing Spot Instance Usage Cost · 2 places

No spot instances detected. Spot instances can save 50-90% on compute costs for interruptible workloads.

How to fix

Use spot instances for batch jobs, data analysis, and optional tasks. Consider aws_spot_instance_request or spot_price in launch templates.

Where

Medium Ensure that Security Groups are attached to another resource Security · 1 place

Ensure that Security Groups are attached to another resource

Documentation

Where

Medium Ensure S3 bucket Object is encrypted by KMS using a customer managed Key (CMK) Security · 1 place

Ensure S3 bucket Object is encrypted by KMS using a customer managed Key (CMK)

Documentation

Where

Low 2

Low EC2 Detailed Monitoring Cost · 2 places

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.