Skip to content

Commit

Permalink
modify query names for tests
Browse files Browse the repository at this point in the history
  • Loading branch information
pereiramarco011 committed Mar 27, 2024
1 parent 6dfc5df commit f552d3e
Show file tree
Hide file tree
Showing 6 changed files with 32 additions and 32 deletions.
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
[
{
"queryName": "KMS Key With Full Permissions",
"queryName": "KMS Key With Vulnerable Policy",
"severity": "HIGH",
"line": 5,
"fileName": "positive.yaml"
},
{
"queryName": "KMS Key With Full Permissions",
"queryName": "KMS Key With Vulnerable Policy",
"severity": "HIGH",
"line": 3,
"fileName": "positive2.yaml"
Expand Down
Original file line number Diff line number Diff line change
@@ -1,120 +1,120 @@
[
{
"queryName": "API Gateway Access Logging Disabled",
"queryName": "API Gateway V2 Stage Access Logging Settings Not Defined",
"severity": "MEDIUM",
"line": 16,
"fileName": "positive1.yaml"
},
{
"queryName": "API Gateway Access Logging Disabled",
"queryName": "API Gateway V2 Stage Access Logging Settings Not Defined",
"severity": "MEDIUM",
"line": 7,
"fileName": "positive2.json"
},
{
"queryName": "API Gateway Access Logging Disabled",
"queryName": "API Gateway V2 Stage Access Logging Settings Not Defined",
"severity": "MEDIUM",
"line": 21,
"fileName": "positive3.json"
},
{
"queryName": "API Gateway Access Logging Disabled",
"queryName": "API Gateway V2 Stage Access Logging Settings Not Defined",
"severity": "MEDIUM",
"line": 19,
"fileName": "positive4.json"
},
{
"queryName": "API Gateway Access Logging Disabled",
"queryName": "API Gateway V2 Stage Access Logging Settings Not Defined",
"severity": "MEDIUM",
"line": 6,
"fileName": "positive5.json"
},
{
"queryName": "API Gateway Access Logging Disabled",
"queryName": "API Gateway V2 Stage Access Logging Settings Not Defined",
"severity": "MEDIUM",
"line": 6,
"fileName": "positive6.json"
},
{
"queryName": "API Gateway Access Logging Disabled",
"queryName": "API Gateway V2 Stage Access Logging Settings Not Defined",
"severity": "MEDIUM",
"line": 7,
"fileName": "positive7.json"
},
{
"queryName": "API Gateway Access Logging Disabled",
"queryName": "API Gateway V2 Stage Access Logging Settings Not Defined",
"severity": "MEDIUM",
"line": 4,
"fileName": "positive8.yaml"
},
{
"queryName": "API Gateway Access Logging Disabled",
"queryName": "API Gateway V2 Stage Access Logging Settings Not Defined",
"severity": "MEDIUM",
"line": 4,
"fileName": "positive9.yaml"
},
{
"queryName": "API Gateway Access Logging Disabled",
"queryName": "API Gateway V2 Stage Access Logging Settings Not Defined",
"severity": "MEDIUM",
"line": 19,
"fileName": "positive10.json"
},
{
"queryName": "API Gateway Access Logging Disabled",
"queryName": "API Gateway V2 Stage Access Logging Settings Not Defined",
"severity": "MEDIUM",
"line": 19,
"fileName": "positive10.json"
},
{
"queryName": "API Gateway Access Logging Disabled",
"queryName": "API Gateway V2 Stage Access Logging Settings Not Defined",
"severity": "MEDIUM",
"line": 4,
"fileName": "positive11.yaml"
},
{
"queryName": "API Gateway Access Logging Disabled",
"queryName": "API Gateway V2 Stage Access Logging Settings Not Defined",
"severity": "MEDIUM",
"line": 13,
"fileName": "positive11.yaml"
},
{
"queryName": "API Gateway Access Logging Disabled",
"queryName": "API Gateway V2 Stage Access Logging Settings Not Defined",
"severity": "MEDIUM",
"line": 21,
"fileName": "positive12.json"
},
{
"queryName": "API Gateway Access Logging Disabled",
"queryName": "API Gateway V2 Stage Access Logging Settings Not Defined",
"severity": "MEDIUM",
"line": 4,
"fileName": "positive13.yaml"
},
{
"queryName": "API Gateway Access Logging Disabled",
"queryName": "API Gateway V2 Stage Access Logging Settings Not Defined",
"severity": "MEDIUM",
"line": 14,
"fileName": "positive13.yaml"
},
{
"queryName": "API Gateway Access Logging Disabled",
"queryName": "API Gateway V2 Stage Access Logging Settings Not Defined",
"severity": "MEDIUM",
"line": 14,
"fileName": "positive14.yaml"
},
{
"queryName": "API Gateway Access Logging Disabled",
"queryName": "API Gateway V2 Stage Access Logging Settings Not Defined",
"severity": "MEDIUM",
"line": 15,
"fileName": "positive15.yaml"
},
{
"queryName": "API Gateway Access Logging Disabled",
"queryName": "API Gateway V2 Stage Access Logging Settings Not Defined",
"severity": "MEDIUM",
"line": 4,
"fileName": "positive16.yaml"
},
{
"queryName": "API Gateway Access Logging Disabled",
"queryName": "API Gateway V2 Stage Access Logging Settings Not Defined",
"severity": "MEDIUM",
"line": 4,
"fileName": "positive17.yaml"
Expand Down
Original file line number Diff line number Diff line change
@@ -1,24 +1,24 @@
[
{
"queryName": "KMS Key With Full Permissions",
"queryName": "KMS Key With Vulnerable Policy",
"severity": "HIGH",
"line": 9,
"fileName": "positive.json"
},
{
"queryName": "KMS Key With Full Permissions",
"queryName": "KMS Key With Vulnerable Policy",
"severity": "HIGH",
"line": 8,
"fileName": "positive.yaml"
},
{
"queryName": "KMS Key With Full Permissions",
"queryName": "KMS Key With Vulnerable Policy",
"severity": "HIGH",
"line": 5,
"fileName": "positive2.json"
},
{
"queryName": "KMS Key With Full Permissions",
"queryName": "KMS Key With Vulnerable Policy",
"severity": "HIGH",
"line": 4,
"fileName": "positive2.yaml"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,10 +2,10 @@
"id": "9d43040e-e703-4e16-8bfe-8d4da10fa7e6",
"queryName": "Container CPU Requests Not Equal To Its Limits",
"severity": "LOW",
"category": "Best Practices",
"category": "Resource Management",
"descriptionText": "A Pod's Containers must have the same CPU requests as limits set, which is recommended to avoid resource DDOS of the node during spikes. This means the 'requests.cpu' must equal 'limits.cpu', and both be defined.",
"descriptionUrl": "https://kubernetes.io/docs/concepts/configuration/manage-resources-containers/",
"platform": "Kubernetes",
"descriptionID": "3e1c6d16",
"cwe": ""
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -8,4 +8,4 @@
"platform": "Kubernetes",
"descriptionID": "0c15063c",
"cwe": ""
}
}
Original file line number Diff line number Diff line change
@@ -1,18 +1,18 @@
[
{
"queryName": "KMS Key With Full Permissions",
"queryName": "KMS Key With Vulnerable Policy",
"severity": "HIGH",
"line": 5,
"fileName": "positive1.tf"
},
{
"queryName": "KMS Key With Full Permissions",
"queryName": "KMS Key With Vulnerable Policy",
"severity": "HIGH",
"line": 5,
"fileName": "positive2.tf"
},
{
"queryName": "KMS Key With Full Permissions",
"queryName": "KMS Key With Vulnerable Policy",
"severity": "HIGH",
"line": 1,
"fileName": "positive3.tf"
Expand Down

0 comments on commit f552d3e

Please sign in to comment.