Repository scan
epb-aws-infrastructure
communitiesuk/epb-aws-infrastructure · branch main · scanned 25 Jun 2026 · 566 resources
High 2
High Expensive NAT Gateway
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 1,028
Medium Ensure that CodeBuild projects are encrypted using CMK
Ensure that CodeBuild projects are encrypted using CMK
Where
- ../../ci/modules/codebuild_project/codebuild.tf:1
- ../../ci/modules/codebuild_project/codebuild.tf:1
- ../../ci/modules/codebuild_project/codebuild.tf:1
- ../../ci/modules/codebuild_project/codebuild.tf:1
- ../../ci/modules/codebuild_project/codebuild.tf:1
- ../../ci/modules/codebuild_project/codebuild.tf:1
- ../../ci/modules/codebuild_project/codebuild.tf:1
- ../../ci/modules/codebuild_project/codebuild.tf:1
- ../../ci/modules/codebuild_project/codebuild.tf:1
- ../../ci/modules/codebuild_project/codebuild.tf:1
- ../../ci/modules/codebuild_project/codebuild.tf:1
- ../../ci/modules/codebuild_project/codebuild.tf:1
- ../../ci/modules/codebuild_project/codebuild.tf:1
- ../../ci/modules/codebuild_project/codebuild.tf:1
- ../../ci/modules/codebuild_project/codebuild.tf:1
- ../../ci/modules/codebuild_project/codebuild.tf:1
- ../../ci/modules/codebuild_project/codebuild.tf:1
- ../../ci/modules/codebuild_project/codebuild.tf:1
- ../../ci/modules/codebuild_project/codebuild.tf:1
- ../../ci/modules/codebuild_project/codebuild.tf:1
- and 53 more
Medium Ensure CodeBuild project environments have a logging configuration
Ensure CodeBuild project environments have a logging configuration
Where
- ../../ci/modules/codebuild_project/codebuild.tf:1
- ../../ci/modules/codebuild_project/codebuild.tf:1
- ../../ci/modules/codebuild_project/codebuild.tf:1
- ../../ci/modules/codebuild_project/codebuild.tf:1
- ../../ci/modules/codebuild_project/codebuild.tf:1
- ../../ci/modules/codebuild_project/codebuild.tf:1
- ../../ci/modules/codebuild_project/codebuild.tf:1
- ../../ci/modules/codebuild_project/codebuild.tf:1
- ../../ci/modules/codebuild_project/codebuild.tf:1
- ../../ci/modules/codebuild_project/codebuild.tf:1
- ../../ci/modules/codebuild_project/codebuild.tf:1
- ../../ci/modules/codebuild_project/codebuild.tf:1
- ../../ci/modules/codebuild_project/codebuild.tf:1
- ../../ci/modules/codebuild_project/codebuild.tf:1
- ../../ci/modules/codebuild_project/codebuild.tf:1
- ../../ci/modules/codebuild_project/codebuild.tf:1
- ../../ci/modules/codebuild_project/codebuild.tf:1
- ../../ci/modules/codebuild_project/codebuild.tf:1
- ../../ci/modules/codebuild_project/codebuild.tf:1
- ../../ci/modules/codebuild_project/codebuild.tf:1
- and 53 more
Medium Ensure CodeBuild project environments do not have privileged mode enabled
Ensure CodeBuild project environments do not have privileged mode enabled
Where
- ../../ci/modules/codebuild_project/codebuild.tf:1
- ../../ci/modules/codebuild_project/codebuild.tf:1
- ../../ci/modules/codebuild_project/codebuild.tf:1
- ../../ci/modules/codebuild_project/codebuild.tf:1
- ../../ci/modules/codebuild_project/codebuild.tf:1
- ../../ci/modules/codebuild_project/codebuild.tf:1
- ../../ci/modules/codebuild_project/codebuild.tf:1
- ../../ci/modules/codebuild_project/codebuild.tf:1
- ../../ci/modules/codebuild_project/codebuild.tf:1
- ../../ci/modules/codebuild_project/codebuild.tf:1
- ../../ci/modules/codebuild_project/codebuild.tf:1
- ../../ci/modules/codebuild_project/codebuild.tf:1
- ../../ci/modules/codebuild_project/codebuild.tf:1
- ../../ci/modules/codebuild_project/codebuild.tf:1
- ../../ci/modules/codebuild_project/codebuild.tf:1
- ../../ci/modules/codebuild_project/codebuild.tf:1
- ../../ci/modules/codebuild_project/codebuild.tf:1
- ../../ci/modules/codebuild_project/codebuild.tf:1
- ../../ci/modules/codebuild_project/codebuild.tf:1
- ../../ci/modules/codebuild_project/codebuild.tf:1
- and 53 more
Medium Ensure every security group and rule has a description
Ensure every security group and rule has a description
Where
- ../../developer/prototypes/security_group.tf:1
- ../../developer/prototypes/security_group.tf:30
- ../../service-infrastructure/application/front_door/security_groups.tf:1
- ../../service-infrastructure/application/front_door/security_groups.tf:1
- ../../service-infrastructure/application/front_door/security_groups.tf:1
- ../../service-infrastructure/application/front_door/security_groups.tf:1
- ../../service-infrastructure/application/front_door/security_groups.tf:1
- ../../service-infrastructure/application/front_door/security_groups.tf:1
- ../../service-infrastructure/application/front_door/security_groups.tf:1
- ../../service-infrastructure/application/front_door/security_groups.tf:1
- ../../service-infrastructure/application/front_door/security_groups.tf:1
- ../../service-infrastructure/application/front_door/security_groups.tf:1
- ../../service-infrastructure/application/security_groups.tf:1
- ../../service-infrastructure/application/security_groups.tf:52
- ../../service-infrastructure/application/security_groups.tf:1
- ../../service-infrastructure/application/security_groups.tf:52
- ../../service-infrastructure/application/security_groups.tf:1
- ../../service-infrastructure/application/security_groups.tf:52
- ../../service-infrastructure/application/security_groups.tf:1
- ../../service-infrastructure/application/security_groups.tf:52
- and 27 more
Medium Ensure Glue component has a security configuration associated
Ensure Glue component has a security configuration associated
Where
- ../../service-infrastructure/glue_addressing/etl_job/etl.tf:1
- ../../service-infrastructure/glue_addressing/etl_job/etl.tf:1
- ../../service-infrastructure/glue_data_warehouse/etl_job/etl.tf:1
- ../../service-infrastructure/glue_data_warehouse/etl_job/etl.tf:1
- ../../service-infrastructure/glue_data_warehouse/etl_job/etl.tf:1
- ../../service-infrastructure/glue_data_warehouse/etl_job/etl.tf:1
- ../../service-infrastructure/glue_data_warehouse/etl_job/etl.tf:1
- ../../service-infrastructure/glue_data_warehouse/etl_job/etl.tf:1
- ../../service-infrastructure/glue_data_warehouse/etl_job/etl.tf:1
- ../../service-infrastructure/glue_data_warehouse/etl_job/etl.tf:1
- ../../service-infrastructure/glue_data_warehouse/etl_job/etl.tf:1
- ../../service-infrastructure/glue_data_warehouse/etl_job/etl.tf:1
- ../../service-infrastructure/glue_data_warehouse/etl_job/etl.tf:1
- ../../service-infrastructure/glue_data_warehouse/etl_job/etl.tf:1
- ../../service-infrastructure/glue_data_warehouse/etl_job/etl.tf:1
- ../../service-infrastructure/glue_data_warehouse/etl_job/etl.tf:1
- ../../service-infrastructure/glue_data_warehouse/etl_job/etl.tf:1
- ../../service-infrastructure/glue_data_warehouse/etl_job/etl.tf:1
- ../../service-infrastructure/glue_data_warehouse/etl_job/etl.tf:1
- ../../service-infrastructure/glue_data_warehouse/etl_job/etl.tf:1
- and 20 more
Medium Ensure AWS Load Balancer doesn't use HTTP protocol
Ensure AWS Load Balancer doesn't use HTTP protocol
Where
- ../../developer/prototypes/alb.tf:12
- ../../service-infrastructure/application/alb-internal.tf:30
- ../../service-infrastructure/application/alb-internal.tf:30
- ../../service-infrastructure/application/alb-internal.tf:30
- ../../service-infrastructure/application/alb-internal.tf:30
- ../../service-infrastructure/application/alb-internal.tf:30
- ../../service-infrastructure/application/alb-internal.tf:30
- ../../service-infrastructure/application/alb-internal.tf:30
- ../../service-infrastructure/application/alb-internal.tf:30
- ../../service-infrastructure/application/alb-internal.tf:30
- ../../service-infrastructure/application/alb-internal.tf:30
- ../../service-infrastructure/application/front_door/alb.tf:22
- ../../service-infrastructure/application/front_door/alb.tf:42
- ../../service-infrastructure/application/front_door/alb.tf:22
- ../../service-infrastructure/application/front_door/alb.tf:42
- ../../service-infrastructure/application/front_door/alb.tf:22
- ../../service-infrastructure/application/front_door/alb.tf:42
- ../../service-infrastructure/application/front_door/alb.tf:22
- ../../service-infrastructure/application/front_door/alb.tf:42
- ../../service-infrastructure/application/front_door/alb.tf:22
- and 11 more
Medium Missing Cost and Usage Report
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
- state-init/main.tf:12
- ci/main.tf:13
- ci/modules/frontend_pipeline/main.tf:13
- ci/modules/codepipeline_iam/main.tf:12
- ci/modules/register_api_pipeline/main.tf:12
- ci/modules/service_codebuild_role/main.tf:12
- ci/modules/restart_tasks_pipeline/main.tf:17
- ci/modules/addressing_pipeline/main.tf:13
- ci/modules/build_test_image_pipeline/main.tf:14
- ci/modules/auth_server_pipeline/main.tf:13
- ci/modules/address_base_updater_pipeline/main.tf:13
- ci/modules/codestar_connection/main.tf:13
- ci/modules/performance_test_report_bucket/main.tf:12
- ci/modules/data_warehouse_pipeline/main.tf:12
- ci/modules/cc_tray/main.tf:16
- ci/modules/artifact_bucket/main.tf:13
- ci/modules/toggles_pipeline/main.tf:12
- ci/modules/fluentbit_pipeline/main.tf:18
- ci/modules/postgres_image_pipeline/main.tf:18
- ci/modules/performance_test_pipeline/main.tf:12
- and 10 more
Medium Ensure no IAM policies documents allow "*" as a statement's resource for restrictable actions
Ensure no IAM policies documents allow "*" as a statement's resource for restrictable actions
Where
- ../../developer/prototypes/ecs_roles.tf:43
- ../../developer/prototypes/ecs_roles.tf:61
- ../../developer/prototypes/iam.tf:1
- ../../service-infrastructure/access/ci_role.tf:19
- ../../service-infrastructure/application/iam.tf:103
- ../../service-infrastructure/application/iam.tf:126
- ../../service-infrastructure/application/iam.tf:103
- ../../service-infrastructure/application/iam.tf:126
- ../../service-infrastructure/application/iam.tf:103
- ../../service-infrastructure/application/iam.tf:126
- ../../service-infrastructure/application/iam.tf:103
- ../../service-infrastructure/application/iam.tf:126
- ../../service-infrastructure/application/iam.tf:103
- ../../service-infrastructure/application/iam.tf:126
- ../../service-infrastructure/application/iam.tf:103
- ../../service-infrastructure/application/iam.tf:126
- ../../service-infrastructure/application/iam.tf:103
- ../../service-infrastructure/application/iam.tf:126
- ../../service-infrastructure/application/iam.tf:103
- ../../service-infrastructure/application/iam.tf:126
- and 8 more
Medium Ensure no security groups allow ingress from 0.0.0.0:0 to port 80
Ensure no security groups allow ingress from 0.0.0.0:0 to port 80
Where
- ../../developer/prototypes/security_group.tf:1
- ../../developer/prototypes/security_group.tf:30
- ../../service-infrastructure/application/front_door/security_groups.tf:1
- ../../service-infrastructure/application/front_door/security_groups.tf:1
- ../../service-infrastructure/application/front_door/security_groups.tf:1
- ../../service-infrastructure/application/front_door/security_groups.tf:1
- ../../service-infrastructure/application/front_door/security_groups.tf:1
- ../../service-infrastructure/application/front_door/security_groups.tf:1
- ../../service-infrastructure/application/front_door/security_groups.tf:1
- ../../service-infrastructure/application/front_door/security_groups.tf:1
- ../../service-infrastructure/application/front_door/security_groups.tf:1
- ../../service-infrastructure/application/front_door/security_groups.tf:1
- ../../service-infrastructure/application/security_groups.tf:1
- ../../service-infrastructure/application/security_groups.tf:1
- ../../service-infrastructure/application/security_groups.tf:1
- ../../service-infrastructure/application/security_groups.tf:1
- ../../service-infrastructure/application/security_groups.tf:1
- ../../service-infrastructure/application/security_groups.tf:1
- ../../service-infrastructure/application/security_groups.tf:52
- ../../service-infrastructure/application/security_groups.tf:1
- and 6 more
Medium Ensure IAM policies does not allow write access without constraints
Ensure IAM policies does not allow write access without constraints
Where
- ../../developer/prototypes/iam.tf:1
- ../../service-infrastructure/access/ci_role.tf:19
- ../../service-infrastructure/application/iam.tf:103
- ../../service-infrastructure/application/iam.tf:126
- ../../service-infrastructure/application/iam.tf:103
- ../../service-infrastructure/application/iam.tf:126
- ../../service-infrastructure/application/iam.tf:103
- ../../service-infrastructure/application/iam.tf:126
- ../../service-infrastructure/application/iam.tf:103
- ../../service-infrastructure/application/iam.tf:126
- ../../service-infrastructure/application/iam.tf:103
- ../../service-infrastructure/application/iam.tf:126
- ../../service-infrastructure/application/iam.tf:103
- ../../service-infrastructure/application/iam.tf:126
- ../../service-infrastructure/application/iam.tf:103
- ../../service-infrastructure/application/iam.tf:126
- ../../service-infrastructure/application/iam.tf:103
- ../../service-infrastructure/application/iam.tf:126
- ../../service-infrastructure/application/iam.tf:103
- ../../service-infrastructure/application/iam.tf:126
- and 6 more
Medium Ensure that S3 bucket has cross-region replication enabled
Ensure that S3 bucket has cross-region replication enabled
Where
- ../../ci/logging/s3.tf:1
- ../../ci/modules/artifact_bucket/bucket.tf:1
- ../../ci/modules/cc_tray/s3.tf:1
- ../../ci/modules/performance_test_report_bucket/bucket.tf:1
- ../../developer/api-docs/s3.tf:1
- ../../developer/logging/s3.tf:1
- ../../developer/s3_bucket_data_export/s3.tf:1
- ../../developer/tech-docs/s3.tf:1
- ../../service-infrastructure/dwh-api-docs/s3.tf:1
- ../../service-infrastructure/error_pages/s3.tf:1
- ../../service-infrastructure/glue_data_warehouse/s3.tf:1
- ../../service-infrastructure/logging/s3.tf:1
- ../../service-infrastructure/rds_export_to_s3/s3.tf:1
- ../../service-infrastructure/s3_bucket/s3.tf:1
- ../../service-infrastructure/s3_bucket/s3.tf:1
- ../../service-infrastructure/s3_bucket/s3.tf:1
- ../../service-infrastructure/s3_bucket/s3.tf:1
- ../../service-infrastructure/s3_bucket/s3.tf:1
- ../../service-infrastructure/s3_bucket_data_export/s3.tf:1
- ../../service-infrastructure/s3_bucket_data_export/s3.tf:1
- and 1 more
Medium Ensure that S3 buckets are encrypted with KMS by default
Ensure that S3 buckets are encrypted with KMS by default
Where
- ../../ci/logging/s3.tf:1
- ../../ci/modules/artifact_bucket/bucket.tf:1
- ../../ci/modules/cc_tray/s3.tf:1
- ../../ci/modules/performance_test_report_bucket/bucket.tf:1
- ../../developer/api-docs/s3.tf:1
- ../../developer/logging/s3.tf:1
- ../../developer/s3_bucket_data_export/s3.tf:1
- ../../developer/tech-docs/s3.tf:1
- ../../service-infrastructure/dwh-api-docs/s3.tf:1
- ../../service-infrastructure/error_pages/s3.tf:1
- ../../service-infrastructure/glue_data_warehouse/s3.tf:1
- ../../service-infrastructure/logging/s3.tf:1
- ../../service-infrastructure/rds_export_to_s3/s3.tf:1
- ../../service-infrastructure/s3_bucket/s3.tf:1
- ../../service-infrastructure/s3_bucket/s3.tf:1
- ../../service-infrastructure/s3_bucket/s3.tf:1
- ../../service-infrastructure/s3_bucket/s3.tf:1
- ../../service-infrastructure/s3_bucket/s3.tf:1
- ../../service-infrastructure/s3_bucket_data_export/s3.tf:1
- ../../service-infrastructure/s3_bucket_data_export/s3.tf:1
- and 1 more
Medium Ensure that Load Balancer has deletion protection enabled
Ensure that Load Balancer has deletion protection enabled
Where
- ../../developer/prototypes/alb.tf:1
- ../../service-infrastructure/application/alb-internal.tf:5
- ../../service-infrastructure/application/alb-internal.tf:5
- ../../service-infrastructure/application/alb-internal.tf:5
- ../../service-infrastructure/application/alb-internal.tf:5
- ../../service-infrastructure/application/alb-internal.tf:5
- ../../service-infrastructure/application/alb-internal.tf:5
- ../../service-infrastructure/application/alb-internal.tf:5
- ../../service-infrastructure/application/alb-internal.tf:5
- ../../service-infrastructure/application/alb-internal.tf:5
- ../../service-infrastructure/application/alb-internal.tf:5
- ../../service-infrastructure/application/front_door/alb.tf:1
- ../../service-infrastructure/application/front_door/alb.tf:1
- ../../service-infrastructure/application/front_door/alb.tf:1
- ../../service-infrastructure/application/front_door/alb.tf:1
- ../../service-infrastructure/application/front_door/alb.tf:1
- ../../service-infrastructure/application/front_door/alb.tf:1
- ../../service-infrastructure/application/front_door/alb.tf:1
- ../../service-infrastructure/application/front_door/alb.tf:1
- ../../service-infrastructure/application/front_door/alb.tf:1
- and 1 more
Medium Ensure the S3 bucket has access logging enabled
Ensure the S3 bucket has access logging enabled
Where
- ../../ci/logging/s3.tf:1
- ../../ci/modules/artifact_bucket/bucket.tf:1
- ../../ci/modules/cc_tray/s3.tf:1
- ../../ci/modules/performance_test_report_bucket/bucket.tf:1
- ../../developer/api-docs/s3.tf:1
- ../../developer/logging/s3.tf:1
- ../../developer/s3_bucket_data_export/s3.tf:1
- ../../developer/tech-docs/s3.tf:1
- ../../service-infrastructure/dwh-api-docs/s3.tf:1
- ../../service-infrastructure/error_pages/s3.tf:1
- ../../service-infrastructure/glue_data_warehouse/s3.tf:1
- ../../service-infrastructure/logging/s3.tf:1
- ../../service-infrastructure/rds_export_to_s3/s3.tf:1
- ../../service-infrastructure/s3_bucket/s3.tf:1
- ../../service-infrastructure/s3_bucket/s3.tf:1
- ../../service-infrastructure/s3_bucket/s3.tf:1
- ../../service-infrastructure/s3_bucket/s3.tf:1
- ../../service-infrastructure/s3_bucket/s3.tf:1
- ../../service-infrastructure/s3_bucket_data_export/s3.tf:1
- ../../service-infrastructure/s3_bucket_data_export/s3.tf:1
- and 1 more
Medium Ensure S3 buckets should have event notifications enabled
Ensure S3 buckets should have event notifications enabled
Where
- ../../ci/logging/s3.tf:1
- ../../ci/modules/artifact_bucket/bucket.tf:1
- ../../ci/modules/cc_tray/s3.tf:1
- ../../ci/modules/performance_test_report_bucket/bucket.tf:1
- ../../developer/api-docs/s3.tf:1
- ../../developer/logging/s3.tf:1
- ../../developer/s3_bucket_data_export/s3.tf:1
- ../../developer/tech-docs/s3.tf:1
- ../../service-infrastructure/dwh-api-docs/s3.tf:1
- ../../service-infrastructure/error_pages/s3.tf:1
- ../../service-infrastructure/glue_data_warehouse/s3.tf:1
- ../../service-infrastructure/rds_export_to_s3/s3.tf:1
- ../../service-infrastructure/s3_bucket/s3.tf:1
- ../../service-infrastructure/s3_bucket/s3.tf:1
- ../../service-infrastructure/s3_bucket/s3.tf:1
- ../../service-infrastructure/s3_bucket/s3.tf:1
- ../../service-infrastructure/s3_bucket/s3.tf:1
- ../../service-infrastructure/s3_bucket_data_export/s3.tf:1
- ../../service-infrastructure/s3_bucket_data_export/s3.tf:1
- ../../state-init/s3.tf:1
Medium Ensure all data stored in the S3 bucket have versioning enabled
Ensure all data stored in the S3 bucket have versioning enabled
Where
- ../../ci/logging/s3.tf:1
- ../../ci/modules/cc_tray/s3.tf:1
- ../../ci/modules/performance_test_report_bucket/bucket.tf:1
- ../../developer/api-docs/s3.tf:1
- ../../developer/logging/s3.tf:1
- ../../developer/s3_bucket_data_export/s3.tf:1
- ../../developer/tech-docs/s3.tf:1
- ../../service-infrastructure/dwh-api-docs/s3.tf:1
- ../../service-infrastructure/error_pages/s3.tf:1
- ../../service-infrastructure/glue_data_warehouse/s3.tf:1
- ../../service-infrastructure/logging/s3.tf:1
- ../../service-infrastructure/rds_export_to_s3/s3.tf:1
- ../../service-infrastructure/s3_bucket/s3.tf:1
- ../../service-infrastructure/s3_bucket/s3.tf:1
- ../../service-infrastructure/s3_bucket/s3.tf:1
- ../../service-infrastructure/s3_bucket/s3.tf:1
- ../../service-infrastructure/s3_bucket/s3.tf:1
- ../../service-infrastructure/s3_bucket_data_export/s3.tf:1
- ../../service-infrastructure/s3_bucket_data_export/s3.tf:1
Medium Ensure CodePipeline Artifact store is using a KMS CMK
Ensure CodePipeline Artifact store is using a KMS CMK
Where
- ../../ci/modules/address_base_updater_pipeline/code_pipeline.tf:2
- ../../ci/modules/addressing_pipeline/code_pipeline.tf:2
- ../../ci/modules/api-docs-pipeline/code_pipeline.tf:1
- ../../ci/modules/auth_server_pipeline/code_pipeline.tf:2
- ../../ci/modules/auth_tools_pipeline/code_pipeline.tf:2
- ../../ci/modules/build_test_image_pipeline/code_pipeline.tf:1
- ../../ci/modules/data_frontend_pipeline/code_pipeline.tf:2
- ../../ci/modules/data_warehouse_pipeline/code_pipeline.tf:2
- ../../ci/modules/dwh-api-docs-pipeline/code_pipeline.tf:1
- ../../ci/modules/fluentbit_pipeline/code_pipeline.tf:15
- ../../ci/modules/frontend_pipeline/code_pipeline.tf:2
- ../../ci/modules/performance_test_pipeline/code_pipeline.tf:1
- ../../ci/modules/postgres_image_pipeline/code_pipeline.tf:15
- ../../ci/modules/prototypes_pipeline/code_pipeline.tf:1
- ../../ci/modules/register_api_pipeline/code_pipeline.tf:2
- ../../ci/modules/restart_tasks_pipeline/code_pipeline.tf:15
- ../../ci/modules/tech-docs-pipeline/code_pipeline.tf:1
- ../../ci/modules/toggles_pipeline/code_pipeline.tf:2
- ../../ci/modules/view_models_pipeline/code_pipeline.tf:1
Medium Ensure that ECR repositories are encrypted using KMS
Ensure that ECR repositories are encrypted using KMS
Where
- ../../ci/modules/build_test_image_pipeline/ecr.tf:1
- ../../ci/modules/postgres_image_pipeline/ecr.tf:1
- ../../developer/prototypes/ecr.tf:1
- ../../service-infrastructure/application/ecr.tf:1
- ../../service-infrastructure/application/ecr.tf:1
- ../../service-infrastructure/application/ecr.tf:1
- ../../service-infrastructure/application/ecr.tf:1
- ../../service-infrastructure/application/ecr.tf:1
- ../../service-infrastructure/application/ecr.tf:1
- ../../service-infrastructure/application/ecr.tf:1
- ../../service-infrastructure/application/ecr.tf:1
- ../../service-infrastructure/application/ecr.tf:1
- ../../service-infrastructure/application/ecr.tf:1
- ../../service-infrastructure/ecr/ecr.tf:1
- ../../service-infrastructure/ecr/ecr.tf:1
Medium Ensure ECR image scanning on push is enabled
Ensure ECR image scanning on push is enabled
Where
- ../../ci/modules/build_test_image_pipeline/ecr.tf:1
- ../../ci/modules/postgres_image_pipeline/ecr.tf:1
- ../../developer/prototypes/ecr.tf:1
- ../../service-infrastructure/application/ecr.tf:1
- ../../service-infrastructure/application/ecr.tf:1
- ../../service-infrastructure/application/ecr.tf:1
- ../../service-infrastructure/application/ecr.tf:1
- ../../service-infrastructure/application/ecr.tf:1
- ../../service-infrastructure/application/ecr.tf:1
- ../../service-infrastructure/application/ecr.tf:1
- ../../service-infrastructure/application/ecr.tf:1
- ../../service-infrastructure/application/ecr.tf:1
- ../../service-infrastructure/application/ecr.tf:1
- ../../service-infrastructure/ecr/ecr.tf:1
- ../../service-infrastructure/ecr/ecr.tf:1
Medium Ensure ECR Image Tags are immutable
Ensure ECR Image Tags are immutable
Where
- ../../ci/modules/build_test_image_pipeline/ecr.tf:1
- ../../ci/modules/postgres_image_pipeline/ecr.tf:1
- ../../developer/prototypes/ecr.tf:1
- ../../service-infrastructure/application/ecr.tf:1
- ../../service-infrastructure/application/ecr.tf:1
- ../../service-infrastructure/application/ecr.tf:1
- ../../service-infrastructure/application/ecr.tf:1
- ../../service-infrastructure/application/ecr.tf:1
- ../../service-infrastructure/application/ecr.tf:1
- ../../service-infrastructure/application/ecr.tf:1
- ../../service-infrastructure/application/ecr.tf:1
- ../../service-infrastructure/application/ecr.tf:1
- ../../service-infrastructure/application/ecr.tf:1
- ../../service-infrastructure/ecr/ecr.tf:1
- ../../service-infrastructure/ecr/ecr.tf:1
Medium Ensure CloudFront distribution has a response headers policy attached
Ensure CloudFront distribution has a response headers policy attached
Where
- ../../developer/api-docs/cloudfront.tf:9
- ../../developer/tech-docs/cloudfront.tf:9
- ../../service-infrastructure/application/front_door/cdn.tf:18
- ../../service-infrastructure/application/front_door/cdn.tf:18
- ../../service-infrastructure/application/front_door/cdn.tf:18
- ../../service-infrastructure/application/front_door/cdn.tf:18
- ../../service-infrastructure/application/front_door/cdn.tf:18
- ../../service-infrastructure/application/front_door/cdn.tf:18
- ../../service-infrastructure/application/front_door/cdn.tf:18
- ../../service-infrastructure/application/front_door/cdn.tf:18
- ../../service-infrastructure/application/front_door/cdn.tf:18
- ../../service-infrastructure/application/front_door/cdn.tf:18
- ../../service-infrastructure/legacy_domain_redirect/cloudfront.tf:1
Medium Ensure AWS CloudFront attached WAFv2 WebACL is configured with AMR for Log4j Vulnerability
Ensure AWS CloudFront attached WAFv2 WebACL is configured with AMR for Log4j Vulnerability
Where
- ../../developer/api-docs/cloudfront.tf:9
- ../../developer/tech-docs/cloudfront.tf:9
- ../../service-infrastructure/application/front_door/cdn.tf:18
- ../../service-infrastructure/application/front_door/cdn.tf:18
- ../../service-infrastructure/application/front_door/cdn.tf:18
- ../../service-infrastructure/application/front_door/cdn.tf:18
- ../../service-infrastructure/application/front_door/cdn.tf:18
- ../../service-infrastructure/application/front_door/cdn.tf:18
- ../../service-infrastructure/application/front_door/cdn.tf:18
- ../../service-infrastructure/application/front_door/cdn.tf:18
- ../../service-infrastructure/application/front_door/cdn.tf:18
- ../../service-infrastructure/application/front_door/cdn.tf:18
- ../../service-infrastructure/legacy_domain_redirect/cloudfront.tf:1
Medium Ensure CloudFront distributions should have origin failover configured
Ensure CloudFront distributions should have origin failover configured
Where
- ../../developer/api-docs/cloudfront.tf:9
- ../../developer/tech-docs/cloudfront.tf:9
- ../../service-infrastructure/application/front_door/cdn.tf:18
- ../../service-infrastructure/application/front_door/cdn.tf:18
- ../../service-infrastructure/application/front_door/cdn.tf:18
- ../../service-infrastructure/application/front_door/cdn.tf:18
- ../../service-infrastructure/application/front_door/cdn.tf:18
- ../../service-infrastructure/application/front_door/cdn.tf:18
- ../../service-infrastructure/application/front_door/cdn.tf:18
- ../../service-infrastructure/application/front_door/cdn.tf:18
- ../../service-infrastructure/application/front_door/cdn.tf:18
- ../../service-infrastructure/application/front_door/cdn.tf:18
- ../../service-infrastructure/legacy_domain_redirect/cloudfront.tf:1
Medium Ensure AWS CloudFront web distribution has geo restriction enabled
Ensure AWS CloudFront web distribution has geo restriction enabled
Where
- ../../developer/api-docs/cloudfront.tf:9
- ../../developer/tech-docs/cloudfront.tf:9
- ../../service-infrastructure/application/front_door/cdn.tf:18
- ../../service-infrastructure/application/front_door/cdn.tf:18
- ../../service-infrastructure/application/front_door/cdn.tf:18
- ../../service-infrastructure/application/front_door/cdn.tf:18
- ../../service-infrastructure/application/front_door/cdn.tf:18
- ../../service-infrastructure/application/front_door/cdn.tf:18
- ../../service-infrastructure/application/front_door/cdn.tf:18
- ../../service-infrastructure/application/front_door/cdn.tf:18
- ../../service-infrastructure/application/front_door/cdn.tf:18
- ../../service-infrastructure/application/front_door/cdn.tf:18
- ../../service-infrastructure/legacy_domain_redirect/cloudfront.tf:1
Medium Ensure that CloudWatch Log Group is encrypted by KMS
Ensure that CloudWatch Log Group is encrypted by KMS
Where
- ../../ci/logging/cloudwatch.tf:1
- ../../ci/logging/cloudwatch.tf:10
- ../../developer/logging/cloudwatch.tf:1
- ../../developer/logging/cloudwatch.tf:10
- ../../developer/prototypes/logs.tf:1
- ../../service-infrastructure/alerts/log_group.tf:1
- ../../service-infrastructure/data_frontend_delivery/lambda/log_group.tf:1
- ../../service-infrastructure/data_frontend_delivery/lambda/log_group.tf:1
- ../../service-infrastructure/logging/cloudwatch.tf:1
- ../../service-infrastructure/logging/cloudwatch.tf:10
- ../../service-infrastructure/logging/cloudwatch.tf:48
- ../../service-infrastructure/logging/s3.tf:164
Medium Ensure CloudFront distribution ViewerProtocolPolicy is set to HTTPS
Ensure CloudFront distribution ViewerProtocolPolicy is set to HTTPS
Where
- ../../developer/api-docs/cloudfront.tf:9
- ../../developer/tech-docs/cloudfront.tf:9
- ../../service-infrastructure/application/front_door/cdn.tf:18
- ../../service-infrastructure/application/front_door/cdn.tf:18
- ../../service-infrastructure/application/front_door/cdn.tf:18
- ../../service-infrastructure/application/front_door/cdn.tf:18
- ../../service-infrastructure/application/front_door/cdn.tf:18
- ../../service-infrastructure/application/front_door/cdn.tf:18
- ../../service-infrastructure/application/front_door/cdn.tf:18
- ../../service-infrastructure/application/front_door/cdn.tf:18
- ../../service-infrastructure/application/front_door/cdn.tf:18
- ../../service-infrastructure/application/front_door/cdn.tf:18
Medium Ensure public facing ALB are protected by WAF
Ensure public facing ALB are protected by WAF
Where
- ../../developer/prototypes/alb.tf:1
- ../../service-infrastructure/application/front_door/alb.tf:1
- ../../service-infrastructure/application/front_door/alb.tf:1
- ../../service-infrastructure/application/front_door/alb.tf:1
- ../../service-infrastructure/application/front_door/alb.tf:1
- ../../service-infrastructure/application/front_door/alb.tf:1
- ../../service-infrastructure/application/front_door/alb.tf:1
- ../../service-infrastructure/application/front_door/alb.tf:1
- ../../service-infrastructure/application/front_door/alb.tf:1
- ../../service-infrastructure/application/front_door/alb.tf:1
- ../../service-infrastructure/application/front_door/alb.tf:1
Medium Ensure that an S3 bucket has a lifecycle configuration
Ensure that an S3 bucket has a lifecycle configuration
Where
- ../../ci/modules/artifact_bucket/bucket.tf:1
- ../../ci/modules/cc_tray/s3.tf:1
- ../../developer/api-docs/s3.tf:1
- ../../developer/s3_bucket_data_export/s3.tf:1
- ../../developer/tech-docs/s3.tf:1
- ../../service-infrastructure/dwh-api-docs/s3.tf:1
- ../../service-infrastructure/error_pages/s3.tf:1
- ../../service-infrastructure/glue_data_warehouse/s3.tf:1
- ../../service-infrastructure/s3_bucket_data_export/s3.tf:1
- ../../service-infrastructure/s3_bucket_data_export/s3.tf:1
- ../../state-init/s3.tf:1
Medium Ensure CloudFront distribution has a default root object configured
Ensure CloudFront distribution has a default root object configured
Where
- ../../service-infrastructure/application/front_door/cdn.tf:18
- ../../service-infrastructure/application/front_door/cdn.tf:18
- ../../service-infrastructure/application/front_door/cdn.tf:18
- ../../service-infrastructure/application/front_door/cdn.tf:18
- ../../service-infrastructure/application/front_door/cdn.tf:18
- ../../service-infrastructure/application/front_door/cdn.tf:18
- ../../service-infrastructure/application/front_door/cdn.tf:18
- ../../service-infrastructure/application/front_door/cdn.tf:18
- ../../service-infrastructure/application/front_door/cdn.tf:18
- ../../service-infrastructure/application/front_door/cdn.tf:18
- ../../service-infrastructure/legacy_domain_redirect/cloudfront.tf:1
Medium Ensure container insights are enabled on ECS cluster
Ensure container insights are enabled on ECS cluster
Where
- ../../developer/prototypes/ecs.tf:1
- ../../service-infrastructure/application/ecs.tf:10
- ../../service-infrastructure/application/ecs.tf:10
- ../../service-infrastructure/application/ecs.tf:10
- ../../service-infrastructure/application/ecs.tf:10
- ../../service-infrastructure/application/ecs.tf:10
- ../../service-infrastructure/application/ecs.tf:10
- ../../service-infrastructure/application/ecs.tf:10
- ../../service-infrastructure/application/ecs.tf:10
- ../../service-infrastructure/application/ecs.tf:10
- ../../service-infrastructure/application/ecs.tf:10
Medium Ensure that Security Groups are attached to another resource
Ensure that Security Groups are attached to another resource
Where
- ../../service-infrastructure/application/security_groups.tf:1
- ../../service-infrastructure/application/security_groups.tf:1
- ../../service-infrastructure/application/security_groups.tf:1
- ../../service-infrastructure/application/security_groups.tf:1
- ../../service-infrastructure/application/security_groups.tf:1
- ../../service-infrastructure/glue_addressing/security_groups.tf:5
- ../../service-infrastructure/glue_data_warehouse/security_groups.tf:5
- ../../service-infrastructure/glue_register/security_groups.tf:5
- ../../service-infrastructure/networking/security_groups.tf:1
- ../../service-infrastructure/networking/security_groups.tf:50
Medium Ensure S3 lifecycle configuration sets period for aborting failed uploads
Ensure S3 lifecycle configuration sets period for aborting failed uploads
Where
- ../../ci/logging/s3.tf:21
- ../../ci/modules/performance_test_report_bucket/bucket.tf:21
- ../../developer/logging/s3.tf:21
- ../../service-infrastructure/logging/s3.tf:21
- ../../service-infrastructure/rds_export_to_s3/s3.tf:14
- ../../service-infrastructure/s3_bucket/s3.tf:15
- ../../service-infrastructure/s3_bucket/s3.tf:15
- ../../service-infrastructure/s3_bucket/s3.tf:15
- ../../service-infrastructure/s3_bucket/s3.tf:15
- ../../service-infrastructure/s3_bucket/s3.tf:15
Medium Ensure Secrets Manager secrets should have automatic rotation enabled
Ensure Secrets Manager secrets should have automatic rotation enabled
Where
- ../../developer/secrets/secrets.tf:1
- ../../service-infrastructure/glue_addressing/secret.tf:2
- ../../service-infrastructure/glue_data_warehouse/secret.tf:2
- ../../service-infrastructure/glue_register/secret.tf:2
- ../../service-infrastructure/secrets/secrets.tf:1
- ../../developer/secrets/secrets.tf:1
- ../../developer/secrets/secrets.tf:1
- ../../developer/secrets/secrets.tf:1
- ../../developer/secrets/secrets.tf:1
Medium Ensure that AWS Lambda function is configured for function-level concurrent execution limit
Ensure that AWS Lambda function is configured for function-level concurrent execution limit
Where
- ../../ci/alerts/lambda.tf:8
- ../../ci/modules/cc_tray/lambda.tf:8
- ../../developer/alerts/lambda.tf:8
- ../../service-infrastructure/alerts/lambda.tf:15
- ../../service-infrastructure/alerts/lambda.tf:41
- ../../service-infrastructure/alerts/lambda.tf:70
- ../../service-infrastructure/data_frontend_delivery/lambda/lambda.tf:11
- ../../service-infrastructure/data_frontend_delivery/lambda/lambda.tf:11
- ../../service-infrastructure/logging/s3.tf:181
Medium Ensure that AWS Lambda function is configured for a Dead Letter Queue(DLQ)
Ensure that AWS Lambda function is configured for a Dead Letter Queue(DLQ)
Where
- ../../ci/alerts/lambda.tf:8
- ../../ci/modules/cc_tray/lambda.tf:8
- ../../developer/alerts/lambda.tf:8
- ../../service-infrastructure/alerts/lambda.tf:15
- ../../service-infrastructure/alerts/lambda.tf:41
- ../../service-infrastructure/alerts/lambda.tf:70
- ../../service-infrastructure/data_frontend_delivery/lambda/lambda.tf:11
- ../../service-infrastructure/data_frontend_delivery/lambda/lambda.tf:11
- ../../service-infrastructure/logging/s3.tf:181
Medium Ensure that AWS Lambda function is configured inside a VPC
Ensure that AWS Lambda function is configured inside a VPC
Where
- ../../ci/alerts/lambda.tf:8
- ../../ci/modules/cc_tray/lambda.tf:8
- ../../developer/alerts/lambda.tf:8
- ../../service-infrastructure/alerts/lambda.tf:15
- ../../service-infrastructure/alerts/lambda.tf:41
- ../../service-infrastructure/alerts/lambda.tf:70
- ../../service-infrastructure/data_frontend_delivery/lambda/lambda.tf:11
- ../../service-infrastructure/data_frontend_delivery/lambda/lambda.tf:11
- ../../service-infrastructure/logging/s3.tf:181
Medium Ensure VPC subnets do not assign public IP by default
Ensure VPC subnets do not assign public IP by default
Where
- ../../developer/prototypes/network.tf:20
- ../../developer/prototypes/network.tf:32
- ../../developer/prototypes/network.tf:20
- ../../developer/prototypes/network.tf:20
- ../../developer/prototypes/network.tf:32
- ../../developer/prototypes/network.tf:32
- ../../service-infrastructure/networking/vpc.tf:17
- ../../service-infrastructure/networking/vpc.tf:17
- ../../service-infrastructure/networking/vpc.tf:17
Medium Ensure that Secrets Manager secret is encrypted using KMS CMK
Ensure that Secrets Manager secret is encrypted using KMS CMK
Where
- ../../developer/secrets/secrets.tf:1
- ../../developer/secrets/secrets.tf:1
- ../../developer/secrets/secrets.tf:1
- ../../developer/secrets/secrets.tf:1
- ../../developer/secrets/secrets.tf:1
- ../../service-infrastructure/glue_addressing/secret.tf:2
- ../../service-infrastructure/glue_data_warehouse/secret.tf:2
- ../../service-infrastructure/glue_register/secret.tf:2
- ../../service-infrastructure/secrets/secrets.tf:1
Medium Check encryption settings for Lambda environmental variable
Check encryption settings for Lambda environmental variable
Where
- ../../ci/alerts/lambda.tf:8
- ../../ci/modules/cc_tray/lambda.tf:8
- ../../developer/alerts/lambda.tf:8
- ../../service-infrastructure/alerts/lambda.tf:15
- ../../service-infrastructure/alerts/lambda.tf:41
- ../../service-infrastructure/alerts/lambda.tf:70
- ../../service-infrastructure/data_frontend_delivery/lambda/lambda.tf:11
- ../../service-infrastructure/data_frontend_delivery/lambda/lambda.tf:11
- ../../service-infrastructure/logging/s3.tf:181
Medium Ensure AWS Lambda function is configured to validate code-signing
Ensure AWS Lambda function is configured to validate code-signing
Where
- ../../ci/alerts/lambda.tf:8
- ../../ci/modules/cc_tray/lambda.tf:8
- ../../developer/alerts/lambda.tf:8
- ../../service-infrastructure/alerts/lambda.tf:15
- ../../service-infrastructure/alerts/lambda.tf:41
- ../../service-infrastructure/alerts/lambda.tf:70
- ../../service-infrastructure/data_frontend_delivery/lambda/lambda.tf:11
- ../../service-infrastructure/data_frontend_delivery/lambda/lambda.tf:11
- ../../service-infrastructure/logging/s3.tf:181
and 61 more groups with 182 findings
Low 32
Low Missing AWS Budget
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
- state-init/main.tf:12
- ci/main.tf:13
- ci/modules/frontend_pipeline/main.tf:13
- ci/modules/codepipeline_iam/main.tf:12
- ci/modules/register_api_pipeline/main.tf:12
- ci/modules/service_codebuild_role/main.tf:12
- ci/modules/restart_tasks_pipeline/main.tf:17
- ci/modules/addressing_pipeline/main.tf:13
- ci/modules/build_test_image_pipeline/main.tf:14
- ci/modules/auth_server_pipeline/main.tf:13
- ci/modules/address_base_updater_pipeline/main.tf:13
- ci/modules/codestar_connection/main.tf:13
- ci/modules/performance_test_report_bucket/main.tf:12
- ci/modules/data_warehouse_pipeline/main.tf:12
- ci/modules/cc_tray/main.tf:16
- ci/modules/artifact_bucket/main.tf:13
- ci/modules/toggles_pipeline/main.tf:12
- ci/modules/fluentbit_pipeline/main.tf:18
- ci/modules/postgres_image_pipeline/main.tf:18
- ci/modules/performance_test_pipeline/main.tf:12
- and 10 more
Low Unassociated Elastic IP
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
- developer/prototypes/gateways.tf:20 $3.65 / mo
- service-infrastructure/networking/gateways.tf:20 $3.65 / mo
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.