Repository scan
digitalmarketplace-aws
Crown-Commercial-Service/digitalmarketplace-aws · branch main · scanned 25 Jun 2026 · 243 resources
Medium 356
Medium Ensure that S3 bucket has a Public Access block
Ensure that S3 bucket has a Public Access block
Where
- ../../terraform/accounts/backups/s3_buckets.tf:1
- ../../terraform/accounts/backups/s3_buckets.tf:63
- ../../terraform/accounts/development/s3_buckets.tf:68
- ../../terraform/accounts/development/s3_buckets.tf:155
- ../../terraform/environments/preview/s3_buckets.tf:33
- ../../terraform/environments/preview/s3_buckets.tf:124
- ../../terraform/environments/preview/s3_buckets.tf:219
- ../../terraform/environments/preview/s3_buckets.tf:295
- ../../terraform/environments/preview/s3_buckets.tf:387
- ../../terraform/environments/preview/s3_buckets.tf:458
- ../../terraform/environments/preview/s3_buckets.tf:532
- ../../terraform/environments/preview/s3_replication_buckets.tf:34
- ../../terraform/environments/preview/s3_replication_buckets.tf:85
- ../../terraform/environments/preview/s3_replication_buckets.tf:136
- ../../terraform/environments/preview/s3_replication_buckets.tf:187
- ../../terraform/environments/production/s3_buckets.tf:33
- ../../terraform/environments/production/s3_buckets.tf:128
- ../../terraform/environments/production/s3_buckets.tf:223
- ../../terraform/environments/production/s3_buckets.tf:299
- ../../terraform/environments/production/s3_buckets.tf:391
- and 16 more
Medium Ensure S3 buckets should have event notifications enabled
Ensure S3 buckets should have event notifications enabled
Where
- ../../terraform/accounts/backups/s3_buckets.tf:1
- ../../terraform/accounts/backups/s3_buckets.tf:63
- ../../terraform/accounts/development/s3_buckets.tf:68
- ../../terraform/accounts/development/s3_buckets.tf:155
- ../../terraform/environments/preview/s3_buckets.tf:33
- ../../terraform/environments/preview/s3_buckets.tf:124
- ../../terraform/environments/preview/s3_buckets.tf:219
- ../../terraform/environments/preview/s3_buckets.tf:295
- ../../terraform/environments/preview/s3_buckets.tf:387
- ../../terraform/environments/preview/s3_buckets.tf:458
- ../../terraform/environments/preview/s3_buckets.tf:532
- ../../terraform/environments/preview/s3_replication_buckets.tf:34
- ../../terraform/environments/preview/s3_replication_buckets.tf:85
- ../../terraform/environments/preview/s3_replication_buckets.tf:136
- ../../terraform/environments/preview/s3_replication_buckets.tf:187
- ../../terraform/environments/production/s3_buckets.tf:33
- ../../terraform/environments/production/s3_buckets.tf:128
- ../../terraform/environments/production/s3_buckets.tf:223
- ../../terraform/environments/production/s3_buckets.tf:299
- ../../terraform/environments/production/s3_buckets.tf:391
- and 16 more
Medium Ensure that S3 buckets are encrypted with KMS by default
Ensure that S3 buckets are encrypted with KMS by default
Where
- ../../terraform/accounts/backups/s3_buckets.tf:1
- ../../terraform/accounts/backups/s3_buckets.tf:63
- ../../terraform/accounts/development/s3_buckets.tf:68
- ../../terraform/accounts/development/s3_buckets.tf:155
- ../../terraform/environments/preview/s3_buckets.tf:33
- ../../terraform/environments/preview/s3_buckets.tf:124
- ../../terraform/environments/preview/s3_buckets.tf:219
- ../../terraform/environments/preview/s3_buckets.tf:295
- ../../terraform/environments/preview/s3_buckets.tf:387
- ../../terraform/environments/preview/s3_buckets.tf:458
- ../../terraform/environments/preview/s3_buckets.tf:532
- ../../terraform/environments/preview/s3_replication_buckets.tf:34
- ../../terraform/environments/preview/s3_replication_buckets.tf:85
- ../../terraform/environments/preview/s3_replication_buckets.tf:136
- ../../terraform/environments/preview/s3_replication_buckets.tf:187
- ../../terraform/environments/production/s3_buckets.tf:33
- ../../terraform/environments/production/s3_buckets.tf:128
- ../../terraform/environments/production/s3_buckets.tf:223
- ../../terraform/environments/production/s3_buckets.tf:299
- ../../terraform/environments/production/s3_buckets.tf:391
- and 16 more
Medium Ensure that an S3 bucket has a lifecycle configuration
Ensure that an S3 bucket has a lifecycle configuration
Where
- ../../terraform/accounts/development/s3_buckets.tf:68
- ../../terraform/accounts/development/s3_buckets.tf:155
- ../../terraform/environments/preview/s3_buckets.tf:33
- ../../terraform/environments/preview/s3_buckets.tf:124
- ../../terraform/environments/preview/s3_buckets.tf:219
- ../../terraform/environments/preview/s3_buckets.tf:295
- ../../terraform/environments/preview/s3_buckets.tf:387
- ../../terraform/environments/preview/s3_buckets.tf:458
- ../../terraform/environments/preview/s3_buckets.tf:532
- ../../terraform/environments/preview/s3_replication_buckets.tf:34
- ../../terraform/environments/preview/s3_replication_buckets.tf:85
- ../../terraform/environments/preview/s3_replication_buckets.tf:136
- ../../terraform/environments/preview/s3_replication_buckets.tf:187
- ../../terraform/environments/production/s3_buckets.tf:33
- ../../terraform/environments/production/s3_buckets.tf:128
- ../../terraform/environments/production/s3_buckets.tf:223
- ../../terraform/environments/production/s3_buckets.tf:299
- ../../terraform/environments/production/s3_buckets.tf:391
- ../../terraform/environments/production/s3_buckets.tf:463
- ../../terraform/environments/production/s3_buckets.tf:538
- and 14 more
Medium Ensure CodeCommit associates an approval rule
Ensure CodeCommit associates an approval rule
Where
- ../../terraform/accounts/main/codecommit.tf:103
- ../../terraform/accounts/main/codecommit.tf:103
- ../../terraform/accounts/main/codecommit.tf:103
- ../../terraform/accounts/main/codecommit.tf:103
- ../../terraform/accounts/main/codecommit.tf:103
- ../../terraform/accounts/main/codecommit.tf:103
- ../../terraform/accounts/main/codecommit.tf:103
- ../../terraform/accounts/main/codecommit.tf:103
- ../../terraform/accounts/main/codecommit.tf:103
- ../../terraform/accounts/main/codecommit.tf:103
- ../../terraform/accounts/main/codecommit.tf:103
- ../../terraform/accounts/main/codecommit.tf:103
- ../../terraform/accounts/main/codecommit.tf:103
- ../../terraform/accounts/main/codecommit.tf:103
- ../../terraform/accounts/main/codecommit.tf:103
- ../../terraform/accounts/main/codecommit.tf:103
- ../../terraform/accounts/main/codecommit.tf:103
- ../../terraform/accounts/main/codecommit.tf:103
- ../../terraform/accounts/main/codecommit.tf:103
- ../../terraform/accounts/main/codecommit.tf:103
- and 11 more
Medium Ensure that S3 bucket has cross-region replication enabled
Ensure that S3 bucket has cross-region replication enabled
Where
- ../../terraform/accounts/backups/s3_buckets.tf:1
- ../../terraform/accounts/development/s3_buckets.tf:68
- ../../terraform/accounts/development/s3_buckets.tf:155
- ../../terraform/environments/preview/s3_buckets.tf:33
- ../../terraform/environments/preview/s3_buckets.tf:219
- ../../terraform/environments/preview/s3_buckets.tf:458
- ../../terraform/environments/preview/s3_replication_buckets.tf:34
- ../../terraform/environments/preview/s3_replication_buckets.tf:85
- ../../terraform/environments/preview/s3_replication_buckets.tf:136
- ../../terraform/environments/preview/s3_replication_buckets.tf:187
- ../../terraform/environments/production/s3_buckets.tf:33
- ../../terraform/environments/production/s3_buckets.tf:223
- ../../terraform/environments/production/s3_buckets.tf:463
- ../../terraform/environments/production/s3_replication_buckets.tf:33
- ../../terraform/environments/production/s3_replication_buckets.tf:84
- ../../terraform/environments/production/s3_replication_buckets.tf:135
- ../../terraform/environments/production/s3_replication_buckets.tf:186
- ../../terraform/environments/staging/s3_buckets.tf:33
- ../../terraform/environments/staging/s3_buckets.tf:102
- ../../terraform/environments/staging/s3_buckets.tf:182
- and 7 more
Medium Ensure that CloudWatch Log Group is encrypted by KMS
Ensure that CloudWatch Log Group is encrypted by KMS
Where
- ../../terraform/modules/antivirus-sns/logs.tf:8
- ../../terraform/modules/antivirus-sns/logs.tf:13
- ../../terraform/modules/cloudtrail/modules/cloudtrail-cloudwatch/main.tf:1
- ../../terraform/modules/log-groups/main.tf:5
- ../../terraform/modules/log-groups/main.tf:11
- ../../terraform/modules/log-groups/main.tf:5
- ../../terraform/modules/log-groups/main.tf:5
- ../../terraform/modules/log-groups/main.tf:5
- ../../terraform/modules/log-groups/main.tf:5
- ../../terraform/modules/log-groups/main.tf:5
- ../../terraform/modules/log-groups/main.tf:5
- ../../terraform/modules/log-groups/main.tf:5
- ../../terraform/modules/log-groups/main.tf:5
- ../../terraform/modules/log-groups/main.tf:11
- ../../terraform/modules/log-groups/main.tf:11
- ../../terraform/modules/log-groups/main.tf:11
- ../../terraform/modules/log-groups/main.tf:11
- ../../terraform/modules/log-groups/main.tf:11
- ../../terraform/modules/log-groups/main.tf:11
- ../../terraform/modules/log-groups/main.tf:11
- and 5 more
Medium Ensure the S3 bucket has access logging enabled
Ensure the S3 bucket has access logging enabled
Where
- ../../terraform/accounts/backups/s3_buckets.tf:1
- ../../terraform/accounts/backups/s3_buckets.tf:63
- ../../terraform/accounts/development/s3_buckets.tf:68
- ../../terraform/accounts/development/s3_buckets.tf:155
- ../../terraform/environments/preview/s3_buckets.tf:33
- ../../terraform/environments/preview/s3_replication_buckets.tf:34
- ../../terraform/environments/preview/s3_replication_buckets.tf:85
- ../../terraform/environments/preview/s3_replication_buckets.tf:136
- ../../terraform/environments/preview/s3_replication_buckets.tf:187
- ../../terraform/environments/production/s3_buckets.tf:33
- ../../terraform/environments/production/s3_replication_buckets.tf:33
- ../../terraform/environments/production/s3_replication_buckets.tf:84
- ../../terraform/environments/production/s3_replication_buckets.tf:135
- ../../terraform/environments/production/s3_replication_buckets.tf:186
- ../../terraform/environments/staging/s3_buckets.tf:33
- ../../terraform/modules/cloudtrail/modules/cloudtrail-bucket/main.tf:72
- ../../terraform/modules/jenkins/log_bucket/s3_bucket.tf:5
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
- terraform/modules/s3-document-bucket/main.tf:1
- terraform/modules/paas/iam.tf:1
- terraform/modules/switch-roles/developers.tf:1
- terraform/modules/router/route53.tf:1
- terraform/modules/iam-common/main.tf:1
- terraform/modules/logging/log-metric-filters/main.tf:3
- terraform/modules/sops-credentials/main.tf:1
- terraform/modules/jenkins/jenkins/ec2.tf:1
- terraform/modules/jenkins/log_bucket/s3_bucket.tf:1
- terraform/modules/jenkins/snapshots/snapshots.tf:1
- terraform/modules/cloudtrail/main.tf:1
- terraform/modules/log-groups/main.tf:1
- terraform/modules/log-streaming/lambda.tf:1
- terraform/modules/antivirus-sns/main.tf:1
- terraform/environments/production/main.tf:1
- terraform/environments/preview/main.tf:1
- terraform/accounts/backups/main.tf:1
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
- terraform/modules/s3-document-bucket/main.tf:64
- terraform/modules/jenkins/log_bucket/s3_bucket.tf:5
- terraform/modules/cloudtrail/modules/cloudtrail-bucket/main.tf:72
- terraform/environments/staging/s3_buckets.tf:33
- terraform/environments/production/s3_buckets.tf:33
- terraform/environments/production/s3_replication_buckets.tf:33
- terraform/environments/preview/s3_buckets.tf:33
- terraform/environments/preview/s3_replication_buckets.tf:34
- terraform/accounts/development/s3_buckets.tf:68
- terraform/accounts/backups/s3_buckets.tf:1
Medium Ensure that IAM groups includes at least one IAM user
Ensure that IAM groups includes at least one IAM user
Where
- ../../terraform/modules/iam-users/admins.tf:20
- ../../terraform/modules/iam-users/backups.tf:34
- ../../terraform/modules/iam-users/developers.tf:33
- ../../terraform/modules/iam-users/developers.tf:70
- ../../terraform/modules/iam-users/developers.tf:86
- ../../terraform/modules/iam-users/infrastructure.tf:28
- ../../terraform/modules/iam-users/infrastructure.tf:62
- ../../terraform/modules/iam-users/security_audit.tf:43
Medium Ensure that all IAM users are members of at least one IAM group.
Ensure that all IAM users are members of at least one IAM group.
Where
- ../../terraform/modules/iam-users/admins.tf:20
- ../../terraform/modules/iam-users/backups.tf:34
- ../../terraform/modules/iam-users/developers.tf:33
- ../../terraform/modules/iam-users/developers.tf:70
- ../../terraform/modules/iam-users/developers.tf:86
- ../../terraform/modules/iam-users/infrastructure.tf:28
- ../../terraform/modules/iam-users/infrastructure.tf:62
- ../../terraform/modules/iam-users/security_audit.tf:43
Medium Ensure every security group and rule has a description
Ensure every security group and rule has a description
Where
- ../../terraform/modules/jenkins/jenkins/security_group.tf:8
- ../../terraform/modules/jenkins/jenkins/security_group.tf:17
- ../../terraform/modules/jenkins/jenkins/security_group.tf:26
- ../../terraform/modules/jenkins/jenkins/security_group.tf:35
- ../../terraform/modules/jenkins/jenkins/security_group.tf:51
- ../../terraform/modules/jenkins/jenkins/security_group.tf:60
- ../../terraform/modules/jenkins/jenkins/security_group.tf:69
Medium Ensure Domain Name System Security Extensions (DNSSEC) signing is enabled for Amazon Route 53 public hosted zones
Ensure Domain Name System Security Extensions (DNSSEC) signing is enabled for Amazon Route 53 public hosted zones
Where
Medium Ensure Domain Name System (DNS) query logging is enabled for Amazon Route 53 hosted zones
Ensure Domain Name System (DNS) query logging is enabled for Amazon Route 53 hosted zones
Where
Medium Ensure access is controlled through SSO and not AWS IAM defined users
Ensure access is controlled through SSO and not AWS IAM defined users
Where
Medium Ensure all data stored in the SNS topic is encrypted
Ensure all data stored in the SNS topic is encrypted
Where
Medium Ensure IAM policies does not allow write access without constraints
Ensure IAM policies does not allow write access without constraints
Where
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
Medium Ensure AWS IAM policy does not allow full IAM privileges
Ensure AWS IAM policy does not allow full IAM privileges
Where
Medium Ensure IAM policies does not allow data exfiltration
Ensure IAM policies does not allow data exfiltration
Where
Medium Ensure IAM policies does not allow permissions management / resource exposure without constraints
Ensure IAM policies does not allow permissions management / resource exposure without constraints
Where
Medium Ensure IAM policies that allow full "*-*" administrative privileges are not created
Ensure IAM policies that allow full "*-*" administrative privileges are not created
Where
Medium Ensure no IAM policies documents allow "*" as a statement's actions
Ensure no IAM policies documents allow "*" as a statement's actions
Where
Medium Ensure rotation for customer created CMKs is enabled
Ensure rotation for customer created CMKs is enabled
Where
Medium Ensure CloudTrail trails are integrated with CloudWatch Logs
Ensure CloudTrail trails are integrated with CloudWatch Logs
Where
Medium Ensure AWS ACM Certificate domain name does not include wildcards
Ensure AWS ACM Certificate domain name does not include wildcards
Where
Medium Ensure IAM password policy requires minimum length of 14 or greater
Ensure IAM password policy requires minimum length of 14 or greater
Where
Medium Ensure IAM policies does not allow write access without constraints
Ensure IAM policies does not allow write access without constraints
Where
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 that detailed monitoring is enabled for EC2 instances
Ensure that detailed monitoring is enabled for EC2 instances
Where
Medium Ensure that Elastic Load Balancer(s) uses SSL certificates provided by AWS Certificate Manager
Ensure that Elastic Load Balancer(s) uses SSL certificates provided by AWS Certificate Manager
Where
Medium Ensure IAM password policy prevents password reuse
Ensure IAM password policy prevents password reuse
Where
Medium Ensure that EC2 is EBS optimized
Ensure that EC2 is EBS optimized
Where
Medium Ensure IAM password policy requires at least one symbol
Ensure IAM password policy requires at least one symbol
Where
Medium Check encryption settings for Lambda environmental variable
Check encryption settings for Lambda environmental variable
Where
Medium Ensure EBS Volume is encrypted by KMS using a customer managed Key (CMK)
Ensure EBS Volume is encrypted by KMS using a customer managed Key (CMK)
Where
Medium Ensure no security groups allow ingress from 0.0.0.0:0 to port 22
Ensure no security groups allow ingress from 0.0.0.0:0 to port 22
Where
and 16 more groups with 16 findings
Low 17
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
- terraform/modules/s3-document-bucket/main.tf:1
- terraform/modules/paas/iam.tf:1
- terraform/modules/switch-roles/developers.tf:1
- terraform/modules/router/route53.tf:1
- terraform/modules/iam-common/main.tf:1
- terraform/modules/logging/log-metric-filters/main.tf:3
- terraform/modules/sops-credentials/main.tf:1
- terraform/modules/jenkins/jenkins/ec2.tf:1
- terraform/modules/jenkins/log_bucket/s3_bucket.tf:1
- terraform/modules/jenkins/snapshots/snapshots.tf:1
- terraform/modules/cloudtrail/main.tf:1
- terraform/modules/log-groups/main.tf:1
- terraform/modules/log-streaming/lambda.tf:1
- terraform/modules/antivirus-sns/main.tf:1
- terraform/environments/production/main.tf:1
- terraform/environments/preview/main.tf:1
- terraform/accounts/backups/main.tf:1
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.