| 1 | { |
| 2 | "results": [ |
| 3 | { |
| 4 | "rule_id": "AWS006", |
| 5 | "rule_description": "An ingress security group rule allows traffic from /0.", |
| 6 | "rule_provider": "aws", |
| 7 | "link": "See https://tfsec.dev/docs/aws/AWS006/ for more information.", |
| 8 | "location": { |
| 9 | "filename": "/home/billybob/supertfsec/example/main.tf", |
| 10 | "start_line": 4, |
| 11 | "end_line": 4 |
| 12 | }, |
| 13 | "description": "Resource 'aws_security_group_rule.my-rule' defines a fully open ingress security group rule.", |
| 14 | "impact": "Your port exposed to the internet", |
| 15 | "resolution": "Set a more restrictive cidr range", |
| 16 | "severity": "WARNING", |
| 17 | "passed": false |
| 18 | }, |
| 19 | { |
| 20 | "rule_id": "AZU003", |
| 21 | "rule_description": "Unencrypted managed disk.", |
| 22 | "rule_provider": "azure", |
| 23 | "link": "See https://tfsec.dev/docs/azure/AZU003/ for more information.", |
| 24 | "location": { |
| 25 | "filename": "/home/billybob/supertfsec/example/main.tf", |
| 26 | "start_line": 22, |
| 27 | "end_line": 22 |
| 28 | }, |
| 29 | "description": "Resource 'azurerm_managed_disk.source' defines an unencrypted managed disk.", |
| 30 | "impact": "", |
| 31 | "resolution": "", |
| 32 | "severity": "ERROR", |
| 33 | "passed": false |
| 34 | }, |
| 35 | { |
| 36 | "rule_id": "AWS025", |
| 37 | "rule_description": "API Gateway domain name uses outdated SSL/TLS protocols.", |
| 38 | "rule_provider": "aws", |
| 39 | "link": "See https://tfsec.dev/docs/aws/AWS025/ for more information.", |
| 40 | "location": { |
| 41 | "filename": "/home/billybob/supertfsec/example/main.tf", |
| 42 | "start_line": 26, |
| 43 | "end_line": 27 |
| 44 | }, |
| 45 | "description": "Resource 'aws_api_gateway_domain_name.missing_security_policy' should include security_policy (defauls to outdated SSL/TLS policy).", |
| 46 | "impact": "Outdated SSL policies increase exposure to known vulnerabilites", |
| 47 | "resolution": "Use the most modern TLS/SSL policies available", |
| 48 | "severity": "ERROR", |
| 49 | "passed": false |
| 50 | }, |
| 51 | { |
| 52 | "rule_id": "AWS025", |
| 53 | "rule_description": "API Gateway domain name uses outdated SSL/TLS protocols.", |
| 54 | "rule_provider": "aws", |
| 55 | "link": "See https://tfsec.dev/docs/aws/AWS025/ for more information.", |
| 56 | "location": { |
| 57 | "filename": "/home/billybob/supertfsec/example/main.tf", |
| 58 | "start_line": 30, |
| 59 | "end_line": 30 |
| 60 | }, |
| 61 | "description": "Resource 'aws_api_gateway_domain_name.empty_security_policy' defines outdated SSL/TLS policies (not using TLS_1_2).", |
| 62 | "impact": "Outdated SSL policies increase exposure to known vulnerabilites", |
| 63 | "resolution": "Use the most modern TLS/SSL policies available", |
| 64 | "severity": "ERROR", |
| 65 | "passed": false |
| 66 | }, |
| 67 | { |
| 68 | "rule_id": "AWS025", |
| 69 | "rule_description": "API Gateway domain name uses outdated SSL/TLS protocols.", |
| 70 | "rule_provider": "aws", |
| 71 | "link": "See https://tfsec.dev/docs/aws/AWS025/ for more information.", |
| 72 | "location": { |
| 73 | "filename": "/home/billybob/supertfsec/example/main.tf", |
| 74 | "start_line": 34, |
| 75 | "end_line": 34 |
| 76 | }, |
| 77 | "description": "Resource 'aws_api_gateway_domain_name.outdated_security_policy' defines outdated SSL/TLS policies (not using TLS_1_2).", |
| 78 | "impact": "Outdated SSL policies increase exposure to known vulnerabilites", |
| 79 | "resolution": "Use the most modern TLS/SSL policies available", |
| 80 | "severity": "ERROR", |
| 81 | "passed": false |
| 82 | }, |
| 83 | { |
| 84 | "rule_id": "AWS018", |
| 85 | "rule_description": "Missing description for security group/security group rule.", |
| 86 | "rule_provider": "aws", |
| 87 | "link": "See https://tfsec.dev/docs/aws/AWS018/ for more information.", |
| 88 | "location": { |
| 89 | "filename": "/home/billybob/supertfsec/example/main.tf", |
| 90 | "start_line": 2, |
| 91 | "end_line": 5 |
| 92 | }, |
| 93 | "description": "Resource 'aws_security_group_rule.my-rule' should include a description for auditing purposes.", |
| 94 | "impact": "Descriptions provide context for the firewall rule reasons", |
| 95 | "resolution": "Add descriptions for all security groups anf rules", |
| 96 | "severity": "ERROR", |
| 97 | "passed": false |
| 98 | }, |
| 99 | { |
| 100 | "rule_id": "AWS004", |
| 101 | "rule_description": "Use of plain HTTP.", |
| 102 | "rule_provider": "aws", |
| 103 | "link": "See https://tfsec.dev/docs/aws/AWS004/ for more information.", |
| 104 | "location": { |
| 105 | "filename": "/home/billybob/supertfsec/example/main.tf", |
| 106 | "start_line": 9, |
| 107 | "end_line": 9 |
| 108 | }, |
| 109 | "description": "Resource 'aws_alb_listener.my-alb-listener' uses plain HTTP instead of HTTPS.", |
| 110 | "impact": "Your traffic is not protected", |
| 111 | "resolution": "Switch to HTTPS to benefit from TLS security features", |
| 112 | "severity": "ERROR", |
| 113 | "passed": false |
| 114 | }, |
| 115 | { |
| 116 | "rule_id": "AWS003", |
| 117 | "rule_description": "AWS Classic resource usage.", |
| 118 | "rule_provider": "aws", |
| 119 | "link": "See https://tfsec.dev/docs/aws/AWS003/ for more information.", |
| 120 | "location": { |
| 121 | "filename": "/home/billybob/supertfsec/example/main.tf", |
| 122 | "start_line": 12, |
| 123 | "end_line": 14 |
| 124 | }, |
| 125 | "description": "Resource 'aws_db_security_group.my-group' uses EC2 Classic. Use a VPC instead.", |
| 126 | "impact": "Classic resources are running in a shared environment with other customers", |
| 127 | "resolution": "Switch to VPC resources", |
| 128 | "severity": "ERROR", |
| 129 | "passed": false |
| 130 | }, |
| 131 | { |
| 132 | "rule_id": "AWS092", |
| 133 | "rule_description": "DynamoDB tables should use at rest encyption with a Customer Managed Key", |
| 134 | "rule_provider": "aws", |
| 135 | "link": "See https://tfsec.dev/docs/aws/AWS092/ for more information.", |
| 136 | "location": { |
| 137 | "filename": "/home/billybob/supertfsec/example/main.tf", |
| 138 | "start_line": 41, |
| 139 | "end_line": 56 |
| 140 | }, |
| 141 | "description": "Resource 'aws_dynamodb_table.bad_example' is not using KMS CMK for encryption", |
| 142 | "impact": "Using AWS managed keys does not allow for fine grained control", |
| 143 | "resolution": "Enable server side encrytion with a customer managed key", |
| 144 | "severity": "WARNING", |
| 145 | "passed": false |
| 146 | } |
| 147 | ] |
| 148 | } |