diff --git a/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S2089_java.html b/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S2089_java.html index 11f83275567..7fa42b8fdff 100644 --- a/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S2089_java.html +++ b/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S2089_java.html @@ -21,4 +21,6 @@

See

  • MITRE, CWE-293 - Using Referer Field for Authentication
  • SANS Top 25 - Porous Defenses
  • +

    Deprecated

    +

    This rule is deprecated, and will eventually be removed.

    diff --git a/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S2089_java.json b/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S2089_java.json index 16f5eff780d..2998883c992 100644 --- a/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S2089_java.json +++ b/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S2089_java.json @@ -1,27 +1,16 @@ { "title": "HTTP referers should not be relied on", "type": "VULNERABILITY", - "status": "ready", + "status": "deprecated", "remediation": { "func": "Constant\/Issue", "constantCost": "20min" }, "tags": [ - "cwe", - "sans-top25-porous", - "owasp-a2" + ], "defaultSeverity": "Critical", "ruleSpecification": "RSPEC-2089", "sqKey": "S2089", - "scope": "Main", - "securityStandards": { - "CWE": [ - 293, - 807 - ], - "OWASP": [ - "A2" - ] - } + "scope": "Main" }