diff --git a/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S4508_java.html b/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S4508_java.html index 8d2eb45c1f3..87db2ced5f6 100644 --- a/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S4508_java.html +++ b/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S4508_java.html @@ -48,4 +48,6 @@
This rule is deprecated, and will eventually be removed.
diff --git a/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S4508_java.json b/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S4508_java.json index 8dff91f4a13..2a667910681 100644 --- a/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S4508_java.json +++ b/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S4508_java.json @@ -1,25 +1,16 @@ { "title": "Deserializing objects from an untrusted source is security-sensitive", "type": "SECURITY_HOTSPOT", - "status": "ready", + "status": "deprecated", "remediation": { "func": "Constant\/Issue", "constantCost": "15min" }, "tags": [ - "cwe", - "owasp-a8" + ], "defaultSeverity": "Critical", "ruleSpecification": "RSPEC-4508", "sqKey": "S4508", - "scope": "Main", - "securityStandards": { - "CWE": [ - 502 - ], - "OWASP": [ - "A8" - ] - } + "scope": "Main" } diff --git a/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S4510_java.html b/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S4510_java.html index 600962a5ba4..e4b10fcaaaa 100644 --- a/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S4510_java.html +++ b/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S4510_java.html @@ -36,4 +36,6 @@This rule is deprecated, and will eventually be removed.
diff --git a/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S4510_java.json b/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S4510_java.json index b79ccc3357c..0d15908b337 100644 --- a/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S4510_java.json +++ b/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S4510_java.json @@ -1,27 +1,16 @@ { "title": "Deserializing with XMLDecoder is security-sensitive", "type": "SECURITY_HOTSPOT", - "status": "ready", + "status": "deprecated", "remediation": { "func": "Constant\/Issue", "constantCost": "15min" }, "tags": [ - "cwe", - "owasp-a1", - "owasp-a8" + ], "defaultSeverity": "Critical", "ruleSpecification": "RSPEC-4510", "sqKey": "S4510", - "scope": "Main", - "securityStandards": { - "CWE": [ - 502 - ], - "OWASP": [ - "A1", - "A8" - ] - } + "scope": "Main" } diff --git a/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S4530_java.html b/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S4530_java.html index bd77ef09a82..2bc38bfe00f 100644 --- a/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S4530_java.html +++ b/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S4530_java.html @@ -38,4 +38,6 @@This rule is deprecated, and will eventually be removed.
diff --git a/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S4530_java.json b/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S4530_java.json index 84343d7469b..8c9173bb440 100644 --- a/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S4530_java.json +++ b/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S4530_java.json @@ -1,23 +1,16 @@ { "title": "Using Struts 1 ActionForm is security-sensitive", "type": "SECURITY_HOTSPOT", - "status": "ready", + "status": "deprecated", "remediation": { "func": "Constant\/Issue", "constantCost": "15min" }, "tags": [ - "cwe", - "owasp-a1", - "struts" + ], "defaultSeverity": "Major", "ruleSpecification": "RSPEC-4530", "sqKey": "S4530", - "scope": "Main", - "securityStandards": { - "OWASP": [ - "A1" - ] - } + "scope": "Main" } diff --git a/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S4531_java.html b/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S4531_java.html index 22303e45f00..1a632f92ebc 100644 --- a/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S4531_java.html +++ b/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S4531_java.html @@ -40,4 +40,6 @@This rule is deprecated, and will eventually be removed.
diff --git a/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S4531_java.json b/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S4531_java.json index 0b02258102c..18a53354c39 100644 --- a/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S4531_java.json +++ b/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S4531_java.json @@ -1,22 +1,16 @@ { "title": "Using setters in Struts 2 ActionSupport is security-sensitive", "type": "SECURITY_HOTSPOT", - "status": "ready", + "status": "deprecated", "remediation": { "func": "Constant\/Issue", "constantCost": "15min" }, "tags": [ - "owasp-a1", - "struts" + ], "defaultSeverity": "Major", "ruleSpecification": "RSPEC-4531", "sqKey": "S4531", - "scope": "Main", - "securityStandards": { - "OWASP": [ - "A1" - ] - } + "scope": "Main" } diff --git a/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S4818_java.html b/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S4818_java.html index 2f9f319e272..c786e0762ea 100644 --- a/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S4818_java.html +++ b/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S4818_java.html @@ -18,7 +18,7 @@You are at risk if you answered yes to any of these questions.
+There is a risk if you answered yes to any of those questions.
This rule is deprecated, and will eventually be removed.
diff --git a/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S4818_java.json b/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S4818_java.json index 68b0cf46f8d..9f4e0843ad0 100644 --- a/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S4818_java.json +++ b/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S4818_java.json @@ -1,25 +1,12 @@ { "title": "Using Sockets is security-sensitive", "type": "SECURITY_HOTSPOT", - "status": "ready", + "status": "deprecated", "tags": [ - "cwe", - "sans-top25-risky", - "sans-top25-porous", - "owasp-a3" + ], "defaultSeverity": "Critical", "ruleSpecification": "RSPEC-4818", "sqKey": "S4818", - "scope": "Main", - "securityStandards": { - "CWE": [ - 20, - 200, - 400 - ], - "OWASP": [ - "A3" - ] - } + "scope": "Main" } diff --git a/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S4823_java.html b/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S4823_java.html index 9499af3fe9c..2c4630e1d79 100644 --- a/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S4823_java.html +++ b/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S4823_java.html @@ -116,4 +116,6 @@This rule is deprecated, and will eventually be removed.
diff --git a/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S4823_java.json b/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S4823_java.json index 613caad9b5a..e6601a6198c 100644 --- a/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S4823_java.json +++ b/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S4823_java.json @@ -1,23 +1,12 @@ { "title": "Using command line arguments is security-sensitive", "type": "SECURITY_HOTSPOT", - "status": "ready", + "status": "deprecated", "tags": [ - "cwe", - "owasp-a1", - "sans-top25-insecure" + ], "defaultSeverity": "Critical", "ruleSpecification": "RSPEC-4823", "sqKey": "S4823", - "scope": "Main", - "securityStandards": { - "CWE": [ - 88, - 214 - ], - "OWASP": [ - "A1" - ] - } + "scope": "Main" } diff --git a/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S4829_java.html b/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S4829_java.html index 34a3d092426..cf464871ddf 100644 --- a/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S4829_java.html +++ b/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S4829_java.html @@ -41,4 +41,6 @@This rule is deprecated, and will eventually be removed.
diff --git a/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S4829_java.json b/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S4829_java.json index 2c84dee6732..56c25bda46f 100644 --- a/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S4829_java.json +++ b/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S4829_java.json @@ -1,17 +1,12 @@ { "title": "Reading the Standard Input is security-sensitive", "type": "SECURITY_HOTSPOT", - "status": "ready", + "status": "deprecated", "tags": [ - "cwe" + ], "defaultSeverity": "Critical", "ruleSpecification": "RSPEC-4829", "sqKey": "S4829", - "scope": "Main", - "securityStandards": { - "CWE": [ - 20 - ] - } + "scope": "Main" } diff --git a/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S5300_java.html b/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S5300_java.html index 5fc4c68e697..0b73a4b9df6 100644 --- a/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S5300_java.html +++ b/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S5300_java.html @@ -56,4 +56,6 @@This rule is deprecated, and will eventually be removed.
diff --git a/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S5300_java.json b/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S5300_java.json index 95eea24af05..36fc46eaf65 100644 --- a/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S5300_java.json +++ b/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S5300_java.json @@ -1,23 +1,12 @@ { "title": "Sending emails is security-sensitive", "type": "SECURITY_HOTSPOT", - "status": "ready", + "status": "deprecated", "tags": [ - "cwe", - "owasp-a1", - "sans-top25-insecure" + ], "defaultSeverity": "Critical", "ruleSpecification": "RSPEC-5300", "sqKey": "S5300", - "scope": "Main", - "securityStandards": { - "CWE": [ - 93, - 80 - ], - "OWASP": [ - "A1" - ] - } + "scope": "Main" } diff --git a/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S5304_java.html b/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S5304_java.html index 4d08570094b..de8469b0033 100644 --- a/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S5304_java.html +++ b/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S5304_java.html @@ -46,4 +46,6 @@This rule is deprecated, and will eventually be removed.
diff --git a/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S5304_java.json b/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S5304_java.json index 64ea92b6a75..cb2de137bf7 100644 --- a/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S5304_java.json +++ b/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S5304_java.json @@ -1,18 +1,12 @@ { "title": "Using environment variables is security-sensitive", "type": "SECURITY_HOTSPOT", - "status": "ready", + "status": "deprecated", "tags": [ - "cwe" + ], "defaultSeverity": "Critical", "ruleSpecification": "RSPEC-5304", "sqKey": "S5304", - "scope": "Main", - "securityStandards": { - "CWE": [ - 526, - 74 - ] - } + "scope": "Main" } diff --git a/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S5326_java.html b/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S5326_java.html index 83883636b10..e3c65fe8f57 100644 --- a/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S5326_java.html +++ b/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S5326_java.html @@ -62,4 +62,6 @@This rule is deprecated; use {rule:java:S4423}, {rule:java:S4830}, {rule:java:S5527} instead.
diff --git a/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S5326_java.json b/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S5326_java.json index 2378872c289..55bc5222d64 100644 --- a/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S5326_java.json +++ b/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S5326_java.json @@ -1,24 +1,12 @@ { "title": "Validating SSL\/TLS connections is security-sensitive", "type": "SECURITY_HOTSPOT", - "status": "ready", + "status": "deprecated", "tags": [ - "cwe", - "owasp-a6", - "sans-top25-porous", - "owasp-a3" + ], "defaultSeverity": "Critical", "ruleSpecification": "RSPEC-5326", "sqKey": "S5326", - "scope": "Main", - "securityStandards": { - "CWE": [ - 295 - ], - "OWASP": [ - "A6", - "A3" - ] - } + "scope": "Main" } diff --git a/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/Sonar_way_profile.json b/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/Sonar_way_profile.json index 91be71b025e..5cfe8a1dc5f 100644 --- a/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/Sonar_way_profile.json +++ b/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/Sonar_way_profile.json @@ -341,8 +341,6 @@ "S4488", "S4502", "S4507", - "S4508", - "S4510", "S4512", "S4517", "S4524", @@ -357,9 +355,6 @@ "S4784", "S4790", "S4792", - "S4818", - "S4823", - "S4829", "S4830", "S4834", "S4838", @@ -371,13 +366,10 @@ "S5122", "S5164", "S5261", - "S5300", "S5301", - "S5304", "S5320", "S5322", "S5324", - "S5326", "S5344", "S5361", "S5411",