Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

update(query): add CWE infos to terraform queries #7187

Merged
merged 11 commits into from
Sep 18, 2024
  •  
  •  
  •  
Original file line number Diff line number Diff line change
Expand Up @@ -8,5 +8,5 @@
"platform": "Terraform",
"descriptionID": "72180b32",
"cloudProvider": "alicloud",
"cwe": ""
"cwe": "778"
}
Original file line number Diff line number Diff line change
Expand Up @@ -8,5 +8,5 @@
"platform": "Terraform",
"descriptionID": "0b91a8b5",
"cloudProvider": "alicloud",
"cwe": ""
"cwe": "668"
}
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,6 @@
"platform": "Terraform",
"descriptionID": "75d71dc8",
"cloudProvider": "alicloud",
"cwe": "",
"cwe": "319",
"oldSeverity": "HIGH"
}
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,6 @@
"platform": "Terraform",
"descriptionID": "31f4c870",
"cloudProvider": "alicloud",
"cwe": "",
"cwe": "319",
"oldSeverity": "HIGH"
}
Original file line number Diff line number Diff line change
Expand Up @@ -8,5 +8,5 @@
"platform": "Terraform",
"descriptionID": "52a5ea7c",
"cloudProvider": "alicloud",
"cwe": ""
"cwe": "693"
}
Original file line number Diff line number Diff line change
Expand Up @@ -8,5 +8,5 @@
"platform": "Terraform",
"descriptionID": "3096639c",
"cloudProvider": "alicloud",
"cwe": ""
"cwe": "693"
}
Original file line number Diff line number Diff line change
Expand Up @@ -8,5 +8,5 @@
"platform": "Terraform",
"descriptionID": "68bbdfee",
"cloudProvider": "alicloud",
"cwe": ""
"cwe": "311"
}
Original file line number Diff line number Diff line change
Expand Up @@ -8,5 +8,5 @@
"platform": "Terraform",
"descriptionID": "04c57e20",
"cloudProvider": "alicloud",
"cwe": ""
"cwe": "311"
}
Original file line number Diff line number Diff line change
Expand Up @@ -8,5 +8,5 @@
"platform": "Terraform",
"descriptionID": "7961c2d3",
"cloudProvider": "alicloud",
"cwe": ""
"cwe": "311"
}
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,6 @@
"platform": "Terraform",
"descriptionID": "7c27643e",
"cloudProvider": "alicloud",
"cwe": "",
"cwe": "693",
"oldSeverity": "MEDIUM"
}
Original file line number Diff line number Diff line change
Expand Up @@ -8,5 +8,5 @@
"platform": "Terraform",
"descriptionID": "e9336717",
"cloudProvider": "alicloud",
"cwe": ""
"cwe": "311"
}
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,6 @@
"platform": "Terraform",
"descriptionID": "11d4fc85",
"cloudProvider": "alicloud",
"cwe": "",
"cwe": "778",
"oldSeverity": "MEDIUM"
}
Original file line number Diff line number Diff line change
Expand Up @@ -8,5 +8,5 @@
"platform": "Terraform",
"descriptionID": "fb3675d5",
"cloudProvider": "alicloud",
"cwe": ""
"cwe": "311"
}
Original file line number Diff line number Diff line change
Expand Up @@ -8,5 +8,5 @@
"platform": "Terraform",
"descriptionID": "5fb1326b",
"cloudProvider": "alicloud",
"cwe": ""
"cwe": "311"
}
Original file line number Diff line number Diff line change
Expand Up @@ -8,5 +8,5 @@
"platform": "Terraform",
"descriptionID": "199b3f61",
"cloudProvider": "alicloud",
"cwe": ""
"cwe": "829"
}
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,6 @@
"platform": "Terraform",
"descriptionID": "5507d429",
"cloudProvider": "alicloud",
"cwe": "",
"cwe": "284",
"oldSeverity": "HIGH"
}
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,6 @@
"platform": "Terraform",
"descriptionID": "ee07e6f5",
"cloudProvider": "alicloud",
"cwe": "",
"cwe": "732",
"oldSeverity": "HIGH"
}
Original file line number Diff line number Diff line change
Expand Up @@ -8,5 +8,5 @@
"platform": "Terraform",
"descriptionID": "b22a7d83",
"cloudProvider": "alicloud",
"cwe": ""
"cwe": "200"
}
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,6 @@
"platform": "Terraform",
"descriptionID": "14d65676",
"cloudProvider": "alicloud",
"cwe": "",
"cwe": "732",
"oldSeverity": "HIGH"
}
Original file line number Diff line number Diff line change
Expand Up @@ -8,5 +8,5 @@
"platform": "Terraform",
"descriptionID": "5907ee8c",
"cloudProvider": "alicloud",
"cwe": ""
"cwe": "311"
}
Original file line number Diff line number Diff line change
Expand Up @@ -3,10 +3,10 @@
"queryName": "OSS Bucket Has Static Website",
"severity": "HIGH",
"category": "Insecure Configurations",
"descriptionText": "Checks if any static websties are hosted on buckets. Be aware of any website you are running.",
"descriptionText": "Checks if any static websites are hosted on buckets. Be aware of any website you are running.",
"descriptionUrl": "https://registry.terraform.io/providers/aliyun/alicloud/latest/docs/resources/oss_bucket#website",
"platform": "Terraform",
"descriptionID": "4c0903ce",
"cloudProvider": "alicloud",
"cwe": ""
"cwe": "200"
}
Original file line number Diff line number Diff line change
Expand Up @@ -8,5 +8,5 @@
"platform": "Terraform",
"descriptionID": "93cebe21",
"cloudProvider": "alicloud",
"cwe": ""
"cwe": "285"
}
Original file line number Diff line number Diff line change
Expand Up @@ -8,5 +8,5 @@
"platform": "Terraform",
"descriptionID": "66609561",
"cloudProvider": "alicloud",
"cwe": ""
"cwe": "664"
}
Original file line number Diff line number Diff line change
Expand Up @@ -8,5 +8,5 @@
"platform": "Terraform",
"descriptionID": "c4a5fdbb",
"cloudProvider": "alicloud",
"cwe": ""
"cwe": "778"
}
Original file line number Diff line number Diff line change
Expand Up @@ -8,5 +8,5 @@
"platform": "Terraform",
"descriptionID": "d8096622",
"cloudProvider": "alicloud",
"cwe": ""
"cwe": "284"
}
Original file line number Diff line number Diff line change
Expand Up @@ -8,5 +8,5 @@
"platform": "Terraform",
"descriptionID": "19899aaa",
"cloudProvider": "alicloud",
"cwe": ""
"cwe": "693"
}
Original file line number Diff line number Diff line change
Expand Up @@ -8,5 +8,5 @@
"platform": "Terraform",
"descriptionID": "749f1287",
"cloudProvider": "alicloud",
"cwe": ""
"cwe": "710"
}
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,6 @@
"platform": "Terraform",
"descriptionID": "2b43b0a7",
"cloudProvider": "alicloud",
"cwe": "",
"cwe": "326",
"oldSeverity": "HIGH"
}
Original file line number Diff line number Diff line change
Expand Up @@ -8,5 +8,5 @@
"platform": "Terraform",
"descriptionID": "6dcb70e8",
"cloudProvider": "alicloud",
"cwe": ""
"cwe": "284"
}
Original file line number Diff line number Diff line change
Expand Up @@ -9,5 +9,5 @@
"descriptionID": "717c49e0",
"aggregation": 63,
"cloudProvider": "alicloud",
"cwe": ""
"cwe": "284"
}
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,6 @@
"platform": "Terraform",
"descriptionID": "a2097952",
"cloudProvider": "alicloud",
"cwe": "",
"cwe": "284",
"oldSeverity": "MEDIUM"
}
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,6 @@
"platform": "Terraform",
"descriptionID": "6a2e9c34",
"cloudProvider": "alicloud",
"cwe": "",
"cwe": "307",
"oldSeverity": "HIGH"
}
Original file line number Diff line number Diff line change
Expand Up @@ -8,5 +8,5 @@
"platform": "Terraform",
"descriptionID": "6056f5ca",
"cloudProvider": "alicloud",
"cwe": ""
"cwe": "521"
}
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,6 @@
"platform": "Terraform",
"descriptionID": "a8b47743",
"cloudProvider": "alicloud",
"cwe": "",
"cwe": "521",
"oldSeverity": "HIGH"
}
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,6 @@
"platform": "Terraform",
"descriptionID": "0ee40b1d",
"cloudProvider": "alicloud",
"cwe": "",
"cwe": "521",
"oldSeverity": "MEDIUM"
}
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,6 @@
"platform": "Terraform",
"descriptionID": "f3616c34",
"cloudProvider": "alicloud",
"cwe": "",
"cwe": "521",
"oldSeverity": "MEDIUM"
}
Original file line number Diff line number Diff line change
Expand Up @@ -8,5 +8,5 @@
"platform": "Terraform",
"descriptionID": "2210f1f7",
"cloudProvider": "alicloud",
"cwe": ""
"cwe": "521"
}
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,6 @@
"platform": "Terraform",
"descriptionID": "b482b843",
"cloudProvider": "alicloud",
"cwe": "",
"cwe": "521",
"oldSeverity": "MEDIUM"
}
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,6 @@
"platform": "Terraform",
"descriptionID": "5adbc73e",
"cloudProvider": "alicloud",
"cwe": "",
"cwe": "521",
"oldSeverity": "MEDIUM"
}
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,6 @@
"platform": "Terraform",
"descriptionID": "d529825f",
"cloudProvider": "alicloud",
"cwe": "",
"cwe": "285",
"oldSeverity": "HIGH"
}
Original file line number Diff line number Diff line change
Expand Up @@ -8,5 +8,5 @@
"platform": "Terraform",
"descriptionID": "c3be65a4",
"cloudProvider": "alicloud",
"cwe": ""
"cwe": "284"
}
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,6 @@
"platform": "Terraform",
"descriptionID": "6131e90d",
"cloudProvider": "alicloud",
"cwe": "",
"cwe": "287",
"oldSeverity": "HIGH"
}
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,6 @@
"platform": "Terraform",
"descriptionID": "d23dc3f9",
"cloudProvider": "alicloud",
"cwe": "",
"cwe": "668",
"oldSeverity": "HIGH"
}
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,6 @@
"platform": "Terraform",
"descriptionID": "c731d8ad",
"cloudProvider": "alicloud",
"cwe": "",
"cwe": "778",
"oldSeverity": "HIGH"
}
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,6 @@
"platform": "Terraform",
"descriptionID": "0a96bec0",
"cloudProvider": "alicloud",
"cwe": "",
"cwe": "778",
"oldSeverity": "LOW"
}
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,6 @@
"platform": "Terraform",
"descriptionID": "67ec659b",
"cloudProvider": "alicloud",
"cwe": "",
"cwe": "778",
"oldSeverity": "LOW"
}
Loading
Loading