Repository scan
sc-terraform
schematical/sc-terraform · branch main · scanned 25 Jun 2026 · 565 resources
High 3
High Old Generation Instance
Usage of old generation EC2 instances (e.g., t2, m3, c4, r3). Newer generations are often cheaper and faster.
How to fix
Upgrade to current generation instances (e.g., t3, m5, c5, r5).
Where
- modules/vpc/main.tf:150 $0.43 / mo
High Unencrypted EBS Volume
EBS volume is not encrypted. This is a security risk and often indicates unmanaged infrastructure.
How to fix
Enable encryption for EBS volumes.
Where
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,261
Medium Ensure every security group and rule has a description
Ensure every security group and rule has a description
Where
- ../../_course/module1-video2/module1-video2.tf:28
- ../../_course/module1-video3/module1-video3.tf:84
- ../../modules/alb/main.tf:11
- ../../modules/alb/main.tf:11
- ../../modules/aws-batch-pytorch-gpu-service/main.tf:96
- ../../modules/aws-batch-pytorch-gpu-service/main.tf:394
- ../../modules/aws-batch-pytorch-gpu-service/main.tf:96
- ../../modules/aws-batch-pytorch-gpu-service/main.tf:394
- ../../modules/buildpipeline/main.tf:187
- ../../modules/buildpipeline/main.tf:187
- ../../modules/buildpipeline/main.tf:187
- ../../modules/buildpipeline/main.tf:187
- ../../modules/buildpipeline/main.tf:187
- ../../modules/buildpipeline/main.tf:187
- ../../modules/buildpipeline/main.tf:187
- ../../modules/buildpipeline/main.tf:187
- ../../modules/buildpipeline/main.tf:187
- ../../modules/buildpipeline/main.tf:187
- ../../modules/buildpipeline/main.tf:187
- ../../modules/buildpipeline/main.tf:187
- and 50 more
Medium Ensure no security groups allow egress from 0.0.0.0:0 to port -1
Ensure no security groups allow egress from 0.0.0.0:0 to port -1
Where
- ../../_course/module1-video2/module1-video2.tf:28
- ../../_course/module1-video3/module1-video3.tf:84
- ../../modules/alb/main.tf:11
- ../../modules/alb/main.tf:11
- ../../modules/aws-batch-pytorch-gpu-service/main.tf:96
- ../../modules/aws-batch-pytorch-gpu-service/main.tf:394
- ../../modules/aws-batch-pytorch-gpu-service/main.tf:96
- ../../modules/aws-batch-pytorch-gpu-service/main.tf:394
- ../../modules/buildpipeline/main.tf:187
- ../../modules/buildpipeline/main.tf:187
- ../../modules/buildpipeline/main.tf:187
- ../../modules/buildpipeline/main.tf:187
- ../../modules/buildpipeline/main.tf:187
- ../../modules/buildpipeline/main.tf:187
- ../../modules/buildpipeline/main.tf:187
- ../../modules/buildpipeline/main.tf:187
- ../../modules/buildpipeline/main.tf:187
- ../../modules/buildpipeline/main.tf:187
- ../../modules/buildpipeline/main.tf:187
- ../../modules/buildpipeline/main.tf:187
- and 41 more
Medium Ensure that S3 bucket has a Public Access block
Ensure that S3 bucket has a Public Access block
Where
- ../../modules/cloudfront/main.tf:1
- ../../modules/cloudfront/main.tf:1
- ../../modules/cloudfront/main.tf:1
- ../../modules/cloudfront/main.tf:1
- ../../modules/cloudfront/main.tf:1
- ../../modules/cloudfront/main.tf:1
- ../../modules/cloudfront/main.tf:1
- ../../modules/cloudfront/main.tf:1
- ../../modules/cloudfront/main.tf:1
- ../../modules/cloudfront/main.tf:1
- ../../modules/cloudfront/main.tf:1
- ../../modules/cloudfront/main.tf:1
- ../../modules/cloudfront/main.tf:1
- ../../modules/cloudfront/main.tf:1
- ../../tf/projects/chaoscrawler/env/main.tf:31
- ../../tf/projects/chaoscrawler/env/main.tf:31
- ../../tf/projects/chaospixel/env/main.tf:35
- ../../tf/projects/chaospixel/env/main.tf:35
- ../../tf/projects/diagrams_schematical_com/env/main.tf:34
- ../../tf/projects/diagrams_schematical_com/env/main.tf:34
- and 13 more
Medium Ensure that an S3 bucket has a lifecycle configuration
Ensure that an S3 bucket has a lifecycle configuration
Where
- ../../_course/module1-video1/module1-video1.tf:28
- ../../_course/module2-video2/main.tf:23
- ../../modules/cloudfront/main.tf:1
- ../../modules/cloudfront/main.tf:1
- ../../modules/cloudfront/main.tf:1
- ../../modules/cloudfront/main.tf:1
- ../../modules/cloudfront/main.tf:1
- ../../modules/cloudfront/main.tf:1
- ../../modules/cloudfront/main.tf:1
- ../../modules/cloudfront/main.tf:1
- ../../modules/cloudfront/main.tf:1
- ../../modules/cloudfront/main.tf:1
- ../../modules/cloudfront/main.tf:1
- ../../modules/cloudfront/main.tf:1
- ../../modules/cloudfront/main.tf:1
- ../../modules/cloudfront/main.tf:1
- ../../modules/kinesis-glue-integration/main.tf:20
- ../../modules/sagemaker-serverless/main.tf:260
- ../../modules/sagemaker/main.tf:258
- ../../tf/main.tf:94
- and 13 more
Medium Ensure S3 buckets should have event notifications enabled
Ensure S3 buckets should have event notifications enabled
Where
- ../../_course/module1-video1/module1-video1.tf:28
- ../../_course/module2-video2/main.tf:23
- ../../modules/cloudfront/main.tf:1
- ../../modules/cloudfront/main.tf:1
- ../../modules/cloudfront/main.tf:1
- ../../modules/cloudfront/main.tf:1
- ../../modules/cloudfront/main.tf:1
- ../../modules/cloudfront/main.tf:1
- ../../modules/cloudfront/main.tf:1
- ../../modules/cloudfront/main.tf:1
- ../../modules/cloudfront/main.tf:1
- ../../modules/cloudfront/main.tf:1
- ../../modules/cloudfront/main.tf:1
- ../../modules/cloudfront/main.tf:1
- ../../modules/cloudfront/main.tf:1
- ../../modules/cloudfront/main.tf:1
- ../../modules/kinesis-glue-integration/main.tf:20
- ../../modules/sagemaker-serverless/main.tf:260
- ../../modules/sagemaker/main.tf:258
- ../../tf/main.tf:94
- and 13 more
Medium Ensure that S3 bucket has cross-region replication enabled
Ensure that S3 bucket has cross-region replication enabled
Where
- ../../_course/module1-video1/module1-video1.tf:28
- ../../_course/module2-video2/main.tf:23
- ../../modules/cloudfront/main.tf:1
- ../../modules/cloudfront/main.tf:1
- ../../modules/cloudfront/main.tf:1
- ../../modules/cloudfront/main.tf:1
- ../../modules/cloudfront/main.tf:1
- ../../modules/cloudfront/main.tf:1
- ../../modules/cloudfront/main.tf:1
- ../../modules/cloudfront/main.tf:1
- ../../modules/cloudfront/main.tf:1
- ../../modules/cloudfront/main.tf:1
- ../../modules/cloudfront/main.tf:1
- ../../modules/cloudfront/main.tf:1
- ../../modules/cloudfront/main.tf:1
- ../../modules/cloudfront/main.tf:1
- ../../modules/kinesis-glue-integration/main.tf:20
- ../../modules/sagemaker-serverless/main.tf:260
- ../../modules/sagemaker/main.tf:258
- ../../tf/main.tf:94
- and 13 more
Medium Ensure the S3 bucket has access logging enabled
Ensure the S3 bucket has access logging enabled
Where
- ../../_course/module1-video1/module1-video1.tf:28
- ../../_course/module2-video2/main.tf:23
- ../../modules/cloudfront/main.tf:1
- ../../modules/cloudfront/main.tf:1
- ../../modules/cloudfront/main.tf:1
- ../../modules/cloudfront/main.tf:1
- ../../modules/cloudfront/main.tf:1
- ../../modules/cloudfront/main.tf:1
- ../../modules/cloudfront/main.tf:1
- ../../modules/cloudfront/main.tf:1
- ../../modules/cloudfront/main.tf:1
- ../../modules/cloudfront/main.tf:1
- ../../modules/cloudfront/main.tf:1
- ../../modules/cloudfront/main.tf:1
- ../../modules/cloudfront/main.tf:1
- ../../modules/cloudfront/main.tf:1
- ../../modules/kinesis-glue-integration/main.tf:20
- ../../modules/sagemaker-serverless/main.tf:260
- ../../modules/sagemaker/main.tf:258
- ../../tf/main.tf:94
- and 13 more
Medium Ensure all data stored in the S3 bucket have versioning enabled
Ensure all data stored in the S3 bucket have versioning enabled
Where
- ../../_course/module1-video1/module1-video1.tf:28
- ../../_course/module2-video2/main.tf:23
- ../../modules/cloudfront/main.tf:1
- ../../modules/cloudfront/main.tf:1
- ../../modules/cloudfront/main.tf:1
- ../../modules/cloudfront/main.tf:1
- ../../modules/cloudfront/main.tf:1
- ../../modules/cloudfront/main.tf:1
- ../../modules/cloudfront/main.tf:1
- ../../modules/cloudfront/main.tf:1
- ../../modules/cloudfront/main.tf:1
- ../../modules/cloudfront/main.tf:1
- ../../modules/cloudfront/main.tf:1
- ../../modules/cloudfront/main.tf:1
- ../../modules/cloudfront/main.tf:1
- ../../modules/cloudfront/main.tf:1
- ../../modules/kinesis-glue-integration/main.tf:20
- ../../modules/sagemaker-serverless/main.tf:260
- ../../modules/sagemaker/main.tf:258
- ../../tf/main.tf:94
- and 13 more
Medium Ensure that S3 buckets are encrypted with KMS by default
Ensure that S3 buckets are encrypted with KMS by default
Where
- ../../_course/module1-video1/module1-video1.tf:28
- ../../modules/cloudfront/main.tf:1
- ../../modules/cloudfront/main.tf:1
- ../../modules/cloudfront/main.tf:1
- ../../modules/cloudfront/main.tf:1
- ../../modules/cloudfront/main.tf:1
- ../../modules/cloudfront/main.tf:1
- ../../modules/cloudfront/main.tf:1
- ../../modules/cloudfront/main.tf:1
- ../../modules/cloudfront/main.tf:1
- ../../modules/cloudfront/main.tf:1
- ../../modules/cloudfront/main.tf:1
- ../../modules/cloudfront/main.tf:1
- ../../modules/cloudfront/main.tf:1
- ../../modules/cloudfront/main.tf:1
- ../../modules/kinesis-glue-integration/main.tf:20
- ../../modules/sagemaker-serverless/main.tf:260
- ../../modules/sagemaker/main.tf:258
- ../../tf/main.tf:94
- ../../tf/main.tf:148
- and 12 more
Medium Ensure DynamoDB Tables are encrypted using a KMS Customer Managed CMK
Ensure DynamoDB Tables are encrypted using a KMS Customer Managed CMK
Where
- ../../tf/projects/chaoscrawler/env/dynamodb.tf:1
- ../../tf/projects/chaoscrawler/env/dynamodb.tf:43
- ../../tf/projects/chaoscrawler/env/dynamodb.tf:87
- ../../tf/projects/chaoscrawler/env/dynamodb.tf:127
- ../../tf/projects/chaoscrawler/env/dynamodb.tf:167
- ../../tf/projects/chaoscrawler/env/dynamodb.tf:195
- ../../tf/projects/chaoscrawler/env/dynamodb.tf:214
- ../../tf/projects/chaoscrawler/env/dynamodb.tf:233
- ../../tf/projects/chaoscrawler/env/dynamodb.tf:252
- ../../tf/projects/chaoscrawler/env/dynamodb.tf:267
- ../../tf/projects/chaoscrawler/env/dynamodb.tf:1
- ../../tf/projects/chaoscrawler/env/dynamodb.tf:43
- ../../tf/projects/chaoscrawler/env/dynamodb.tf:87
- ../../tf/projects/chaoscrawler/env/dynamodb.tf:127
- ../../tf/projects/chaoscrawler/env/dynamodb.tf:167
- ../../tf/projects/chaoscrawler/env/dynamodb.tf:195
- ../../tf/projects/chaoscrawler/env/dynamodb.tf:214
- ../../tf/projects/chaoscrawler/env/dynamodb.tf:233
- ../../tf/projects/chaoscrawler/env/dynamodb.tf:252
- ../../tf/projects/chaoscrawler/env/dynamodb.tf:267
- and 8 more
Medium Ensure DynamoDB point in time recovery (backup) is enabled
Ensure DynamoDB point in time recovery (backup) is enabled
Where
- ../../tf/projects/chaoscrawler/env/dynamodb.tf:1
- ../../tf/projects/chaoscrawler/env/dynamodb.tf:43
- ../../tf/projects/chaoscrawler/env/dynamodb.tf:87
- ../../tf/projects/chaoscrawler/env/dynamodb.tf:127
- ../../tf/projects/chaoscrawler/env/dynamodb.tf:167
- ../../tf/projects/chaoscrawler/env/dynamodb.tf:195
- ../../tf/projects/chaoscrawler/env/dynamodb.tf:214
- ../../tf/projects/chaoscrawler/env/dynamodb.tf:233
- ../../tf/projects/chaoscrawler/env/dynamodb.tf:252
- ../../tf/projects/chaoscrawler/env/dynamodb.tf:267
- ../../tf/projects/chaoscrawler/env/dynamodb.tf:1
- ../../tf/projects/chaoscrawler/env/dynamodb.tf:43
- ../../tf/projects/chaoscrawler/env/dynamodb.tf:87
- ../../tf/projects/chaoscrawler/env/dynamodb.tf:127
- ../../tf/projects/chaoscrawler/env/dynamodb.tf:167
- ../../tf/projects/chaoscrawler/env/dynamodb.tf:195
- ../../tf/projects/chaoscrawler/env/dynamodb.tf:214
- ../../tf/projects/chaoscrawler/env/dynamodb.tf:233
- ../../tf/projects/chaoscrawler/env/dynamodb.tf:252
- ../../tf/projects/chaoscrawler/env/dynamodb.tf:267
- and 8 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
- tf/main.tf:19
- tf/projects/shiporgetoffthepot_com/main.tf:3
- tf/projects/schematical_com/main.tf:7
- tf/projects/diagrams_schematical_com/main.tf:6
- tf/projects/ctothinktank_com/main.tf:4
- tf/projects/indihustlers_com/main.tf:6
- tf/projects/cloudwargames_com/main.tf:4
- tf/projects/splittestgpt_com/main.tf:6
- tf/projects/drawnby_ai/main.tf:5
- tf/projects/chaoscrawler/main.tf:5
- modules/sagemaker-serverless/main.tf:13
- modules/sagemaker/main.tf:12
- workspaces/explodeme-com-shared/route53.tf:4
- workspaces/explodeme-com-shared/main.tf:15
- workspaces/shared/main.tf:15
- workspaces/explodeme-com-env/main.tf:15
- workspaces/elasticache-autoscaling/main.tf:17
- workspaces/explodeme-com-ecs/route53.tf:4
- workspaces/explodeme-com-ecs/main.tf:15
- workspaces/explodeme-com-ses/main.tf:15
- and 5 more
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
- ../../modules/lambda-service/main.tf:83
- ../../modules/lambda-service/main.tf:83
- ../../modules/lambda-service/main.tf:83
- ../../modules/lambda-service/main.tf:83
- ../../modules/lambda-service/main.tf:83
- ../../modules/lambda-service/main.tf:83
- ../../modules/lambda-service/main.tf:83
- ../../modules/lambda-service/main.tf:83
- ../../modules/lambda-service/main.tf:83
- ../../modules/lambda-service/main.tf:83
- ../../modules/lambda-service/main.tf:83
- ../../modules/lambda-service/main.tf:83
- ../../modules/lambda-service/main.tf:83
- ../../modules/lambda-service/main.tf:83
- ../../modules/lambda-service/main.tf:83
- ../../modules/lambda-service/main.tf:83
- ../../modules/lambda-service/main.tf:83
- ../../modules/lambda-service/main.tf:83
- ../../modules/lambda-service/main.tf:83
- ../../modules/lambda-service/main.tf:83
- and 3 more
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
- ../../modules/lambda-service/main.tf:83
- ../../modules/lambda-service/main.tf:83
- ../../modules/lambda-service/main.tf:83
- ../../modules/lambda-service/main.tf:83
- ../../modules/lambda-service/main.tf:83
- ../../modules/lambda-service/main.tf:83
- ../../modules/lambda-service/main.tf:83
- ../../modules/lambda-service/main.tf:83
- ../../modules/lambda-service/main.tf:83
- ../../modules/lambda-service/main.tf:83
- ../../modules/lambda-service/main.tf:83
- ../../modules/lambda-service/main.tf:83
- ../../modules/lambda-service/main.tf:83
- ../../modules/lambda-service/main.tf:83
- ../../modules/lambda-service/main.tf:83
- ../../modules/lambda-service/main.tf:83
- ../../modules/lambda-service/main.tf:83
- ../../modules/lambda-service/main.tf:83
- ../../modules/lambda-service/main.tf:83
- ../../modules/lambda-service/main.tf:83
- and 3 more
Medium Check encryption settings for Lambda environmental variable
Check encryption settings for Lambda environmental variable
Where
- ../../modules/lambda-service/main.tf:83
- ../../modules/lambda-service/main.tf:83
- ../../modules/lambda-service/main.tf:83
- ../../modules/lambda-service/main.tf:83
- ../../modules/lambda-service/main.tf:83
- ../../modules/lambda-service/main.tf:83
- ../../modules/lambda-service/main.tf:83
- ../../modules/lambda-service/main.tf:83
- ../../modules/lambda-service/main.tf:83
- ../../modules/lambda-service/main.tf:83
- ../../modules/lambda-service/main.tf:83
- ../../modules/lambda-service/main.tf:83
- ../../modules/lambda-service/main.tf:83
- ../../modules/lambda-service/main.tf:83
- ../../modules/lambda-service/main.tf:83
- ../../modules/lambda-service/main.tf:83
- ../../modules/lambda-service/main.tf:83
- ../../modules/lambda-service/main.tf:83
- ../../modules/lambda-service/main.tf:83
- ../../modules/lambda-service/main.tf:83
- and 3 more
Medium Ensure AWS Lambda function is configured to validate code-signing
Ensure AWS Lambda function is configured to validate code-signing
Where
- ../../modules/lambda-service/main.tf:83
- ../../modules/lambda-service/main.tf:83
- ../../modules/lambda-service/main.tf:83
- ../../modules/lambda-service/main.tf:83
- ../../modules/lambda-service/main.tf:83
- ../../modules/lambda-service/main.tf:83
- ../../modules/lambda-service/main.tf:83
- ../../modules/lambda-service/main.tf:83
- ../../modules/lambda-service/main.tf:83
- ../../modules/lambda-service/main.tf:83
- ../../modules/lambda-service/main.tf:83
- ../../modules/lambda-service/main.tf:83
- ../../modules/lambda-service/main.tf:83
- ../../modules/lambda-service/main.tf:83
- ../../modules/lambda-service/main.tf:83
- ../../modules/lambda-service/main.tf:83
- ../../modules/lambda-service/main.tf:83
- ../../modules/lambda-service/main.tf:83
- ../../modules/lambda-service/main.tf:83
- ../../modules/lambda-service/main.tf:83
- and 3 more
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
- ../../modules/cloudfront/main.tf:72
- ../../modules/cloudfront/main.tf:72
- ../../modules/cloudfront/main.tf:72
- ../../modules/cloudfront/main.tf:72
- ../../modules/cloudfront/main.tf:72
- ../../modules/cloudfront/main.tf:72
- ../../modules/cloudfront/main.tf:72
- ../../modules/cloudfront/main.tf:72
- ../../modules/cloudfront/main.tf:72
- ../../modules/cloudfront/main.tf:72
- ../../modules/cloudfront/main.tf:72
- ../../modules/cloudfront/main.tf:72
- ../../modules/cloudfront/main.tf:72
- ../../modules/cloudfront/main.tf:72
- ../../tf/projects/chaoscrawler/env/main.tf:127
- ../../tf/projects/chaoscrawler/env/main.tf:127
- ../../tf/projects/chaospixel/env/main.tf:131
- ../../tf/projects/chaospixel/env/main.tf:131
- ../../tf/projects/diagrams_schematical_com/env/main.tf:116
- ../../tf/projects/diagrams_schematical_com/env/main.tf:116
Medium Ensure access control lists for S3 buckets are disabled
Ensure access control lists for S3 buckets are disabled
Where
- ../../modules/cloudfront/main.tf:10
- ../../modules/cloudfront/main.tf:10
- ../../modules/cloudfront/main.tf:10
- ../../modules/cloudfront/main.tf:10
- ../../modules/cloudfront/main.tf:10
- ../../modules/cloudfront/main.tf:10
- ../../modules/cloudfront/main.tf:10
- ../../modules/cloudfront/main.tf:10
- ../../modules/cloudfront/main.tf:10
- ../../modules/cloudfront/main.tf:10
- ../../modules/cloudfront/main.tf:10
- ../../modules/cloudfront/main.tf:10
- ../../modules/cloudfront/main.tf:10
- ../../modules/cloudfront/main.tf:10
- ../../tf/projects/chaoscrawler/env/main.tf:38
- ../../tf/projects/chaoscrawler/env/main.tf:38
- ../../tf/projects/chaospixel/env/main.tf:42
- ../../tf/projects/chaospixel/env/main.tf:42
- ../../tf/projects/diagrams_schematical_com/env/main.tf:41
- ../../tf/projects/diagrams_schematical_com/env/main.tf:41
Medium Ensure that CodeBuild projects are encrypted using CMK
Ensure that CodeBuild projects are encrypted using CMK
Where
- ../../modules/buildpipeline/main.tf:213
- ../../modules/buildpipeline/main.tf:213
- ../../modules/buildpipeline/main.tf:213
- ../../modules/buildpipeline/main.tf:213
- ../../modules/buildpipeline/main.tf:213
- ../../modules/buildpipeline/main.tf:213
- ../../modules/buildpipeline/main.tf:213
- ../../modules/buildpipeline/main.tf:213
- ../../modules/buildpipeline/main.tf:213
- ../../modules/buildpipeline/main.tf:213
- ../../modules/buildpipeline/main.tf:213
- ../../modules/buildpipeline/main.tf:213
- ../../modules/buildpipeline/main.tf:213
- ../../modules/buildpipeline/main.tf:213
- ../../modules/buildpipeline/main.tf:213
- ../../modules/buildpipeline/main.tf:213
- ../../modules/buildpipeline/main.tf:213
- ../../modules/buildpipeline/main.tf:213
- ../../modules/buildpipeline/main.tf:213
- ../../modules/buildpipeline/main.tf:213
Medium S3 Bucket has an ACL defined which allows public READ access.
S3 Bucket has an ACL defined which allows public READ access.
Where
- ../../modules/cloudfront/main.tf:1
- ../../modules/cloudfront/main.tf:1
- ../../modules/cloudfront/main.tf:1
- ../../modules/cloudfront/main.tf:1
- ../../modules/cloudfront/main.tf:1
- ../../modules/cloudfront/main.tf:1
- ../../modules/cloudfront/main.tf:1
- ../../modules/cloudfront/main.tf:1
- ../../modules/cloudfront/main.tf:1
- ../../modules/cloudfront/main.tf:1
- ../../modules/cloudfront/main.tf:1
- ../../modules/cloudfront/main.tf:1
- ../../modules/cloudfront/main.tf:1
- ../../modules/cloudfront/main.tf:1
- ../../tf/projects/chaoscrawler/env/main.tf:31
- ../../tf/projects/chaoscrawler/env/main.tf:31
- ../../tf/projects/chaospixel/env/main.tf:35
- ../../tf/projects/chaospixel/env/main.tf:35
- ../../tf/projects/diagrams_schematical_com/env/main.tf:34
- ../../tf/projects/diagrams_schematical_com/env/main.tf:34
Medium Ensure CodePipeline Artifact store is using a KMS CMK
Ensure CodePipeline Artifact store is using a KMS CMK
Where
- ../../modules/buildpipeline/main.tf:34
- ../../modules/buildpipeline/main.tf:34
- ../../modules/buildpipeline/main.tf:34
- ../../modules/buildpipeline/main.tf:34
- ../../modules/buildpipeline/main.tf:34
- ../../modules/buildpipeline/main.tf:34
- ../../modules/buildpipeline/main.tf:34
- ../../modules/buildpipeline/main.tf:34
- ../../modules/buildpipeline/main.tf:34
- ../../modules/buildpipeline/main.tf:34
- ../../modules/buildpipeline/main.tf:34
- ../../modules/buildpipeline/main.tf:34
- ../../modules/buildpipeline/main.tf:34
- ../../modules/buildpipeline/main.tf:34
- ../../modules/buildpipeline/main.tf:34
- ../../modules/buildpipeline/main.tf:34
- ../../modules/buildpipeline/main.tf:34
- ../../modules/buildpipeline/main.tf:34
- ../../modules/buildpipeline/main.tf:34
- ../../modules/buildpipeline/main.tf:34
Medium Ensure CloudFront distributions should have origin failover configured
Ensure CloudFront distributions should have origin failover configured
Where
- ../../modules/cloudfront/main.tf:72
- ../../modules/cloudfront/main.tf:72
- ../../modules/cloudfront/main.tf:72
- ../../modules/cloudfront/main.tf:72
- ../../modules/cloudfront/main.tf:72
- ../../modules/cloudfront/main.tf:72
- ../../modules/cloudfront/main.tf:72
- ../../modules/cloudfront/main.tf:72
- ../../modules/cloudfront/main.tf:72
- ../../modules/cloudfront/main.tf:72
- ../../modules/cloudfront/main.tf:72
- ../../modules/cloudfront/main.tf:72
- ../../modules/cloudfront/main.tf:72
- ../../modules/cloudfront/main.tf:72
- ../../tf/projects/chaoscrawler/env/main.tf:127
- ../../tf/projects/chaoscrawler/env/main.tf:127
- ../../tf/projects/chaospixel/env/main.tf:131
- ../../tf/projects/chaospixel/env/main.tf:131
- ../../tf/projects/diagrams_schematical_com/env/main.tf:116
- ../../tf/projects/diagrams_schematical_com/env/main.tf:116
Medium Ensure CodeBuild project environments do not have privileged mode enabled
Ensure CodeBuild project environments do not have privileged mode enabled
Where
- ../../modules/buildpipeline/main.tf:213
- ../../modules/buildpipeline/main.tf:213
- ../../modules/buildpipeline/main.tf:213
- ../../modules/buildpipeline/main.tf:213
- ../../modules/buildpipeline/main.tf:213
- ../../modules/buildpipeline/main.tf:213
- ../../modules/buildpipeline/main.tf:213
- ../../modules/buildpipeline/main.tf:213
- ../../modules/buildpipeline/main.tf:213
- ../../modules/buildpipeline/main.tf:213
- ../../modules/buildpipeline/main.tf:213
- ../../modules/buildpipeline/main.tf:213
- ../../modules/buildpipeline/main.tf:213
- ../../modules/buildpipeline/main.tf:213
- ../../modules/buildpipeline/main.tf:213
- ../../modules/buildpipeline/main.tf:213
- ../../modules/buildpipeline/main.tf:213
- ../../modules/buildpipeline/main.tf:213
- ../../modules/buildpipeline/main.tf:213
- ../../modules/buildpipeline/main.tf:213
Medium Ensure CloudFront distribution ViewerProtocolPolicy is set to HTTPS
Ensure CloudFront distribution ViewerProtocolPolicy is set to HTTPS
Where
- ../../modules/cloudfront/main.tf:72
- ../../modules/cloudfront/main.tf:72
- ../../modules/cloudfront/main.tf:72
- ../../modules/cloudfront/main.tf:72
- ../../modules/cloudfront/main.tf:72
- ../../modules/cloudfront/main.tf:72
- ../../modules/cloudfront/main.tf:72
- ../../modules/cloudfront/main.tf:72
- ../../modules/cloudfront/main.tf:72
- ../../modules/cloudfront/main.tf:72
- ../../modules/cloudfront/main.tf:72
- ../../modules/cloudfront/main.tf:72
- ../../modules/cloudfront/main.tf:72
- ../../modules/cloudfront/main.tf:72
- ../../tf/projects/chaoscrawler/env/main.tf:127
- ../../tf/projects/chaoscrawler/env/main.tf:127
- ../../tf/projects/chaospixel/env/main.tf:131
- ../../tf/projects/chaospixel/env/main.tf:131
- ../../tf/projects/diagrams_schematical_com/env/main.tf:116
- ../../tf/projects/diagrams_schematical_com/env/main.tf:116
Medium Ensure AWS CloudFront web distribution has geo restriction enabled
Ensure AWS CloudFront web distribution has geo restriction enabled
Where
- ../../modules/cloudfront/main.tf:72
- ../../modules/cloudfront/main.tf:72
- ../../modules/cloudfront/main.tf:72
- ../../modules/cloudfront/main.tf:72
- ../../modules/cloudfront/main.tf:72
- ../../modules/cloudfront/main.tf:72
- ../../modules/cloudfront/main.tf:72
- ../../modules/cloudfront/main.tf:72
- ../../modules/cloudfront/main.tf:72
- ../../modules/cloudfront/main.tf:72
- ../../modules/cloudfront/main.tf:72
- ../../modules/cloudfront/main.tf:72
- ../../modules/cloudfront/main.tf:72
- ../../modules/cloudfront/main.tf:72
- ../../tf/projects/chaoscrawler/env/main.tf:127
- ../../tf/projects/chaoscrawler/env/main.tf:127
- ../../tf/projects/chaospixel/env/main.tf:131
- ../../tf/projects/chaospixel/env/main.tf:131
- ../../tf/projects/diagrams_schematical_com/env/main.tf:116
- ../../tf/projects/diagrams_schematical_com/env/main.tf:116
Medium Ensure S3 bucket has block public ACLS enabled
Ensure S3 bucket has block public ACLS enabled
Where
- ../../modules/cloudfront/main.tf:33
- ../../modules/cloudfront/main.tf:33
- ../../modules/cloudfront/main.tf:33
- ../../modules/cloudfront/main.tf:33
- ../../modules/cloudfront/main.tf:33
- ../../modules/cloudfront/main.tf:33
- ../../modules/cloudfront/main.tf:33
- ../../modules/cloudfront/main.tf:33
- ../../modules/cloudfront/main.tf:33
- ../../modules/cloudfront/main.tf:33
- ../../modules/cloudfront/main.tf:33
- ../../modules/cloudfront/main.tf:33
- ../../modules/cloudfront/main.tf:33
- ../../modules/cloudfront/main.tf:33
- ../../tf/projects/chaoscrawler/env/main.tf:102
- ../../tf/projects/chaoscrawler/env/main.tf:102
- ../../tf/projects/chaospixel/env/main.tf:106
- ../../tf/projects/chaospixel/env/main.tf:106
- ../../tf/projects/diagrams_schematical_com/env/main.tf:91
- ../../tf/projects/diagrams_schematical_com/env/main.tf:91
Medium Ensure S3 bucket has block public policy enabled
Ensure S3 bucket has block public policy enabled
Where
- ../../modules/cloudfront/main.tf:33
- ../../modules/cloudfront/main.tf:33
- ../../modules/cloudfront/main.tf:33
- ../../modules/cloudfront/main.tf:33
- ../../modules/cloudfront/main.tf:33
- ../../modules/cloudfront/main.tf:33
- ../../modules/cloudfront/main.tf:33
- ../../modules/cloudfront/main.tf:33
- ../../modules/cloudfront/main.tf:33
- ../../modules/cloudfront/main.tf:33
- ../../modules/cloudfront/main.tf:33
- ../../modules/cloudfront/main.tf:33
- ../../modules/cloudfront/main.tf:33
- ../../modules/cloudfront/main.tf:33
- ../../tf/projects/chaoscrawler/env/main.tf:102
- ../../tf/projects/chaoscrawler/env/main.tf:102
- ../../tf/projects/chaospixel/env/main.tf:106
- ../../tf/projects/chaospixel/env/main.tf:106
- ../../tf/projects/diagrams_schematical_com/env/main.tf:91
- ../../tf/projects/diagrams_schematical_com/env/main.tf:91
Medium Ensure S3 bucket has ignore public ACLs enabled
Ensure S3 bucket has ignore public ACLs enabled
Where
- ../../modules/cloudfront/main.tf:33
- ../../modules/cloudfront/main.tf:33
- ../../modules/cloudfront/main.tf:33
- ../../modules/cloudfront/main.tf:33
- ../../modules/cloudfront/main.tf:33
- ../../modules/cloudfront/main.tf:33
- ../../modules/cloudfront/main.tf:33
- ../../modules/cloudfront/main.tf:33
- ../../modules/cloudfront/main.tf:33
- ../../modules/cloudfront/main.tf:33
- ../../modules/cloudfront/main.tf:33
- ../../modules/cloudfront/main.tf:33
- ../../modules/cloudfront/main.tf:33
- ../../modules/cloudfront/main.tf:33
- ../../tf/projects/chaoscrawler/env/main.tf:102
- ../../tf/projects/chaoscrawler/env/main.tf:102
- ../../tf/projects/chaospixel/env/main.tf:106
- ../../tf/projects/chaospixel/env/main.tf:106
- ../../tf/projects/diagrams_schematical_com/env/main.tf:91
- ../../tf/projects/diagrams_schematical_com/env/main.tf:91
Medium Ensure S3 bucket has 'restrict_public_buckets' enabled
Ensure S3 bucket has 'restrict_public_buckets' enabled
Where
- ../../modules/cloudfront/main.tf:33
- ../../modules/cloudfront/main.tf:33
- ../../modules/cloudfront/main.tf:33
- ../../modules/cloudfront/main.tf:33
- ../../modules/cloudfront/main.tf:33
- ../../modules/cloudfront/main.tf:33
- ../../modules/cloudfront/main.tf:33
- ../../modules/cloudfront/main.tf:33
- ../../modules/cloudfront/main.tf:33
- ../../modules/cloudfront/main.tf:33
- ../../modules/cloudfront/main.tf:33
- ../../modules/cloudfront/main.tf:33
- ../../modules/cloudfront/main.tf:33
- ../../modules/cloudfront/main.tf:33
- ../../tf/projects/chaoscrawler/env/main.tf:102
- ../../tf/projects/chaoscrawler/env/main.tf:102
- ../../tf/projects/chaospixel/env/main.tf:106
- ../../tf/projects/chaospixel/env/main.tf:106
- ../../tf/projects/diagrams_schematical_com/env/main.tf:91
- ../../tf/projects/diagrams_schematical_com/env/main.tf:91
Medium CloudFront Distribution should have WAF enabled
CloudFront Distribution should have WAF enabled
Where
- ../../modules/cloudfront/main.tf:72
- ../../modules/cloudfront/main.tf:72
- ../../modules/cloudfront/main.tf:72
- ../../modules/cloudfront/main.tf:72
- ../../modules/cloudfront/main.tf:72
- ../../modules/cloudfront/main.tf:72
- ../../modules/cloudfront/main.tf:72
- ../../modules/cloudfront/main.tf:72
- ../../modules/cloudfront/main.tf:72
- ../../modules/cloudfront/main.tf:72
- ../../modules/cloudfront/main.tf:72
- ../../modules/cloudfront/main.tf:72
- ../../modules/cloudfront/main.tf:72
- ../../modules/cloudfront/main.tf:72
- ../../tf/projects/chaoscrawler/env/main.tf:127
- ../../tf/projects/chaoscrawler/env/main.tf:127
- ../../tf/projects/chaospixel/env/main.tf:131
- ../../tf/projects/chaospixel/env/main.tf:131
- ../../tf/projects/diagrams_schematical_com/env/main.tf:116
- ../../tf/projects/diagrams_schematical_com/env/main.tf:116
Medium Ensure CloudFront distribution has Access Logging enabled
Ensure CloudFront distribution has Access Logging enabled
Where
- ../../modules/cloudfront/main.tf:72
- ../../modules/cloudfront/main.tf:72
- ../../modules/cloudfront/main.tf:72
- ../../modules/cloudfront/main.tf:72
- ../../modules/cloudfront/main.tf:72
- ../../modules/cloudfront/main.tf:72
- ../../modules/cloudfront/main.tf:72
- ../../modules/cloudfront/main.tf:72
- ../../modules/cloudfront/main.tf:72
- ../../modules/cloudfront/main.tf:72
- ../../modules/cloudfront/main.tf:72
- ../../modules/cloudfront/main.tf:72
- ../../modules/cloudfront/main.tf:72
- ../../modules/cloudfront/main.tf:72
- ../../tf/projects/chaoscrawler/env/main.tf:127
- ../../tf/projects/chaoscrawler/env/main.tf:127
- ../../tf/projects/chaospixel/env/main.tf:131
- ../../tf/projects/chaospixel/env/main.tf:131
- ../../tf/projects/diagrams_schematical_com/env/main.tf:116
- ../../tf/projects/diagrams_schematical_com/env/main.tf:116
Medium Ensure AWS API gateway request is validated
Ensure AWS API gateway request is validated
Where
- ../../_course/module3-video1/cognito.tf:89
- ../../modules/nextjs-lambda-frontent-base/apigateway.tf:43
- ../../modules/nextjs-lambda-frontent-base/apigateway.tf:68
- ../../modules/nextjs-lambda-frontent-base/apigateway.tf:43
- ../../modules/nextjs-lambda-frontent-base/apigateway.tf:68
- ../../modules/nextjs-lambda-frontent-base/apigateway.tf:43
- ../../modules/nextjs-lambda-frontent-base/apigateway.tf:68
- ../../modules/nextjs-lambda-frontent-base/apigateway.tf:43
- ../../modules/nextjs-lambda-frontent-base/apigateway.tf:68
- ../../tf/main.tf:63
- ../../tf/projects/chaoscrawler/main.tf:14
- ../../tf/projects/chaoscrawler/main.tf:39
- ../../tf/projects/chaospixel/main.tf:7
- ../../tf/projects/cloudwargames_com/main.tf:171
- ../../tf/projects/cloudwargames_com/main.tf:197
- ../../tf/projects/drawnby_ai/main.tf:161
- ../../tf/projects/drawnby_ai/main.tf:186
- ../../tf/projects/schematical_com/main.tf:170
- ../../tf/projects/schematical_com/main.tf:196
Medium Ensure API Gateway Domain uses a modern security Policy
Ensure API Gateway Domain uses a modern security Policy
Where
- ../../modules/apigateway-env/main.tf:32
- ../../modules/apigateway-env/main.tf:32
- ../../modules/apigateway-env/main.tf:32
- ../../modules/apigateway-env/main.tf:32
- ../../modules/apigateway-env/main.tf:32
- ../../modules/apigateway-env/main.tf:32
- ../../modules/apigateway-env/main.tf:32
- ../../modules/apigateway-env/main.tf:32
- ../../modules/apigateway-env/main.tf:32
- ../../modules/apigateway-env/main.tf:32
- ../../modules/apigateway-env/main.tf:32
- ../../modules/apigateway-env/main.tf:32
- ../../modules/apigateway-env/main.tf:32
- ../../tf/projects/cloudwargames_com/main.tf:97
- ../../tf/projects/drawnby_ai/main.tf:49
- ../../tf/projects/schematical_com/main.tf:120
- ../../tf/projects/splittestgpt_com/main.tf:26
- ../../workspaces/explodeme-com-env/route53.tf:1
Medium Ensure there is no open access to back-end resources through API
Ensure there is no open access to back-end resources through API
Where
- ../../modules/nextjs-lambda-frontent-base/apigateway.tf:43
- ../../modules/nextjs-lambda-frontent-base/apigateway.tf:68
- ../../modules/nextjs-lambda-frontent-base/apigateway.tf:43
- ../../modules/nextjs-lambda-frontent-base/apigateway.tf:68
- ../../modules/nextjs-lambda-frontent-base/apigateway.tf:43
- ../../modules/nextjs-lambda-frontent-base/apigateway.tf:68
- ../../modules/nextjs-lambda-frontent-base/apigateway.tf:43
- ../../modules/nextjs-lambda-frontent-base/apigateway.tf:68
- ../../tf/main.tf:63
- ../../tf/projects/chaoscrawler/main.tf:14
- ../../tf/projects/chaoscrawler/main.tf:39
- ../../tf/projects/chaospixel/main.tf:7
- ../../tf/projects/cloudwargames_com/main.tf:171
- ../../tf/projects/cloudwargames_com/main.tf:197
- ../../tf/projects/drawnby_ai/main.tf:161
- ../../tf/projects/drawnby_ai/main.tf:186
- ../../tf/projects/schematical_com/main.tf:170
- ../../tf/projects/schematical_com/main.tf:196
Medium Missing S3 Lifecycle Policy
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
- tf/main.tf:94
- tf/projects/chaospixel/env/main.tf:35
- tf/projects/chaospixel/env/athena.tf:94
- tf/projects/diagrams_schematical_com/env/main.tf:34
- tf/projects/chaoscrawler/env/main.tf:31
- modules/sagemaker-serverless/main.tf:260
- modules/sagemaker/main.tf:258
- modules/buildpipeline/main.tf:27
- modules/cloudfront/main.tf:1
- modules/kinesis-glue-integration/main.tf:20
- workspaces/explodeme-com-shared/main.tf:78
- workspaces/shared/cloudtrail.tf:16
- workspaces/explodeme-com-env/s3.tf:1
- workspaces/explodeme-com-ecs/main.tf:22
- workspaces/explodeme-com-ecs/env/s3.tf:1
- _course/module2-video2/main.tf:23
- _course/module1-video1/module1-video1.tf:28
Medium Ensure Create before destroy for API deployments
Ensure Create before destroy for API deployments
Where
- ../../_course/module3-video1/cognito.tf:149
- ../../modules/apigateway-env/main.tf:2
- ../../modules/apigateway-env/main.tf:2
- ../../modules/apigateway-env/main.tf:2
- ../../modules/apigateway-env/main.tf:2
- ../../modules/apigateway-env/main.tf:2
- ../../modules/apigateway-env/main.tf:2
- ../../modules/apigateway-env/main.tf:2
- ../../modules/apigateway-env/main.tf:2
- ../../modules/apigateway-env/main.tf:2
- ../../modules/apigateway-env/main.tf:2
- ../../modules/apigateway-env/main.tf:2
- ../../modules/apigateway-env/main.tf:2
- ../../modules/apigateway-env/main.tf:2
Medium Ensure CloudFront response header policy enforces Strict Transport Security
Ensure CloudFront response header policy enforces Strict Transport Security
Where
- ../../modules/cloudfront/main.tf:41
- ../../modules/cloudfront/main.tf:41
- ../../modules/cloudfront/main.tf:41
- ../../modules/cloudfront/main.tf:41
- ../../modules/cloudfront/main.tf:41
- ../../modules/cloudfront/main.tf:41
- ../../modules/cloudfront/main.tf:41
- ../../modules/cloudfront/main.tf:41
- ../../modules/cloudfront/main.tf:41
- ../../modules/cloudfront/main.tf:41
- ../../modules/cloudfront/main.tf:41
- ../../modules/cloudfront/main.tf:41
- ../../modules/cloudfront/main.tf:41
- ../../modules/cloudfront/main.tf:41
Medium Ensure S3 bucket does not allow an action with any Principal
Ensure S3 bucket does not allow an action with any Principal
Where
- ../../modules/nextjs-lambda-frontend-env/cloudfront.tf:42
- ../../modules/nextjs-lambda-frontend-env/cloudfront.tf:42
- ../../modules/nextjs-lambda-frontend-env/cloudfront.tf:42
- ../../modules/nextjs-lambda-frontend-env/cloudfront.tf:42
- ../../modules/nextjs-lambda-frontend-env/cloudfront.tf:42
- ../../modules/nextjs-lambda-frontend-env/cloudfront.tf:42
- ../../modules/nextjs-lambda-frontend-env/cloudfront.tf:42
- ../../modules/nextjs-lambda-frontend-env/cloudfront.tf:42
- ../../modules/nextjs-lambda-frontend-env/cloudfront.tf:42
- ../../tf/projects/drawnby_ai/env/main.tf:93
- ../../tf/projects/drawnby_ai/env/main.tf:93
- ../../tf/projects/schematical_com/env/cloudfront.tf:42
- ../../tf/projects/schematical_com/env/cloudfront.tf:42
- ../../workspaces/explodeme-com-ecs/env/cloudfront.tf:43
Medium Ensure API Gateway stage have logging level defined as appropriate
Ensure API Gateway stage have logging level defined as appropriate
Where
- ../../modules/apigateway-env/main.tf:8
- ../../modules/apigateway-env/main.tf:8
- ../../modules/apigateway-env/main.tf:8
- ../../modules/apigateway-env/main.tf:8
- ../../modules/apigateway-env/main.tf:8
- ../../modules/apigateway-env/main.tf:8
- ../../modules/apigateway-env/main.tf:8
- ../../modules/apigateway-env/main.tf:8
- ../../modules/apigateway-env/main.tf:8
- ../../modules/apigateway-env/main.tf:8
- ../../modules/apigateway-env/main.tf:8
- ../../modules/apigateway-env/main.tf:8
- ../../modules/apigateway-env/main.tf:8
Medium Ensure AWS API Gateway endpoints uses client certificate authentication
Ensure AWS API Gateway endpoints uses client certificate authentication
Where
- ../../modules/apigateway-env/main.tf:8
- ../../modules/apigateway-env/main.tf:8
- ../../modules/apigateway-env/main.tf:8
- ../../modules/apigateway-env/main.tf:8
- ../../modules/apigateway-env/main.tf:8
- ../../modules/apigateway-env/main.tf:8
- ../../modules/apigateway-env/main.tf:8
- ../../modules/apigateway-env/main.tf:8
- ../../modules/apigateway-env/main.tf:8
- ../../modules/apigateway-env/main.tf:8
- ../../modules/apigateway-env/main.tf:8
- ../../modules/apigateway-env/main.tf:8
- ../../modules/apigateway-env/main.tf:8
and 89 more groups with 287 findings
Low 26
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
- tf/main.tf:19
- tf/projects/shiporgetoffthepot_com/main.tf:3
- tf/projects/schematical_com/main.tf:7
- tf/projects/diagrams_schematical_com/main.tf:6
- tf/projects/ctothinktank_com/main.tf:4
- tf/projects/indihustlers_com/main.tf:6
- tf/projects/cloudwargames_com/main.tf:4
- tf/projects/splittestgpt_com/main.tf:6
- tf/projects/drawnby_ai/main.tf:5
- tf/projects/chaoscrawler/main.tf:5
- modules/sagemaker-serverless/main.tf:13
- modules/sagemaker/main.tf:12
- workspaces/explodeme-com-shared/route53.tf:4
- workspaces/explodeme-com-shared/main.tf:15
- workspaces/shared/main.tf:15
- workspaces/explodeme-com-env/main.tf:15
- workspaces/elasticache-autoscaling/main.tf:17
- workspaces/explodeme-com-ecs/route53.tf:4
- workspaces/explodeme-com-ecs/main.tf:15
- workspaces/explodeme-com-ses/main.tf:15
- and 5 more
Low Route53 Health Checks
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.