Skip to content

Commit

Permalink
SONARJAVA-3699 Deprecate rule S2653
Browse files Browse the repository at this point in the history
  • Loading branch information
alban-auzeill authored and quentin-jaquier-sonarsource committed Feb 22, 2021
1 parent 3b1ad17 commit 4dbaead
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 16 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,9 @@ <h2>See</h2>
<ul>
<li> <a href="https://www.owasp.org/index.php/Top_10-2017_A3-Sensitive_Data_Exposure">OWASP Top 10 2017 Category A3</a> - Sensitive Data Exposure
</li>
<li> <a href="http://cwe.mitre.org/data/definitions/489.html">MITRE, CWE-489</a> - Leftover Debug Code </li>
<li> <a href="https://cwe.mitre.org/data/definitions/489.html">MITRE, CWE-489</a> - Leftover Debug Code </li>
<li> <a href="https://wiki.sei.cmu.edu/confluence/x/qzVGBQ">CERT, ENV06-J.</a> - Production code must not contain debugging entry points </li>
</ul>
<h2>Deprecated</h2>
<p>This rule is deprecated, and will eventually be removed.</p>

Original file line number Diff line number Diff line change
@@ -1,27 +1,16 @@
{
"title": "Web applications should not have a \"main\" method",
"type": "VULNERABILITY",
"status": "ready",
"status": "deprecated",
"remediation": {
"func": "Constant\/Issue",
"constantCost": "5min"
},
"tags": [
"cwe",
"cert",
"jee",
"owasp-a3"

],
"defaultSeverity": "Critical",
"ruleSpecification": "RSPEC-2653",
"sqKey": "S2653",
"scope": "Main",
"securityStandards": {
"CWE": [
489
],
"OWASP": [
"A3"
]
}
"scope": "Main"
}
Original file line number Diff line number Diff line change
Expand Up @@ -229,7 +229,6 @@
"S2638",
"S2639",
"S2647",
"S2653",
"S2674",
"S2675",
"S2676",
Expand Down

0 comments on commit 4dbaead

Please sign in to comment.