Repository scan
infra
mozmeao/infra · branch main · scanned 4 Mar 2026 · 56 resources
High 12
High 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/us-west-2/main.tf:1
- apps/viewsourceconf/tf/viewsourceconf.tf:1
- apps/protocol/tf/protocol.tf:1
- apps/careers/tf/careers.tf:1
- apps/awebpodcast/tf/lambda.tf:48
- apps/awebpodcast/tf/awebpodcast.tf:1
- apps/bedrock/tf/bedrock-media.tf:1
- apps/irlpodcast/tf/lambda.tf:47
- apps/irlpodcast/tf/irlpodcast.tf:1
- apps/assets/tf/assets.tf:1
- apps/surveillance/tf/surveillance.tf:1
- apps/basket/infra/multi_region/tf/main.tf:1
Medium 309
Medium Ensure that S3 bucket has a Public Access block
Ensure that S3 bucket has a Public Access block
Where
- ../../apps/assets/tf/assets.tf:13
- ../../apps/assets/tf/assets.tf:18
- ../../apps/awebpodcast/tf/s3.tf:1
- ../../apps/awebpodcast/tf/s3.tf:6
- ../../apps/awebpodcast/tf/s3.tf:64
- ../../apps/awebpodcast/tf/s3.tf:123
- ../../apps/bedrock/tf/bedrock-media.tf:13
- ../../apps/bedrock/tf/bedrock-media.tf:18
- ../../apps/bedrock/tf/bedrock-media.tf:75
- ../../apps/bedrock/tf/bedrock-media.tf:132
- ../../apps/careers/tf/careers.tf:13
- ../../apps/careers/tf/careers.tf:18
- ../../apps/careers/tf/careers.tf:62
- ../../apps/irlpodcast/tf/s3.tf:2
- ../../apps/irlpodcast/tf/s3.tf:7
- ../../apps/irlpodcast/tf/s3.tf:66
- ../../apps/protocol/tf/protocol.tf:13
- ../../apps/protocol/tf/protocol.tf:18
- ../../apps/protocol/tf/protocol.tf:75
- ../../apps/surveillance/tf/surveillance.tf:13
- and 4 more
Medium Ensure that an S3 bucket has a lifecycle configuration
Ensure that an S3 bucket has a lifecycle configuration
Where
- ../../apps/assets/tf/assets.tf:13
- ../../apps/assets/tf/assets.tf:18
- ../../apps/awebpodcast/tf/s3.tf:1
- ../../apps/awebpodcast/tf/s3.tf:6
- ../../apps/awebpodcast/tf/s3.tf:64
- ../../apps/awebpodcast/tf/s3.tf:123
- ../../apps/bedrock/tf/bedrock-media.tf:13
- ../../apps/bedrock/tf/bedrock-media.tf:18
- ../../apps/bedrock/tf/bedrock-media.tf:75
- ../../apps/bedrock/tf/bedrock-media.tf:132
- ../../apps/careers/tf/careers.tf:13
- ../../apps/careers/tf/careers.tf:18
- ../../apps/careers/tf/careers.tf:62
- ../../apps/irlpodcast/tf/s3.tf:2
- ../../apps/irlpodcast/tf/s3.tf:7
- ../../apps/irlpodcast/tf/s3.tf:66
- ../../apps/protocol/tf/protocol.tf:13
- ../../apps/protocol/tf/protocol.tf:18
- ../../apps/protocol/tf/protocol.tf:75
- ../../apps/surveillance/tf/surveillance.tf:13
- and 4 more
Medium Ensure S3 buckets should have event notifications enabled
Ensure S3 buckets should have event notifications enabled
Where
- ../../apps/assets/tf/assets.tf:13
- ../../apps/assets/tf/assets.tf:18
- ../../apps/awebpodcast/tf/s3.tf:1
- ../../apps/awebpodcast/tf/s3.tf:6
- ../../apps/awebpodcast/tf/s3.tf:64
- ../../apps/awebpodcast/tf/s3.tf:123
- ../../apps/bedrock/tf/bedrock-media.tf:13
- ../../apps/bedrock/tf/bedrock-media.tf:18
- ../../apps/bedrock/tf/bedrock-media.tf:75
- ../../apps/bedrock/tf/bedrock-media.tf:132
- ../../apps/careers/tf/careers.tf:13
- ../../apps/careers/tf/careers.tf:18
- ../../apps/careers/tf/careers.tf:62
- ../../apps/irlpodcast/tf/s3.tf:2
- ../../apps/irlpodcast/tf/s3.tf:7
- ../../apps/irlpodcast/tf/s3.tf:66
- ../../apps/protocol/tf/protocol.tf:13
- ../../apps/protocol/tf/protocol.tf:18
- ../../apps/protocol/tf/protocol.tf:75
- ../../apps/surveillance/tf/surveillance.tf:13
- and 4 more
Medium Ensure that S3 bucket has cross-region replication enabled
Ensure that S3 bucket has cross-region replication enabled
Where
- ../../apps/assets/tf/assets.tf:13
- ../../apps/assets/tf/assets.tf:18
- ../../apps/awebpodcast/tf/s3.tf:1
- ../../apps/awebpodcast/tf/s3.tf:6
- ../../apps/awebpodcast/tf/s3.tf:64
- ../../apps/awebpodcast/tf/s3.tf:123
- ../../apps/bedrock/tf/bedrock-media.tf:13
- ../../apps/bedrock/tf/bedrock-media.tf:18
- ../../apps/bedrock/tf/bedrock-media.tf:75
- ../../apps/bedrock/tf/bedrock-media.tf:132
- ../../apps/careers/tf/careers.tf:13
- ../../apps/careers/tf/careers.tf:18
- ../../apps/careers/tf/careers.tf:62
- ../../apps/irlpodcast/tf/s3.tf:2
- ../../apps/irlpodcast/tf/s3.tf:7
- ../../apps/irlpodcast/tf/s3.tf:66
- ../../apps/protocol/tf/protocol.tf:13
- ../../apps/protocol/tf/protocol.tf:18
- ../../apps/protocol/tf/protocol.tf:75
- ../../apps/surveillance/tf/surveillance.tf:13
- and 4 more
Medium Ensure that S3 buckets are encrypted with KMS by default
Ensure that S3 buckets are encrypted with KMS by default
Where
- ../../apps/assets/tf/assets.tf:13
- ../../apps/assets/tf/assets.tf:18
- ../../apps/awebpodcast/tf/s3.tf:1
- ../../apps/awebpodcast/tf/s3.tf:6
- ../../apps/awebpodcast/tf/s3.tf:64
- ../../apps/awebpodcast/tf/s3.tf:123
- ../../apps/bedrock/tf/bedrock-media.tf:13
- ../../apps/bedrock/tf/bedrock-media.tf:18
- ../../apps/bedrock/tf/bedrock-media.tf:75
- ../../apps/bedrock/tf/bedrock-media.tf:132
- ../../apps/careers/tf/careers.tf:13
- ../../apps/careers/tf/careers.tf:18
- ../../apps/careers/tf/careers.tf:62
- ../../apps/irlpodcast/tf/s3.tf:2
- ../../apps/irlpodcast/tf/s3.tf:7
- ../../apps/irlpodcast/tf/s3.tf:66
- ../../apps/protocol/tf/protocol.tf:13
- ../../apps/protocol/tf/protocol.tf:18
- ../../apps/protocol/tf/protocol.tf:75
- ../../apps/surveillance/tf/surveillance.tf:13
- and 4 more
Medium Ensure S3 bucket does not allow an action with any Principal
Ensure S3 bucket does not allow an action with any Principal
Where
- ../../apps/assets/tf/assets.tf:18
- ../../apps/awebpodcast/tf/s3.tf:6
- ../../apps/awebpodcast/tf/s3.tf:64
- ../../apps/awebpodcast/tf/s3.tf:123
- ../../apps/bedrock/tf/bedrock-media.tf:18
- ../../apps/bedrock/tf/bedrock-media.tf:75
- ../../apps/bedrock/tf/bedrock-media.tf:132
- ../../apps/careers/tf/careers.tf:18
- ../../apps/careers/tf/careers.tf:62
- ../../apps/irlpodcast/tf/s3.tf:7
- ../../apps/irlpodcast/tf/s3.tf:66
- ../../apps/protocol/tf/protocol.tf:18
- ../../apps/protocol/tf/protocol.tf:75
- ../../apps/surveillance/tf/surveillance.tf:18
- ../../apps/viewsourceconf/tf/viewsourceconf.tf:18
- ../../apps/viewsourceconf/tf/viewsourceconf.tf:75
Medium Ensure CloudFront distribution has a response headers policy attached
Ensure CloudFront distribution has a response headers policy attached
Where
- ../../apps/assets/tf/assets.tf:75
- ../../apps/awebpodcast/tf/cloudfront.tf:1
- ../../apps/awebpodcast/tf/cloudfront.tf:65
- ../../apps/awebpodcast/tf/cloudfront.tf:130
- ../../apps/careers/tf/careers.tf:107
- ../../apps/careers/tf/careers.tf:179
- ../../apps/irlpodcast/tf/cloudfront.tf:2
- ../../apps/irlpodcast/tf/cloudfront.tf:67
- ../../apps/irlpodcast/tf/cloudfront.tf:132
- ../../apps/protocol/tf/protocol.tf:133
- ../../apps/protocol/tf/protocol.tf:193
- ../../apps/surveillance/tf/surveillance.tf:75
- ../../apps/viewsourceconf/tf/viewsourceconf.tf:133
- ../../apps/viewsourceconf/tf/viewsourceconf.tf:193
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
- ../../apps/assets/tf/assets.tf:75
- ../../apps/awebpodcast/tf/cloudfront.tf:1
- ../../apps/awebpodcast/tf/cloudfront.tf:65
- ../../apps/awebpodcast/tf/cloudfront.tf:130
- ../../apps/careers/tf/careers.tf:107
- ../../apps/careers/tf/careers.tf:179
- ../../apps/irlpodcast/tf/cloudfront.tf:2
- ../../apps/irlpodcast/tf/cloudfront.tf:67
- ../../apps/irlpodcast/tf/cloudfront.tf:132
- ../../apps/protocol/tf/protocol.tf:133
- ../../apps/protocol/tf/protocol.tf:193
- ../../apps/surveillance/tf/surveillance.tf:75
- ../../apps/viewsourceconf/tf/viewsourceconf.tf:133
- ../../apps/viewsourceconf/tf/viewsourceconf.tf:193
Medium Verify CloudFront Distribution Viewer Certificate is using TLS v1.2 or higher
Verify CloudFront Distribution Viewer Certificate is using TLS v1.2 or higher
Where
- ../../apps/assets/tf/assets.tf:75
- ../../apps/awebpodcast/tf/cloudfront.tf:1
- ../../apps/awebpodcast/tf/cloudfront.tf:65
- ../../apps/awebpodcast/tf/cloudfront.tf:130
- ../../apps/careers/tf/careers.tf:107
- ../../apps/careers/tf/careers.tf:179
- ../../apps/irlpodcast/tf/cloudfront.tf:2
- ../../apps/irlpodcast/tf/cloudfront.tf:67
- ../../apps/irlpodcast/tf/cloudfront.tf:132
- ../../apps/protocol/tf/protocol.tf:133
- ../../apps/protocol/tf/protocol.tf:193
- ../../apps/surveillance/tf/surveillance.tf:75
- ../../apps/viewsourceconf/tf/viewsourceconf.tf:133
- ../../apps/viewsourceconf/tf/viewsourceconf.tf:193
Medium Ensure CloudFront distributions should have origin failover configured
Ensure CloudFront distributions should have origin failover configured
Where
- ../../apps/assets/tf/assets.tf:75
- ../../apps/awebpodcast/tf/cloudfront.tf:1
- ../../apps/awebpodcast/tf/cloudfront.tf:65
- ../../apps/awebpodcast/tf/cloudfront.tf:130
- ../../apps/careers/tf/careers.tf:107
- ../../apps/careers/tf/careers.tf:179
- ../../apps/irlpodcast/tf/cloudfront.tf:2
- ../../apps/irlpodcast/tf/cloudfront.tf:67
- ../../apps/irlpodcast/tf/cloudfront.tf:132
- ../../apps/protocol/tf/protocol.tf:133
- ../../apps/protocol/tf/protocol.tf:193
- ../../apps/surveillance/tf/surveillance.tf:75
- ../../apps/viewsourceconf/tf/viewsourceconf.tf:133
- ../../apps/viewsourceconf/tf/viewsourceconf.tf:193
Medium Ensure AWS CloudFront web distribution has geo restriction enabled
Ensure AWS CloudFront web distribution has geo restriction enabled
Where
- ../../apps/assets/tf/assets.tf:75
- ../../apps/awebpodcast/tf/cloudfront.tf:1
- ../../apps/awebpodcast/tf/cloudfront.tf:65
- ../../apps/awebpodcast/tf/cloudfront.tf:130
- ../../apps/careers/tf/careers.tf:107
- ../../apps/careers/tf/careers.tf:179
- ../../apps/irlpodcast/tf/cloudfront.tf:2
- ../../apps/irlpodcast/tf/cloudfront.tf:67
- ../../apps/irlpodcast/tf/cloudfront.tf:132
- ../../apps/protocol/tf/protocol.tf:133
- ../../apps/protocol/tf/protocol.tf:193
- ../../apps/surveillance/tf/surveillance.tf:75
- ../../apps/viewsourceconf/tf/viewsourceconf.tf:133
- ../../apps/viewsourceconf/tf/viewsourceconf.tf:193
Medium CloudFront Distribution should have WAF enabled
CloudFront Distribution should have WAF enabled
Where
- ../../apps/assets/tf/assets.tf:75
- ../../apps/awebpodcast/tf/cloudfront.tf:1
- ../../apps/awebpodcast/tf/cloudfront.tf:65
- ../../apps/awebpodcast/tf/cloudfront.tf:130
- ../../apps/careers/tf/careers.tf:107
- ../../apps/careers/tf/careers.tf:179
- ../../apps/irlpodcast/tf/cloudfront.tf:2
- ../../apps/irlpodcast/tf/cloudfront.tf:67
- ../../apps/irlpodcast/tf/cloudfront.tf:132
- ../../apps/protocol/tf/protocol.tf:133
- ../../apps/protocol/tf/protocol.tf:193
- ../../apps/surveillance/tf/surveillance.tf:75
- ../../apps/viewsourceconf/tf/viewsourceconf.tf:133
- ../../apps/viewsourceconf/tf/viewsourceconf.tf:193
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/us-west-2/main.tf:1
- apps/viewsourceconf/tf/viewsourceconf.tf:1
- apps/protocol/tf/protocol.tf:1
- apps/careers/tf/careers.tf:1
- apps/awebpodcast/tf/lambda.tf:48
- apps/awebpodcast/tf/awebpodcast.tf:1
- apps/bedrock/tf/bedrock-media.tf:1
- apps/irlpodcast/tf/lambda.tf:47
- apps/irlpodcast/tf/irlpodcast.tf:1
- apps/assets/tf/assets.tf:1
- apps/surveillance/tf/surveillance.tf:1
- apps/basket/infra/multi_region/tf/main.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
- ../../apps/assets/tf/assets.tf:13
- ../../apps/awebpodcast/tf/s3.tf:1
- ../../apps/bedrock/tf/bedrock-media.tf:13
- ../../apps/careers/tf/careers.tf:13
- ../../apps/careers/tf/careers.tf:18
- ../../apps/careers/tf/careers.tf:62
- ../../apps/irlpodcast/tf/s3.tf:2
- ../../apps/protocol/tf/protocol.tf:13
- ../../apps/surveillance/tf/surveillance.tf:13
- ../../apps/viewsourceconf/tf/viewsourceconf.tf:13
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
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
Medium Ensure that AWS Lambda function is configured inside a VPC
Ensure that AWS Lambda function is configured inside a VPC
Where
Medium Ensure the S3 bucket has access logging enabled
Ensure the S3 bucket has access logging enabled
Where
- ../../apps/assets/tf/assets.tf:13
- ../../apps/awebpodcast/tf/s3.tf:1
- ../../apps/bedrock/tf/bedrock-media.tf:13
- ../../apps/careers/tf/careers.tf:13
- ../../apps/irlpodcast/tf/s3.tf:2
- ../../apps/protocol/tf/protocol.tf:13
- ../../apps/surveillance/tf/surveillance.tf:13
- ../../apps/viewsourceconf/tf/viewsourceconf.tf:13
Medium Ensure AWS Lambda function is configured to validate code-signing
Ensure AWS Lambda function is configured to validate code-signing
Where
Medium Ensure Lambda Runtime is not deprecated
Ensure Lambda Runtime is not deprecated
Where
Medium X-Ray tracing is enabled for Lambda
X-Ray tracing is enabled for Lambda
Where
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
Medium Ensure all data stored in the SQS queue is encrypted
Ensure all data stored in the SQS queue is encrypted
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 4 Mar 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.