Repository scan
notification-terraform
cds-snc/notification-terraform · branch main · scanned 25 Jun 2026 · 1,435 resources
High 3
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 431
Medium Ensure Secrets Manager secrets should have automatic rotation enabled
Ensure Secrets Manager secrets should have automatic rotation enabled
Where
- ../../aws/common/secrets.tf:1
- ../../aws/dns/secrets.tf:1
- ../../aws/dns/secrets.tf:13
- ../../aws/dns/secrets.tf:25
- ../../aws/ecr-us-east/secrets.tf:1
- ../../aws/ecr-us-west-2/secrets.tf:1
- ../../aws/ecr/secrets.tf:1
- ../../aws/ecr/secrets.tf:14
- ../../aws/ecr/secrets.tf:26
- ../../aws/ecr/secrets.tf:38
- ../../aws/ecr/secrets.tf:50
- ../../aws/ecr/secrets.tf:62
- ../../aws/ecr/secrets.tf:74
- ../../aws/eks/secrets.tf:1
- ../../aws/eks/secrets.tf:13
- ../../aws/eks/secrets.tf:25
- ../../aws/eks/secrets.tf:37
- ../../aws/eks/secrets.tf:49
- ../../aws/eks/secrets.tf:61
- ../../aws/eks/secrets.tf:73
- and 69 more
Medium Ensure that Secrets Manager secret is encrypted using KMS CMK
Ensure that Secrets Manager secret is encrypted using KMS CMK
Where
- ../../aws/common/secrets.tf:1
- ../../aws/dns/secrets.tf:1
- ../../aws/dns/secrets.tf:13
- ../../aws/dns/secrets.tf:25
- ../../aws/ecr-us-east/secrets.tf:1
- ../../aws/ecr-us-west-2/secrets.tf:1
- ../../aws/ecr/secrets.tf:1
- ../../aws/ecr/secrets.tf:14
- ../../aws/ecr/secrets.tf:26
- ../../aws/ecr/secrets.tf:38
- ../../aws/ecr/secrets.tf:50
- ../../aws/ecr/secrets.tf:62
- ../../aws/ecr/secrets.tf:74
- ../../aws/eks/secrets.tf:1
- ../../aws/eks/secrets.tf:13
- ../../aws/eks/secrets.tf:25
- ../../aws/eks/secrets.tf:37
- ../../aws/eks/secrets.tf:49
- ../../aws/eks/secrets.tf:61
- ../../aws/eks/secrets.tf:73
- and 69 more
Medium Ensure that CloudWatch Log Group is encrypted by KMS
Ensure that CloudWatch Log Group is encrypted by KMS
Where
- ../../aws/common/alarm_fire_drill.tf:261
- ../../aws/common/cloudwatch_log.tf:4
- ../../aws/common/cloudwatch_log.tf:14
- ../../aws/common/cloudwatch_log.tf:25
- ../../aws/common/cloudwatch_log.tf:36
- ../../aws/common/cloudwatch_log.tf:47
- ../../aws/eks/cloudwatch_log.tf:5
- ../../aws/eks/cloudwatch_log.tf:12
- ../../aws/eks/cloudwatch_log.tf:19
- ../../aws/eks/cloudwatch_log.tf:26
- ../../aws/eks/cloudwatch_log.tf:33
- ../../aws/elasticache/cloudwatch_log.tf:1
- ../../aws/elasticache/cloudwatch_log.tf:7
- ../../aws/elasticache/cloudwatch_log.tf:20
- ../../aws/elasticache/cloudwatch_log.tf:26
- ../../aws/heartbeat/cloudwatch_logs.tf:5
- ../../aws/lambda-api/cloudwatch_logs.tf:20
- ../../aws/lambda-api/cloudwatch_logs.tf:31
- ../../aws/performance-test/cloudwatch_logs.tf:1
- ../../aws/pinpoint_to_sqs_sms_callbacks/cloudwatch_logs.tf:5
- and 9 more
Medium Ensure that ECR repositories are encrypted using KMS
Ensure that ECR repositories are encrypted using KMS
Where
- ../../aws/database-tools/ecr.tf:1
- ../../aws/ecr-us-east/ecr.tf:1
- ../../aws/ecr-us-west-2/ecr.tf:1
- ../../aws/ecr/ecr.tf:13
- ../../aws/ecr/ecr.tf:25
- ../../aws/ecr/ecr.tf:36
- ../../aws/ecr/ecr.tf:49
- ../../aws/ecr/ecr.tf:62
- ../../aws/ecr/ecr.tf:75
- ../../aws/ecr/ecr.tf:89
- ../../aws/ecr/ecr.tf:101
- ../../aws/ecr/ecr.tf:115
- ../../aws/ecr/ecr.tf:127
- ../../aws/ecr/ecr.tf:139
- ../../aws/ecr/ecr.tf:151
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
- ../../aws/common/iam.tf:26
- ../../aws/common/iam.tf:108
- ../../aws/eks/iam.tf:114
- ../../aws/eks/iam.tf:349
- ../../aws/eks/manifests-iam.tf:556
- ../../aws/eks/velero.tf:77
- ../../aws/quicksight/iam.tf:22
- ../../aws/quicksight/iam.tf:49
- ../../aws/quicksight/iam.tf:207
- ../../aws/quicksight/vpc_connection.tf:27
- ../../aws/quicksight/vpc_connection.tf:97
Medium Ensure ECR Image Tags are immutable
Ensure ECR Image Tags are immutable
Where
Medium Ensure that S3 bucket has cross-region replication enabled
Ensure that S3 bucket has cross-region replication enabled
Where
Medium Ensure that S3 buckets are encrypted with KMS by default
Ensure that S3 buckets are encrypted with KMS by default
Where
Medium Ensure S3 buckets should have event notifications enabled
Ensure S3 buckets should have event notifications enabled
Where
Medium Ensure all data stored in the S3 bucket have versioning enabled
Ensure all data stored in the S3 bucket have versioning enabled
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 all EIP addresses allocated to a VPC are attached to EC2 instances
Ensure that all EIP addresses allocated to a VPC are attached to EC2 instances
Where
Medium Ensure that Security Groups are attached to another resource
Ensure that Security Groups are attached to another resource
Where
Medium Ensure SSM parameters are using KMS CMK
Ensure SSM parameters are using KMS CMK
Where
Medium Ensure AWS Load Balancer doesn't use HTTP protocol
Ensure AWS Load Balancer doesn't use HTTP protocol
Where
Medium Suspicious use of curl with secrets
Suspicious use of curl with secrets
How to fix
See Checkov documentation for remediation guidance.
Where
Medium Ensure Terraform module sources use a commit hash
Ensure Terraform module sources use a commit hash
Where
Medium Ensure top-level permissions are not set to write-all
Ensure top-level permissions are not set to write-all
How to fix
See Checkov documentation for remediation guidance.
Where
Medium Ensure the S3 bucket has access logging enabled
Ensure the S3 bucket has access logging enabled
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 that an S3 bucket has a lifecycle configuration
Ensure that an S3 bucket has a lifecycle configuration
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 does not allow write access without constraints
Ensure IAM policies does not allow write access without constraints
Where
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
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 AWS API gateway request is validated
Ensure AWS API gateway request is validated
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 enhanced monitoring is enabled for Amazon RDS instances
Ensure that enhanced monitoring is enabled for Amazon RDS instances
Where
Medium Check encryption settings for Lambda environmental variable
Check encryption settings for Lambda environmental variable
Where
Medium Ensure ElastiCache replication group is encrypted by KMS using a customer managed Key (CMK)
Ensure ElastiCache replication group is encrypted by KMS using a customer managed Key (CMK)
Where
Medium Ensure DB instance gets all minor upgrades automatically
Ensure DB instance gets all minor upgrades automatically
Where
Medium Ensure every security group and rule has a description
Ensure every security group and rule has a description
Where
Medium Ensure that Kinesis Firehose Delivery Streams are encrypted with CMK
Ensure that Kinesis Firehose Delivery Streams are encrypted with CMK
Where
Medium Ensure all data stored in the SQS queue is encrypted
Ensure all data stored in the SQS queue is encrypted
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 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 all data stored in the ElastiCache Replication Group is securely encrypted at rest
Ensure all data stored in the ElastiCache Replication Group is securely encrypted at rest
Where
Medium Ensure all data stored in the ElastiCache Replication Group is securely encrypted at transit
Ensure all data stored in the ElastiCache Replication Group is securely encrypted at transit
Where
Medium Ensure all data stored in the ElastiCache Replication Group is securely encrypted at transit and has auth token
Ensure all data stored in the ElastiCache Replication Group is securely encrypted at transit and has auth token
Where
and 52 more groups with 54 findings
Low 4
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
- aws/common/vpc.tf:47 $3.65 / mo
- aws/common/vpc.tf:58 $3.65 / mo
Low Large Root Volume
Oversized root block device. Many workloads don't require large root volumes.
How to fix
Reduce root volume size to minimum required (typically 8-20 GB for most Linux instances).
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.