Skip to content

Commit b79d4a9

Browse files
SONARJAVA-3700 Deprecate rule S2089
1 parent 4dbaead commit b79d4a9

File tree

2 files changed

+5
-14
lines changed

2 files changed

+5
-14
lines changed

java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S2089_java.html

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,4 +21,6 @@ <h2>See</h2>
2121
<li> <a href="http://cwe.mitre.org/data/definitions/293">MITRE, CWE-293</a> - Using Referer Field for Authentication </li>
2222
<li> <a href="https://www.sans.org/top25-software-errors/#cat3">SANS Top 25</a> - Porous Defenses </li>
2323
</ul>
24+
<h2>Deprecated</h2>
25+
<p>This rule is deprecated, and will eventually be removed.</p>
2426

Lines changed: 3 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -1,27 +1,16 @@
11
{
22
"title": "HTTP referers should not be relied on",
33
"type": "VULNERABILITY",
4-
"status": "ready",
4+
"status": "deprecated",
55
"remediation": {
66
"func": "Constant\/Issue",
77
"constantCost": "20min"
88
},
99
"tags": [
10-
"cwe",
11-
"sans-top25-porous",
12-
"owasp-a2"
10+
1311
],
1412
"defaultSeverity": "Critical",
1513
"ruleSpecification": "RSPEC-2089",
1614
"sqKey": "S2089",
17-
"scope": "Main",
18-
"securityStandards": {
19-
"CWE": [
20-
293,
21-
807
22-
],
23-
"OWASP": [
24-
"A2"
25-
]
26-
}
15+
"scope": "Main"
2716
}

0 commit comments

Comments
 (0)