Skip to content

Commit

Permalink
Update rule metadata for 4.2 release (#1435)
Browse files Browse the repository at this point in the history
  • Loading branch information
sallaigy authored Apr 5, 2023
1 parent 42e9ddf commit bb667e8
Show file tree
Hide file tree
Showing 44 changed files with 48 additions and 119 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -6,9 +6,7 @@
"func": "Constant\/Issue",
"constantCost": "30min"
},
"tags": [
"owasp-a3"
],
"tags": [],
"defaultSeverity": "Minor",
"ruleSpecification": "RSPEC-1313",
"sqKey": "S1313",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,7 @@
"constantCost": "30min"
},
"tags": [
"cwe",
"owasp-a1"
"cwe"
],
"defaultSeverity": "Critical",
"ruleSpecification": "RSPEC-1523",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,9 +7,7 @@
"constantCost": "30min"
},
"tags": [
"cwe",
"sans-top25-porous",
"owasp-a3"
"cwe"
],
"defaultSeverity": "Critical",
"ruleSpecification": "RSPEC-2053",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,9 +7,7 @@
"constantCost": "30min"
},
"tags": [
"cwe",
"sans-top25-porous",
"owasp-a2"
"cwe"
],
"defaultSeverity": "Blocker",
"ruleSpecification": "RSPEC-2068",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,6 @@
},
"tags": [
"cwe",
"owasp-a1",
"sans-top25-insecure",
"bad-practice",
"sql"
],
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,9 +8,7 @@
},
"tags": [
"cwe",
"privacy",
"sans-top25-porous",
"owasp-a3"
"privacy"
],
"defaultSeverity": "Minor",
"ruleSpecification": "RSPEC-2092",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,9 +7,7 @@
"constantCost": "45min"
},
"tags": [
"cwe",
"owasp-a2",
"owasp-a3"
"cwe"
],
"defaultSeverity": "Blocker",
"ruleSpecification": "RSPEC-2115",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,9 +7,7 @@
"constantCost": "10min"
},
"tags": [
"cwe",
"owasp-a3",
"owasp-m5"
"cwe"
],
"defaultSeverity": "Critical",
"ruleSpecification": "RSPEC-2245",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,9 +7,7 @@
"constantCost": "1d"
},
"tags": [
"cwe",
"sans-top25-porous",
"owasp-a3"
"cwe"
],
"defaultSeverity": "Critical",
"ruleSpecification": "RSPEC-2257",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,9 +7,7 @@
"constantCost": "5min"
},
"tags": [
"cwe",
"sans-top25-porous",
"owasp-a5"
"cwe"
],
"defaultSeverity": "Major",
"ruleSpecification": "RSPEC-2612",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,7 @@
"constantCost": "15min"
},
"tags": [
"cwe",
"owasp-a4"
"cwe"
],
"defaultSeverity": "Blocker",
"ruleSpecification": "RSPEC-2755",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,9 +7,7 @@
"constantCost": "15min"
},
"tags": [
"cwe",
"owasp-a3",
"owasp-m5"
"cwe"
],
"defaultSeverity": "Critical",
"ruleSpecification": "RSPEC-3329",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,9 +8,7 @@
},
"tags": [
"cwe",
"sans-top25-insecure",
"privacy",
"owasp-a7"
"privacy"
],
"defaultSeverity": "Minor",
"ruleSpecification": "RSPEC-3330",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,9 +7,7 @@
"constantCost": "5min"
},
"tags": [
"cwe",
"sans-top25-insecure",
"owasp-a5"
"cwe"
],
"defaultSeverity": "Minor",
"ruleSpecification": "RSPEC-3752",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,11 +8,7 @@
},
"tags": [
"cwe",
"privacy",
"owasp-a6",
"sans-top25-porous",
"owasp-a3",
"owasp-m3"
"privacy"
],
"defaultSeverity": "Critical",
"ruleSpecification": "RSPEC-4423",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,10 +8,7 @@
},
"tags": [
"cwe",
"privacy",
"owasp-a6",
"owasp-a3",
"owasp-m5"
"privacy"
],
"defaultSeverity": "Critical",
"ruleSpecification": "RSPEC-4426",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,7 @@
"constantCost": "15min"
},
"tags": [
"cwe",
"owasp-a2"
"cwe"
],
"defaultSeverity": "Critical",
"ruleSpecification": "RSPEC-4433",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,9 +8,7 @@
},
"tags": [
"cwe",
"sans-top25-insecure",
"django",
"owasp-a6",
"flask"
],
"defaultSeverity": "Critical",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,7 @@
"cwe",
"error-handling",
"debug",
"user-experience",
"owasp-a3"
"user-experience"
],
"defaultSeverity": "Minor",
"ruleSpecification": "RSPEC-4507",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,9 +7,7 @@
"constantCost": "30min"
},
"tags": [
"cwe",
"owasp-a1",
"sans-top25-insecure"
"cwe"
],
"defaultSeverity": "Major",
"ruleSpecification": "RSPEC-4721",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -89,5 +89,5 @@ <h2>See</h2>
<li> OWASP Regular expression Denial of Service - ReDoS </li>
</ul>
<h2>Deprecated</h2>
<p>This rule is deprecated; use {rule:pythonsecurity:S2631} instead.</p>
<p>This rule is deprecated; use {rule:python:S5852}, {rule:pythonsecurity:S2631} instead.</p>

Original file line number Diff line number Diff line change
Expand Up @@ -4,11 +4,7 @@
"status": "ready",
"tags": [
"cwe",
"spring",
"owasp-a6",
"sans-top25-porous",
"owasp-a3",
"owasp-m5"
"spring"
],
"defaultSeverity": "Critical",
"ruleSpecification": "RSPEC-4790",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,10 +3,7 @@
"type": "SECURITY_HOTSPOT",
"status": "ready",
"tags": [
"cwe",
"owasp-a10",
"sans-top25-porous",
"owasp-a3"
"cwe"
],
"defaultSeverity": "Critical",
"ruleSpecification": "RSPEC-4792",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -9,10 +9,7 @@
"tags": [
"cwe",
"privacy",
"owasp-a6",
"ssl",
"owasp-a3",
"owasp-m3"
"ssl"
],
"defaultSeverity": "Critical",
"ruleSpecification": "RSPEC-4830",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,9 +7,7 @@
"constantCost": "10min"
},
"tags": [
"cwe",
"owasp-a6",
"owasp-a5"
"cwe"
],
"defaultSeverity": "Critical",
"ruleSpecification": "RSPEC-5042",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,9 +3,7 @@
"type": "SECURITY_HOTSPOT",
"status": "ready",
"tags": [
"cwe",
"owasp-a6",
"sans-top25-porous"
"cwe"
],
"defaultSeverity": "Minor",
"ruleSpecification": "RSPEC-5122",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,7 @@
"constantCost": "5min"
},
"tags": [
"cwe",
"owasp-a7"
"cwe"
],
"defaultSeverity": "Major",
"ruleSpecification": "RSPEC-5247",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,9 +3,7 @@
"type": "SECURITY_HOTSPOT",
"status": "ready",
"tags": [
"cwe",
"owasp-a3",
"owasp-m3"
"cwe"
],
"defaultSeverity": "Critical",
"ruleSpecification": "RSPEC-5332",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,9 +3,7 @@
"type": "SECURITY_HOTSPOT",
"status": "ready",
"tags": [
"cwe",
"owasp-a5",
"owasp-a3"
"cwe"
],
"defaultSeverity": "Critical",
"ruleSpecification": "RSPEC-5443",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,7 @@
"constantCost": "10min"
},
"tags": [
"cwe",
"owasp-a9"
"cwe"
],
"defaultSeverity": "Critical",
"ruleSpecification": "RSPEC-5445",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -9,10 +9,7 @@
"tags": [
"cwe",
"privacy",
"owasp-a6",
"ssl",
"owasp-a3",
"owasp-m3"
"ssl"
],
"defaultSeverity": "Critical",
"ruleSpecification": "RSPEC-5527",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,11 +8,7 @@
},
"tags": [
"cwe",
"privacy",
"owasp-a6",
"sans-top25-porous",
"owasp-a3",
"owasp-m5"
"privacy"
],
"defaultSeverity": "Critical",
"ruleSpecification": "RSPEC-5542",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,11 +8,7 @@
},
"tags": [
"cwe",
"privacy",
"owasp-a6",
"sans-top25-porous",
"owasp-a3",
"owasp-m5"
"privacy"
],
"defaultSeverity": "Critical",
"ruleSpecification": "RSPEC-5547",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,7 @@
},
"tags": [
"cwe",
"privacy",
"owasp-a3"
"privacy"
],
"defaultSeverity": "Critical",
"ruleSpecification": "RSPEC-5659",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -13,5 +13,5 @@
"ruleSpecification": "RSPEC-6395",
"sqKey": "S6395",
"scope": "All",
"quickfix": "targeted"
"quickfix": "covered"
}
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"title": "Octal escape sequences should not be used in regular expressions.",
"title": "Octal escape sequences should not be used in regular expressions",
"type": "CODE_SMELL",
"status": "ready",
"remediation": {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -11,5 +11,5 @@
"ruleSpecification": "RSPEC-6538",
"sqKey": "S6538",
"scope": "All",
"quickfix": "unknown"
"quickfix": "partial"
}
Loading

0 comments on commit bb667e8

Please sign in to comment.