DEMO (do not merge): intentionally insecure terraform example #20
14 new alerts including 2 critical severity security vulnerabilities
New alerts in code changed by this pull request
Security Alerts:
- 2 critical
- 10 high
- 1 medium
- 1 low
See annotations below for details.
Annotations
Check failure on line 39 in examples/terraform/main.bad.tf
Code scanning / Trivy
Security groups should not allow unrestricted ingress to SSH or RDP from any IP address. High
Check failure on line 48 in examples/terraform/main.bad.tf
Code scanning / Trivy
Security groups should not allow unrestricted ingress to SSH or RDP from any IP address. High
Check failure on line 57 in examples/terraform/main.bad.tf
Code scanning / Trivy
Security groups should not allow unrestricted ingress to SSH or RDP from any IP address. High
Check failure on line 66 in examples/terraform/main.bad.tf
Code scanning / Trivy
A security group rule should not allow unrestricted egress to any IP address. Critical
Check failure on line 67 in examples/terraform/main.bad.tf
Code scanning / Trivy
A security group rule should not allow unrestricted egress to any IP address. Critical
Check failure on line 81 in examples/terraform/main.bad.tf
Code scanning / Trivy
Unencrypted S3 bucket. High
Check notice on line 81 in examples/terraform/main.bad.tf
Code scanning / Trivy
S3 Bucket Logging Low
Check warning on line 81 in examples/terraform/main.bad.tf
Code scanning / Trivy
S3 Data should be versioned Medium
Check failure on line 81 in examples/terraform/main.bad.tf
Code scanning / Trivy
S3 encryption should use Customer Managed Keys High
Check failure on line 80 in examples/terraform/main.bad.tf
Code scanning / Trivy
S3 Buckets not publicly accessible through ACL. High
Check failure on line 85 in examples/terraform/main.bad.tf
Code scanning / Trivy
S3 Access block should block public ACL High
Check failure on line 86 in examples/terraform/main.bad.tf
Code scanning / Trivy
S3 Access block should block public policy High
Check failure on line 87 in examples/terraform/main.bad.tf
Code scanning / Trivy
S3 Access Block should Ignore Public ACL High
Check failure on line 88 in examples/terraform/main.bad.tf
Code scanning / Trivy
S3 Access block should restrict public bucket to limit access High