diff --git a/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S100_java.json b/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S100_java.json index f2dd7bf21fe..d33ba174073 100644 --- a/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S100_java.json +++ b/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S100_java.json @@ -12,5 +12,6 @@ "defaultSeverity": "Minor", "ruleSpecification": "RSPEC-100", "sqKey": "S100", - "scope": "All" + "scope": "Main", + "quickfix": "unknown" } diff --git a/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S101_java.json b/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S101_java.json index 2872c881599..a3f372d5ec3 100644 --- a/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S101_java.json +++ b/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S101_java.json @@ -12,5 +12,6 @@ "defaultSeverity": "Minor", "ruleSpecification": "RSPEC-101", "sqKey": "S101", - "scope": "All" + "scope": "Main", + "quickfix": "unknown" } diff --git a/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S103_java.json b/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S103_java.json index bfa7666fda4..01e4e980438 100644 --- a/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S103_java.json +++ b/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S103_java.json @@ -12,5 +12,6 @@ "defaultSeverity": "Major", "ruleSpecification": "RSPEC-103", "sqKey": "S103", - "scope": "All" + "scope": "Main", + "quickfix": "unknown" } diff --git a/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S104_java.json b/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S104_java.json index 7381ba6d9d5..fb141bb6c4f 100644 --- a/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S104_java.json +++ b/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S104_java.json @@ -12,5 +12,6 @@ "defaultSeverity": "Major", "ruleSpecification": "RSPEC-104", "sqKey": "S104", - "scope": "All" + "scope": "Main", + "quickfix": "unknown" } diff --git a/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S105_java.json b/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S105_java.json index 55ae872059a..3ae3c256040 100644 --- a/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S105_java.json +++ b/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S105_java.json @@ -12,5 +12,6 @@ "defaultSeverity": "Minor", "ruleSpecification": "RSPEC-105", "sqKey": "S105", - "scope": "All" + "scope": "Main", + "quickfix": "unknown" } diff --git a/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S1065_java.json b/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S1065_java.json index 05eb7e95ace..ce9081e2001 100644 --- a/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S1065_java.json +++ b/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S1065_java.json @@ -14,6 +14,7 @@ "ruleSpecification": "RSPEC-1065", "sqKey": "S1065", "scope": "All", + "quickfix": "unknown", "securityStandards": { "CERT": [ "MSC12-C." diff --git a/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S1066_java.json b/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S1066_java.json index b0e3e270e11..16f59cf6f31 100644 --- a/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S1066_java.json +++ b/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S1066_java.json @@ -12,5 +12,6 @@ "defaultSeverity": "Major", "ruleSpecification": "RSPEC-1066", "sqKey": "S1066", - "scope": "All" + "scope": "Main", + "quickfix": "unknown" } diff --git a/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S1067_java.json b/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S1067_java.json index af935446797..97a5baaacb5 100644 --- a/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S1067_java.json +++ b/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S1067_java.json @@ -14,5 +14,6 @@ "defaultSeverity": "Critical", "ruleSpecification": "RSPEC-1067", "sqKey": "S1067", - "scope": "All" + "scope": "Main", + "quickfix": "unknown" } diff --git a/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S1068_java.json b/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S1068_java.json index 0b0d861d530..c34f31e143c 100644 --- a/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S1068_java.json +++ b/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S1068_java.json @@ -12,5 +12,6 @@ "defaultSeverity": "Major", "ruleSpecification": "RSPEC-1068", "sqKey": "S1068", - "scope": "All" + "scope": "All", + "quickfix": "covered" } diff --git a/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S106_java.json b/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S106_java.json index 0c7c3c591ba..642f48b50d5 100644 --- a/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S106_java.json +++ b/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S106_java.json @@ -16,11 +16,9 @@ "sqKey": "S106", "scope": "Main", "securityStandards": { - "OWASP": [ - "A3" - ], "CERT": [ "ERR02-J." ] - } + }, + "quickfix": "unknown" } diff --git a/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S1075_java.json b/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S1075_java.json index 5248c0cb905..f5881c71877 100644 --- a/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S1075_java.json +++ b/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S1075_java.json @@ -14,6 +14,7 @@ "ruleSpecification": "RSPEC-1075", "sqKey": "S1075", "scope": "Main", + "quickfix": "unknown", "securityStandards": { "CERT": [ "MSC03-J." diff --git a/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S107_java.json b/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S107_java.json index decdcda2611..23fe875e072 100644 --- a/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S107_java.json +++ b/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S107_java.json @@ -12,5 +12,6 @@ "defaultSeverity": "Major", "ruleSpecification": "RSPEC-107", "sqKey": "S107", - "scope": "All" + "scope": "Main", + "quickfix": "unknown" } diff --git a/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S108_java.json b/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S108_java.json index 00df66a88cc..4061cc7fe91 100644 --- a/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S108_java.json +++ b/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S108_java.json @@ -12,5 +12,6 @@ "defaultSeverity": "Major", "ruleSpecification": "RSPEC-108", "sqKey": "S108", - "scope": "All" + "scope": "Main", + "quickfix": "unknown" } diff --git a/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S109_java.json b/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S109_java.json index e53ba51879f..26ab639d525 100644 --- a/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S109_java.json +++ b/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S109_java.json @@ -12,5 +12,6 @@ "defaultSeverity": "Major", "ruleSpecification": "RSPEC-109", "sqKey": "S109", - "scope": "Main" + "scope": "Main", + "quickfix": "unknown" } diff --git a/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S1104_java.json b/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S1104_java.json index 1dad5d1a28e..5577d768ce1 100644 --- a/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S1104_java.json +++ b/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S1104_java.json @@ -11,11 +11,12 @@ ], "defaultSeverity": "Minor", "ruleSpecification": "RSPEC-1104", - "sqKey": "ClassVariableVisibilityCheck", + "sqKey": "S1104", "scope": "Main", "securityStandards": { "CWE": [ 493 ] - } + }, + "quickfix": "unknown" } diff --git a/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S1105_java.json b/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S1105_java.json index e5a91a869b0..4a9238354be 100644 --- a/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S1105_java.json +++ b/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S1105_java.json @@ -12,5 +12,6 @@ "defaultSeverity": "Minor", "ruleSpecification": "RSPEC-1105", "sqKey": "S1105", - "scope": "All" + "scope": "Main", + "quickfix": "unknown" } diff --git a/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S1106_java.json b/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S1106_java.json index b276399de5a..7ad8357b3de 100644 --- a/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S1106_java.json +++ b/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S1106_java.json @@ -11,6 +11,7 @@ ], "defaultSeverity": "Minor", "ruleSpecification": "RSPEC-1106", - "sqKey": "LeftCurlyBraceStartLineCheck", - "scope": "All" + "sqKey": "S1106", + "scope": "All", + "quickfix": "unknown" } diff --git a/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S1107_java.json b/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S1107_java.json index 39f5d400e99..e840b832bdd 100644 --- a/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S1107_java.json +++ b/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S1107_java.json @@ -11,6 +11,7 @@ ], "defaultSeverity": "Minor", "ruleSpecification": "RSPEC-1107", - "sqKey": "RightCurlyBraceSameLineAsNextBlockCheck", - "scope": "All" + "sqKey": "S1107", + "scope": "All", + "quickfix": "covered" } diff --git a/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S1108_java.json b/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S1108_java.json index 8ce98e9d512..6abe5f1a7f3 100644 --- a/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S1108_java.json +++ b/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S1108_java.json @@ -11,6 +11,7 @@ ], "defaultSeverity": "Minor", "ruleSpecification": "RSPEC-1108", - "sqKey": "RightCurlyBraceDifferentLineAsNextBlockCheck", - "scope": "All" + "sqKey": "S1108", + "scope": "All", + "quickfix": "unknown" } diff --git a/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S1109_java.json b/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S1109_java.json index 7dfbbb0b7be..c13b42531b3 100644 --- a/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S1109_java.json +++ b/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S1109_java.json @@ -12,5 +12,6 @@ "defaultSeverity": "Minor", "ruleSpecification": "RSPEC-1109", "sqKey": "S1109", - "scope": "All" + "scope": "All", + "quickfix": "unknown" } diff --git a/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S110_java.json b/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S110_java.json index 04b69bdc350..9756dde45c7 100644 --- a/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S110_java.json +++ b/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S110_java.json @@ -14,5 +14,6 @@ "defaultSeverity": "Major", "ruleSpecification": "RSPEC-110", "sqKey": "S110", - "scope": "All" + "scope": "All", + "quickfix": "unknown" } diff --git a/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S1110_java.json b/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S1110_java.json index d64788b56cf..c154ef1314d 100644 --- a/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S1110_java.json +++ b/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S1110_java.json @@ -12,5 +12,6 @@ "defaultSeverity": "Major", "ruleSpecification": "RSPEC-1110", "sqKey": "S1110", - "scope": "All" + "scope": "Main", + "quickfix": "unknown" } diff --git a/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S1111_java.json b/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S1111_java.json index db153e53e7f..8d1dd3651b3 100644 --- a/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S1111_java.json +++ b/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S1111_java.json @@ -12,7 +12,7 @@ ], "defaultSeverity": "Major", "ruleSpecification": "RSPEC-1111", - "sqKey": "ObjectFinalizeCheck", + "sqKey": "S1111", "scope": "Main", "securityStandards": { "CWE": [ @@ -21,5 +21,6 @@ "CERT": [ "MET12-J." ] - } + }, + "quickfix": "unknown" } diff --git a/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S1113_java.json b/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S1113_java.json index 78e033e8889..16cd7394ddd 100644 --- a/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S1113_java.json +++ b/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S1113_java.json @@ -12,11 +12,12 @@ ], "defaultSeverity": "Critical", "ruleSpecification": "RSPEC-1113", - "sqKey": "ObjectFinalizeOverridenCheck", + "sqKey": "S1113", "scope": "Main", "securityStandards": { "CERT": [ "MET12-J." ] - } + }, + "quickfix": "unknown" } diff --git a/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S1114_java.json b/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S1114_java.json index 57084b05a46..a123ee68766 100644 --- a/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S1114_java.json +++ b/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S1114_java.json @@ -12,7 +12,7 @@ ], "defaultSeverity": "Critical", "ruleSpecification": "RSPEC-1114", - "sqKey": "ObjectFinalizeOverridenCallsSuperFinalizeCheck", + "sqKey": "S1114", "scope": "All", "securityStandards": { "CWE": [ @@ -21,5 +21,6 @@ "CERT": [ "MET12-J." ] - } + }, + "quickfix": "unknown" } diff --git a/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S1116_java.json b/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S1116_java.json index 35c4b642041..48cd59643ad 100644 --- a/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S1116_java.json +++ b/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S1116_java.json @@ -13,7 +13,8 @@ "defaultSeverity": "Minor", "ruleSpecification": "RSPEC-1116", "sqKey": "S1116", - "scope": "All", + "scope": "Main", + "quickfix": "covered", "securityStandards": { "CERT": [ "MSC12-C.", diff --git a/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S1117_java.json b/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S1117_java.json index 2e248b1ea4d..9591e6f0ac5 100644 --- a/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S1117_java.json +++ b/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S1117_java.json @@ -14,7 +14,8 @@ "defaultSeverity": "Major", "ruleSpecification": "RSPEC-1117", "sqKey": "S1117", - "scope": "All", + "scope": "Main", + "quickfix": "unknown", "securityStandards": { "CERT": [ "DCL51-J.", diff --git a/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S1118_java.json b/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S1118_java.json index 0009899cff0..f1489e83d57 100644 --- a/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S1118_java.json +++ b/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S1118_java.json @@ -12,5 +12,6 @@ "defaultSeverity": "Major", "ruleSpecification": "RSPEC-1118", "sqKey": "S1118", - "scope": "All" + "scope": "All", + "quickfix": "unknown" } diff --git a/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S1119_java.json b/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S1119_java.json index f2cdb16bb4f..398942a7b55 100644 --- a/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S1119_java.json +++ b/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S1119_java.json @@ -11,6 +11,7 @@ ], "defaultSeverity": "Major", "ruleSpecification": "RSPEC-1119", - "sqKey": "LabelsShouldNotBeUsedCheck", - "scope": "All" + "sqKey": "S1119", + "scope": "Main", + "quickfix": "unknown" } diff --git a/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S1120_java.json b/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S1120_java.json index e6a7dc21718..9dcc3a06436 100644 --- a/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S1120_java.json +++ b/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S1120_java.json @@ -12,5 +12,6 @@ "defaultSeverity": "Minor", "ruleSpecification": "RSPEC-1120", "sqKey": "S1120", - "scope": "All" + "scope": "All", + "quickfix": "unknown" } diff --git a/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S1121_java.json b/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S1121_java.json index fc5809607de..8fca8887314 100644 --- a/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S1121_java.json +++ b/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S1121_java.json @@ -14,15 +14,13 @@ "defaultSeverity": "Major", "ruleSpecification": "RSPEC-1121", "sqKey": "S1121", - "scope": "All", + "scope": "Main", "securityStandards": { - "CWE": [ - 481 - ], "CERT": [ "EXP45-C.", "EXP51-J.", "EXP19-CPP." ] - } + }, + "quickfix": "unknown" } diff --git a/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S1123_java.html b/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S1123_java.html index a2353a3b3fb..663162d539c 100644 --- a/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S1123_java.html +++ b/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S1123_java.html @@ -1,24 +1,18 @@

Deprecation should be marked with both the @Deprecated annotation and @deprecated Javadoc tag. The annotation enables tools such as IDEs to warn about referencing deprecated elements, and the tag can be used to explain when it was deprecated, why, and how references should be refactored.

-

Further, Java 9 adds two additional arguments to the annotation:

- -

If your compile level is Java 9 or higher, you should be using one or both of these arguments.

Noncompliant Code Example

 class MyClass {
 
   @Deprecated
-  public void foo1() {
+  public void foo1() {    // Noncompliant: Add the missing @deprecated Javadoc tag.
   }
 
   /**
     * @deprecated
     */
-  public void foo2() {    // Noncompliant
+  public void foo2() {    // Noncompliant: Add the missing @Deprecated annotation.
   }
 
 }
@@ -34,22 +28,6 @@ 

Compliant Solution

public void foo1() { } - /** - * Java >= 9 - * @deprecated (when, why, refactoring advice...) - */ - @Deprecated(since="5.1") - public void foo2() { - } - - /** - * Java >= 9 - * @deprecated (when, why, refactoring advice...) - */ - @Deprecated(since="4.2", forRemoval=true) - public void foo3() { - } - }

Exceptions

diff --git a/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S1123_java.json b/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S1123_java.json index 091f7605d16..5da43240c1e 100644 --- a/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S1123_java.json +++ b/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S1123_java.json @@ -13,5 +13,6 @@ "defaultSeverity": "Major", "ruleSpecification": "RSPEC-1123", "sqKey": "S1123", - "scope": "All" + "scope": "All", + "quickfix": "unknown" } diff --git a/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S1124_java.html b/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S1124_java.html index 0bfa52a19b5..f0760bab026 100644 --- a/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S1124_java.html +++ b/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S1124_java.html @@ -11,6 +11,7 @@
  • volatile
  • synchronized
  • native
  • +
  • default
  • strictfp
  • Not following this convention has no technical impact, but will reduce the code’s readability because most developers are used to the standard diff --git a/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S1124_java.json b/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S1124_java.json index d5562250e25..29f05f3d0de 100644 --- a/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S1124_java.json +++ b/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S1124_java.json @@ -11,6 +11,7 @@ ], "defaultSeverity": "Minor", "ruleSpecification": "RSPEC-1124", - "sqKey": "ModifiersOrderCheck", - "scope": "All" + "sqKey": "S1124", + "scope": "All", + "quickfix": "covered" } diff --git a/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S1125_java.json b/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S1125_java.json index 69a2c01f1cc..36280de89aa 100644 --- a/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S1125_java.json +++ b/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S1125_java.json @@ -12,5 +12,6 @@ "defaultSeverity": "Minor", "ruleSpecification": "RSPEC-1125", "sqKey": "S1125", - "scope": "All" + "scope": "Main", + "quickfix": "partial" } diff --git a/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S1126_java.json b/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S1126_java.json index a87b1aae05e..34aa78b2eda 100644 --- a/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S1126_java.json +++ b/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S1126_java.json @@ -12,5 +12,6 @@ "defaultSeverity": "Minor", "ruleSpecification": "RSPEC-1126", "sqKey": "S1126", - "scope": "All" + "scope": "Main", + "quickfix": "unknown" } diff --git a/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S1128_java.json b/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S1128_java.json index b5b6dbbbb0f..4a7b949c41c 100644 --- a/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S1128_java.json +++ b/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S1128_java.json @@ -11,6 +11,7 @@ ], "defaultSeverity": "Minor", "ruleSpecification": "RSPEC-1128", - "sqKey": "UselessImportCheck", - "scope": "All" + "sqKey": "S1128", + "scope": "Main", + "quickfix": "covered" } diff --git a/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S112_java.json b/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S112_java.json index b02c9f59710..7f3e423090b 100644 --- a/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S112_java.json +++ b/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S112_java.json @@ -16,11 +16,9 @@ "sqKey": "S112", "scope": "Main", "securityStandards": { - "CWE": [ - 397 - ], "CERT": [ "ERR07-J." ] - } + }, + "quickfix": "unknown" } diff --git a/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S1130_java.json b/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S1130_java.json index 5563ec7c2e2..c362bb7794f 100644 --- a/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S1130_java.json +++ b/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S1130_java.json @@ -14,6 +14,7 @@ ], "defaultSeverity": "Minor", "ruleSpecification": "RSPEC-1130", - "sqKey": "RedundantThrowsDeclarationCheck", - "scope": "All" + "sqKey": "S1130", + "scope": "All", + "quickfix": "covered" } diff --git a/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S1132_java.json b/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S1132_java.json index 08447367e7d..26b50bfa210 100644 --- a/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S1132_java.json +++ b/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S1132_java.json @@ -12,5 +12,6 @@ "defaultSeverity": "Minor", "ruleSpecification": "RSPEC-1132", "sqKey": "S1132", - "scope": "All" + "scope": "All", + "quickfix": "unknown" } diff --git a/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S1133_java.json b/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S1133_java.json index dd6edf42681..df8aa39d333 100644 --- a/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S1133_java.json +++ b/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S1133_java.json @@ -12,5 +12,6 @@ "defaultSeverity": "Info", "ruleSpecification": "RSPEC-1133", "sqKey": "S1133", - "scope": "All" + "scope": "All", + "quickfix": "unknown" } diff --git a/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S1134_java.json b/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S1134_java.json index ebf8149c013..d4579b29bd9 100644 --- a/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S1134_java.json +++ b/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S1134_java.json @@ -12,10 +12,11 @@ "defaultSeverity": "Major", "ruleSpecification": "RSPEC-1134", "sqKey": "S1134", - "scope": "All", + "scope": "Main", "securityStandards": { "CWE": [ 546 ] - } + }, + "quickfix": "unknown" } diff --git a/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S1135_java.json b/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S1135_java.json index 651fb0d171d..13b7655e993 100644 --- a/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S1135_java.json +++ b/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S1135_java.json @@ -12,10 +12,11 @@ "defaultSeverity": "Info", "ruleSpecification": "RSPEC-1135", "sqKey": "S1135", - "scope": "All", + "scope": "Main", "securityStandards": { "CWE": [ 546 ] - } + }, + "quickfix": "unknown" } diff --git a/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S113_java.json b/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S113_java.json index 104eb8ac172..12bc3b90c9b 100644 --- a/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S113_java.json +++ b/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S113_java.json @@ -12,5 +12,6 @@ "defaultSeverity": "Minor", "ruleSpecification": "RSPEC-113", "sqKey": "S113", - "scope": "All" + "scope": "Main", + "quickfix": "unknown" } diff --git a/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S1141_java.json b/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S1141_java.json index 67d638b596c..f9995f7b8f3 100644 --- a/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S1141_java.json +++ b/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S1141_java.json @@ -13,5 +13,6 @@ "defaultSeverity": "Major", "ruleSpecification": "RSPEC-1141", "sqKey": "S1141", - "scope": "All" + "scope": "All", + "quickfix": "unknown" } diff --git a/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S1142_java.json b/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S1142_java.json index 19dbb775f12..92de614aa80 100644 --- a/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S1142_java.json +++ b/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S1142_java.json @@ -12,5 +12,6 @@ "defaultSeverity": "Major", "ruleSpecification": "RSPEC-1142", "sqKey": "S1142", - "scope": "Main" + "scope": "Main", + "quickfix": "unknown" } diff --git a/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S1143_java.json b/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S1143_java.json index 178dbb93de0..6de466bda24 100644 --- a/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S1143_java.json +++ b/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S1143_java.json @@ -14,13 +14,11 @@ "defaultSeverity": "Critical", "ruleSpecification": "RSPEC-1143", "sqKey": "S1143", - "scope": "All", + "scope": "Main", "securityStandards": { - "CWE": [ - 584 - ], "CERT": [ "ERR04-J." ] - } + }, + "quickfix": "unknown" } diff --git a/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S1144_java.json b/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S1144_java.json index 72a1c3a732e..1d713343b08 100644 --- a/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S1144_java.json +++ b/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S1144_java.json @@ -12,5 +12,6 @@ "defaultSeverity": "Major", "ruleSpecification": "RSPEC-1144", "sqKey": "S1144", - "scope": "All" + "scope": "All", + "quickfix": "covered" } diff --git a/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S1147_java.json b/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S1147_java.json index 6adbcf98ad7..b57c24c72cf 100644 --- a/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S1147_java.json +++ b/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S1147_java.json @@ -16,11 +16,9 @@ "sqKey": "S1147", "scope": "Main", "securityStandards": { - "CWE": [ - 382 - ], "CERT": [ "ERR09-J." ] - } + }, + "quickfix": "unknown" } diff --git a/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S1149_java.json b/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S1149_java.json index e7d891fdf50..10a7b2a7007 100644 --- a/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S1149_java.json +++ b/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S1149_java.json @@ -12,5 +12,6 @@ "defaultSeverity": "Major", "ruleSpecification": "RSPEC-1149", "sqKey": "S1149", - "scope": "Main" + "scope": "Main", + "quickfix": "unknown" } diff --git a/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S114_java.json b/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S114_java.json index cc2e712089c..89ce121f7ff 100644 --- a/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S114_java.json +++ b/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S114_java.json @@ -12,5 +12,6 @@ "defaultSeverity": "Minor", "ruleSpecification": "RSPEC-114", "sqKey": "S114", - "scope": "All" + "scope": "All", + "quickfix": "unknown" } diff --git a/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S1150_java.json b/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S1150_java.json index fa50c25193d..90153f03db9 100644 --- a/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S1150_java.json +++ b/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S1150_java.json @@ -12,5 +12,6 @@ "defaultSeverity": "Major", "ruleSpecification": "RSPEC-1150", "sqKey": "S1150", - "scope": "Main" + "scope": "Main", + "quickfix": "unknown" } diff --git a/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S1151_java.json b/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S1151_java.json index fdd2a8e56d6..36d0216c17d 100644 --- a/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S1151_java.json +++ b/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S1151_java.json @@ -12,5 +12,6 @@ "defaultSeverity": "Major", "ruleSpecification": "RSPEC-1151", "sqKey": "S1151", - "scope": "Main" + "scope": "Main", + "quickfix": "unknown" } diff --git a/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S1153_java.json b/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S1153_java.json index cc8f66e1913..2f74fa2d401 100644 --- a/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S1153_java.json +++ b/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S1153_java.json @@ -12,5 +12,6 @@ "defaultSeverity": "Minor", "ruleSpecification": "RSPEC-1153", "sqKey": "S1153", - "scope": "All" + "scope": "All", + "quickfix": "unknown" } diff --git a/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S1155_java.json b/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S1155_java.json index d0fd4ec5a2b..e82847bc4b8 100644 --- a/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S1155_java.json +++ b/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S1155_java.json @@ -12,5 +12,6 @@ "defaultSeverity": "Minor", "ruleSpecification": "RSPEC-1155", "sqKey": "S1155", - "scope": "All" + "scope": "All", + "quickfix": "covered" } diff --git a/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S1157_java.json b/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S1157_java.json index ee652931c91..d03b12a40df 100644 --- a/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S1157_java.json +++ b/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S1157_java.json @@ -12,5 +12,6 @@ "defaultSeverity": "Minor", "ruleSpecification": "RSPEC-1157", "sqKey": "S1157", - "scope": "All" + "scope": "All", + "quickfix": "unknown" } diff --git a/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S1158_java.json b/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S1158_java.json index cd297844e24..dc4709b40ce 100644 --- a/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S1158_java.json +++ b/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S1158_java.json @@ -12,5 +12,6 @@ "defaultSeverity": "Minor", "ruleSpecification": "RSPEC-1158", "sqKey": "S1158", - "scope": "All" + "scope": "All", + "quickfix": "unknown" } diff --git a/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S115_java.json b/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S115_java.json index a38c0af14dd..4fb6e0f7b53 100644 --- a/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S115_java.json +++ b/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S115_java.json @@ -12,5 +12,6 @@ "defaultSeverity": "Critical", "ruleSpecification": "RSPEC-115", "sqKey": "S115", - "scope": "All" + "scope": "All", + "quickfix": "unknown" } diff --git a/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S1160_java.json b/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S1160_java.json index cac4d2f3d99..509ec7b730a 100644 --- a/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S1160_java.json +++ b/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S1160_java.json @@ -12,5 +12,6 @@ "defaultSeverity": "Major", "ruleSpecification": "RSPEC-1160", "sqKey": "S1160", - "scope": "Main" + "scope": "Main", + "quickfix": "unknown" } diff --git a/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S1161_java.json b/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S1161_java.json index 014af43268c..b2fbc88b264 100644 --- a/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S1161_java.json +++ b/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S1161_java.json @@ -12,5 +12,6 @@ "defaultSeverity": "Major", "ruleSpecification": "RSPEC-1161", "sqKey": "S1161", - "scope": "All" + "scope": "All", + "quickfix": "covered" } diff --git a/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S1162_java.json b/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S1162_java.json index 0ca6200d96b..e24e2fb94ec 100644 --- a/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S1162_java.json +++ b/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S1162_java.json @@ -12,5 +12,6 @@ "defaultSeverity": "Major", "ruleSpecification": "RSPEC-1162", "sqKey": "S1162", - "scope": "Main" + "scope": "Main", + "quickfix": "unknown" } diff --git a/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S1163_java.json b/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S1163_java.json index bffc2ba68de..b63aaea0083 100644 --- a/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S1163_java.json +++ b/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S1163_java.json @@ -15,6 +15,7 @@ "ruleSpecification": "RSPEC-1163", "sqKey": "S1163", "scope": "Main", + "quickfix": "unknown", "securityStandards": { "CERT": [ "ERR05-J." diff --git a/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S1165_java.json b/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S1165_java.json index bfaf62bd0f3..2c2e1b35e07 100644 --- a/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S1165_java.json +++ b/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S1165_java.json @@ -12,5 +12,6 @@ "defaultSeverity": "Minor", "ruleSpecification": "RSPEC-1165", "sqKey": "S1165", - "scope": "All" + "scope": "All", + "quickfix": "unknown" } diff --git a/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S1166_java.json b/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S1166_java.json index 39c93465f50..6f4167c4f51 100644 --- a/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S1166_java.json +++ b/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S1166_java.json @@ -18,14 +18,9 @@ "sqKey": "S1166", "scope": "Main", "securityStandards": { - "CWE": [ - 778 - ], - "OWASP": [ - "A10" - ], "CERT": [ "ERR00-J." ] - } + }, + "quickfix": "unknown" } diff --git a/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S1168_java.json b/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S1168_java.json index 6c6f3c74793..00b2b3cf52b 100644 --- a/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S1168_java.json +++ b/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S1168_java.json @@ -13,6 +13,7 @@ "ruleSpecification": "RSPEC-1168", "sqKey": "S1168", "scope": "Main", + "quickfix": "partial", "securityStandards": { "CERT": [ "MSC19-C.", diff --git a/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S116_java.json b/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S116_java.json index 2f4c5bf1718..e49795d4771 100644 --- a/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S116_java.json +++ b/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S116_java.json @@ -12,5 +12,6 @@ "defaultSeverity": "Minor", "ruleSpecification": "RSPEC-116", "sqKey": "S116", - "scope": "All" + "scope": "All", + "quickfix": "unknown" } diff --git a/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S1170_java.json b/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S1170_java.json index ff97d64c1fc..1991ff9fd97 100644 --- a/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S1170_java.json +++ b/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S1170_java.json @@ -12,5 +12,6 @@ "defaultSeverity": "Minor", "ruleSpecification": "RSPEC-1170", "sqKey": "S1170", - "scope": "All" + "scope": "All", + "quickfix": "unknown" } diff --git a/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S1171_java.json b/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S1171_java.json index bc5326431c7..c3b22a73edb 100644 --- a/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S1171_java.json +++ b/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S1171_java.json @@ -12,5 +12,6 @@ "defaultSeverity": "Major", "ruleSpecification": "RSPEC-1171", "sqKey": "S1171", - "scope": "All" + "scope": "All", + "quickfix": "unknown" } diff --git a/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S1172_java.json b/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S1172_java.json index a1ab3848433..141c167357a 100644 --- a/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S1172_java.json +++ b/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S1172_java.json @@ -13,7 +13,8 @@ "defaultSeverity": "Major", "ruleSpecification": "RSPEC-1172", "sqKey": "S1172", - "scope": "All", + "scope": "Main", + "quickfix": "covered", "securityStandards": { "CERT": [ "MSC12-C." diff --git a/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S1174_java.json b/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S1174_java.json index 0214f535160..8e09d1948ba 100644 --- a/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S1174_java.json +++ b/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S1174_java.json @@ -21,5 +21,6 @@ "CERT": [ "MET12-J." ] - } + }, + "quickfix": "unknown" } diff --git a/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S1175_java.json b/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S1175_java.json index 9667cbdfc02..b8781fe8421 100644 --- a/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S1175_java.json +++ b/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S1175_java.json @@ -12,5 +12,6 @@ "defaultSeverity": "Critical", "ruleSpecification": "RSPEC-1175", "sqKey": "S1175", - "scope": "Main" + "scope": "Main", + "quickfix": "unknown" } diff --git a/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S1176_java.json b/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S1176_java.json index aeb93d83c1c..d80a7834739 100644 --- a/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S1176_java.json +++ b/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S1176_java.json @@ -11,6 +11,7 @@ ], "defaultSeverity": "Major", "ruleSpecification": "RSPEC-1176", - "sqKey": "UndocumentedApi", - "scope": "All" + "sqKey": "S1176", + "scope": "All", + "quickfix": "unknown" } diff --git a/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S117_java.json b/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S117_java.json index e2954865d6a..7b14a281506 100644 --- a/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S117_java.json +++ b/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S117_java.json @@ -12,5 +12,6 @@ "defaultSeverity": "Minor", "ruleSpecification": "RSPEC-117", "sqKey": "S117", - "scope": "All" + "scope": "Main", + "quickfix": "unknown" } diff --git a/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S1181_java.json b/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S1181_java.json index 6113ebd8518..8a924c1fe85 100644 --- a/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S1181_java.json +++ b/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S1181_java.json @@ -23,5 +23,6 @@ "CERT": [ "ERR08-J." ] - } + }, + "quickfix": "unknown" } diff --git a/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S1182_java.json b/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S1182_java.json index 3ce3a4307af..90e0930fbfa 100644 --- a/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S1182_java.json +++ b/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S1182_java.json @@ -22,5 +22,6 @@ "CERT": [ "MET53-J." ] - } + }, + "quickfix": "unknown" } diff --git a/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S1185_java.json b/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S1185_java.json index 68d2fb5718a..9a7f42f19a0 100644 --- a/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S1185_java.json +++ b/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S1185_java.json @@ -13,5 +13,6 @@ "defaultSeverity": "Minor", "ruleSpecification": "RSPEC-1185", "sqKey": "S1185", - "scope": "All" + "scope": "All", + "quickfix": "unknown" } diff --git a/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S1186_java.json b/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S1186_java.json index a310663c19c..0a485134ceb 100644 --- a/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S1186_java.json +++ b/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S1186_java.json @@ -12,5 +12,6 @@ "defaultSeverity": "Critical", "ruleSpecification": "RSPEC-1186", "sqKey": "S1186", - "scope": "All" + "scope": "Main", + "quickfix": "covered" } diff --git a/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S1188_java.json b/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S1188_java.json index f397ca7c888..ee57438e767 100644 --- a/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S1188_java.json +++ b/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S1188_java.json @@ -10,5 +10,6 @@ "defaultSeverity": "Major", "ruleSpecification": "RSPEC-1188", "sqKey": "S1188", - "scope": "Main" + "scope": "Main", + "quickfix": "unknown" } diff --git a/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S118_java.json b/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S118_java.json index 27a45cfe7c3..7cfdfaa88be 100644 --- a/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S118_java.json +++ b/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S118_java.json @@ -12,5 +12,6 @@ "defaultSeverity": "Minor", "ruleSpecification": "RSPEC-118", "sqKey": "S118", - "scope": "All" + "scope": "All", + "quickfix": "unknown" } diff --git a/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S1190_java.json b/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S1190_java.json index 5fde3b2e947..d53f87578d9 100644 --- a/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S1190_java.json +++ b/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S1190_java.json @@ -13,5 +13,6 @@ "defaultSeverity": "Blocker", "ruleSpecification": "RSPEC-1190", "sqKey": "S1190", - "scope": "All" + "scope": "All", + "quickfix": "unknown" } diff --git a/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S1191_java.json b/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S1191_java.json index dcb16c6d219..41a6fc8450c 100644 --- a/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S1191_java.json +++ b/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S1191_java.json @@ -14,5 +14,6 @@ "defaultSeverity": "Major", "ruleSpecification": "RSPEC-1191", "sqKey": "S1191", - "scope": "All" + "scope": "All", + "quickfix": "unknown" } diff --git a/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S1192_java.json b/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S1192_java.json index dedd32b5ba3..e42fac08c17 100644 --- a/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S1192_java.json +++ b/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S1192_java.json @@ -14,5 +14,6 @@ "defaultSeverity": "Critical", "ruleSpecification": "RSPEC-1192", "sqKey": "S1192", - "scope": "Main" + "scope": "Main", + "quickfix": "unknown" } diff --git a/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S1193_java.json b/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S1193_java.json index 4d779ff745e..f8cb273f228 100644 --- a/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S1193_java.json +++ b/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S1193_java.json @@ -19,5 +19,6 @@ "CERT": [ "ERR51-J." ] - } + }, + "quickfix": "unknown" } diff --git a/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S1194_java.json b/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S1194_java.json index ead756b2a5c..80fcaf55221 100644 --- a/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S1194_java.json +++ b/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S1194_java.json @@ -12,5 +12,6 @@ "defaultSeverity": "Major", "ruleSpecification": "RSPEC-1194", "sqKey": "S1194", - "scope": "Main" + "scope": "Main", + "quickfix": "unknown" } diff --git a/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S1195_java.json b/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S1195_java.json index 97aa80ce335..5f230badc3d 100644 --- a/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S1195_java.json +++ b/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S1195_java.json @@ -12,5 +12,6 @@ "defaultSeverity": "Minor", "ruleSpecification": "RSPEC-1195", "sqKey": "S1195", - "scope": "All" + "scope": "All", + "quickfix": "covered" } diff --git a/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S1197_java.json b/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S1197_java.json index d2f85d0c43d..c7643a413c9 100644 --- a/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S1197_java.json +++ b/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S1197_java.json @@ -12,5 +12,6 @@ "defaultSeverity": "Minor", "ruleSpecification": "RSPEC-1197", "sqKey": "S1197", - "scope": "All" + "scope": "All", + "quickfix": "partial" } diff --git a/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S1199_java.json b/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S1199_java.json index 7ef8ce0e56d..6aa41d9a06f 100644 --- a/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S1199_java.json +++ b/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S1199_java.json @@ -12,5 +12,6 @@ "defaultSeverity": "Minor", "ruleSpecification": "RSPEC-1199", "sqKey": "S1199", - "scope": "All" + "scope": "All", + "quickfix": "unknown" } diff --git a/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S119_java.json b/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S119_java.json index c9b33bf14be..e061ba1789f 100644 --- a/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S119_java.json +++ b/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S119_java.json @@ -12,5 +12,6 @@ "defaultSeverity": "Minor", "ruleSpecification": "RSPEC-119", "sqKey": "S119", - "scope": "All" + "scope": "All", + "quickfix": "unknown" } diff --git a/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S1200_java.json b/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S1200_java.json index 599c22fec00..7cb9ae9e77c 100644 --- a/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S1200_java.json +++ b/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S1200_java.json @@ -12,5 +12,6 @@ "defaultSeverity": "Major", "ruleSpecification": "RSPEC-1200", "sqKey": "S1200", - "scope": "Main" + "scope": "Main", + "quickfix": "unknown" } diff --git a/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S1201_java.json b/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S1201_java.json index 1f0d77faf6f..1ab83e51f05 100644 --- a/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S1201_java.json +++ b/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S1201_java.json @@ -12,5 +12,6 @@ "defaultSeverity": "Major", "ruleSpecification": "RSPEC-1201", "sqKey": "S1201", - "scope": "All" + "scope": "All", + "quickfix": "unknown" } diff --git a/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S1206_java.json b/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S1206_java.json index 49f8859dbbb..65fd0105dac 100644 --- a/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S1206_java.json +++ b/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S1206_java.json @@ -15,11 +15,9 @@ "sqKey": "S1206", "scope": "Main", "securityStandards": { - "CWE": [ - 581 - ], "CERT": [ "MET09-J." ] - } + }, + "quickfix": "unknown" } diff --git a/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S120_java.json b/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S120_java.json index bdc58c8617f..f7f0e998843 100644 --- a/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S120_java.json +++ b/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S120_java.json @@ -12,5 +12,6 @@ "defaultSeverity": "Minor", "ruleSpecification": "RSPEC-120", "sqKey": "S120", - "scope": "All" + "scope": "All", + "quickfix": "unknown" } diff --git a/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S1210_java.json b/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S1210_java.json index f431876996d..8a9c4c2c4f1 100644 --- a/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S1210_java.json +++ b/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S1210_java.json @@ -10,5 +10,6 @@ "defaultSeverity": "Minor", "ruleSpecification": "RSPEC-1210", "sqKey": "S1210", - "scope": "Main" + "scope": "Main", + "quickfix": "unknown" } diff --git a/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S1213_java.json b/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S1213_java.json index b128a6865b5..9e9bf5ddce4 100644 --- a/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S1213_java.json +++ b/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S1213_java.json @@ -12,5 +12,6 @@ "defaultSeverity": "Minor", "ruleSpecification": "RSPEC-1213", "sqKey": "S1213", - "scope": "All" + "scope": "All", + "quickfix": "unknown" } diff --git a/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S1214_java.json b/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S1214_java.json index 02811da011c..9d3293c1455 100644 --- a/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S1214_java.json +++ b/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S1214_java.json @@ -12,5 +12,6 @@ "defaultSeverity": "Critical", "ruleSpecification": "RSPEC-1214", "sqKey": "S1214", - "scope": "All" + "scope": "All", + "quickfix": "unknown" } diff --git a/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S1215_java.json b/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S1215_java.json index 55c04f8daf4..3f724994cbc 100644 --- a/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S1215_java.json +++ b/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S1215_java.json @@ -13,5 +13,6 @@ "defaultSeverity": "Critical", "ruleSpecification": "RSPEC-1215", "sqKey": "S1215", - "scope": "All" + "scope": "All", + "quickfix": "unknown" } diff --git a/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S1217_java.json b/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S1217_java.json index 13c27c9e5c8..f2122cb0590 100644 --- a/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S1217_java.json +++ b/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S1217_java.json @@ -22,5 +22,6 @@ "CERT": [ "THI00-J." ] - } + }, + "quickfix": "unknown" } diff --git a/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S1219_java.json b/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S1219_java.json index 71e10a05a47..16a8f5458b4 100644 --- a/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S1219_java.json +++ b/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S1219_java.json @@ -12,5 +12,6 @@ "defaultSeverity": "Blocker", "ruleSpecification": "RSPEC-1219", "sqKey": "S1219", - "scope": "All" + "scope": "Main", + "quickfix": "unknown" } diff --git a/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S121_java.json b/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S121_java.json index 55978f81615..8b095225623 100644 --- a/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S121_java.json +++ b/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S121_java.json @@ -13,7 +13,8 @@ "defaultSeverity": "Critical", "ruleSpecification": "RSPEC-121", "sqKey": "S121", - "scope": "All", + "scope": "Main", + "quickfix": "unknown", "securityStandards": { "CERT": [ "EXP19-C.", diff --git a/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S1220_java.json b/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S1220_java.json index b8c95ed1d08..a2c69b59fce 100644 --- a/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S1220_java.json +++ b/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S1220_java.json @@ -12,5 +12,6 @@ "defaultSeverity": "Minor", "ruleSpecification": "RSPEC-1220", "sqKey": "S1220", - "scope": "All" + "scope": "All", + "quickfix": "unknown" } diff --git a/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S1221_java.json b/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S1221_java.json index 08ee8bf340d..e7b4a16a9fc 100644 --- a/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S1221_java.json +++ b/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S1221_java.json @@ -12,5 +12,6 @@ "defaultSeverity": "Major", "ruleSpecification": "RSPEC-1221", "sqKey": "S1221", - "scope": "All" + "scope": "All", + "quickfix": "unknown" } diff --git a/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S1223_java.json b/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S1223_java.json index 58d3eac0cae..99c689a7ee4 100644 --- a/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S1223_java.json +++ b/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S1223_java.json @@ -12,5 +12,6 @@ "defaultSeverity": "Major", "ruleSpecification": "RSPEC-1223", "sqKey": "S1223", - "scope": "All" + "scope": "All", + "quickfix": "unknown" } diff --git a/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S1226_java.json b/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S1226_java.json index 4d99d277e1c..20b25ed1da7 100644 --- a/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S1226_java.json +++ b/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S1226_java.json @@ -10,5 +10,6 @@ "defaultSeverity": "Minor", "ruleSpecification": "RSPEC-1226", "sqKey": "S1226", - "scope": "All" + "scope": "Main", + "quickfix": "unknown" } diff --git a/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S1228_java.json b/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S1228_java.json index fed8a7c3848..5b91c06a6db 100644 --- a/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S1228_java.json +++ b/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S1228_java.json @@ -12,5 +12,6 @@ "defaultSeverity": "Minor", "ruleSpecification": "RSPEC-1228", "sqKey": "S1228", - "scope": "Main" + "scope": "Main", + "quickfix": "unknown" } diff --git a/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S122_java.json b/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S122_java.json index 02e5895513b..c2fbeb76801 100644 --- a/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S122_java.json +++ b/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S122_java.json @@ -12,5 +12,6 @@ "defaultSeverity": "Major", "ruleSpecification": "RSPEC-122", "sqKey": "S122", - "scope": "All" + "scope": "Main", + "quickfix": "unknown" } diff --git a/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S1244_java.json b/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S1244_java.json index 6fc79c4319d..aa5806a510d 100644 --- a/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S1244_java.json +++ b/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S1244_java.json @@ -10,5 +10,6 @@ "defaultSeverity": "Major", "ruleSpecification": "RSPEC-1244", "sqKey": "S1244", - "scope": "All" + "scope": "All", + "quickfix": "unknown" } diff --git a/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S124_java.json b/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S124_java.json index 1d73db57b69..6512668d477 100644 --- a/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S124_java.json +++ b/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S124_java.json @@ -10,5 +10,6 @@ "defaultSeverity": "Major", "ruleSpecification": "RSPEC-124", "sqKey": "S124", - "scope": "Main" + "scope": "Main", + "quickfix": "unknown" } diff --git a/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S1258_java.json b/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S1258_java.json index 03285f4e1e4..cb2fc3b2dc9 100644 --- a/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S1258_java.json +++ b/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S1258_java.json @@ -12,5 +12,6 @@ "defaultSeverity": "Major", "ruleSpecification": "RSPEC-1258", "sqKey": "S1258", - "scope": "All" + "scope": "All", + "quickfix": "unknown" } diff --git a/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S125_java.json b/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S125_java.json index 81617e679fe..e6bd6e3ddf4 100644 --- a/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S125_java.json +++ b/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S125_java.json @@ -12,5 +12,6 @@ "defaultSeverity": "Major", "ruleSpecification": "RSPEC-125", "sqKey": "S125", - "scope": "All" + "scope": "Main", + "quickfix": "unknown" } diff --git a/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S1264_java.json b/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S1264_java.json index 6c78f29ca7d..f28e97a9b29 100644 --- a/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S1264_java.json +++ b/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S1264_java.json @@ -12,5 +12,6 @@ "defaultSeverity": "Minor", "ruleSpecification": "RSPEC-1264", "sqKey": "S1264", - "scope": "All" + "scope": "Main", + "quickfix": "unknown" } diff --git a/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S126_java.json b/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S126_java.json index 82079367df9..d1d19f289f5 100644 --- a/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S126_java.json +++ b/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S126_java.json @@ -12,7 +12,8 @@ "defaultSeverity": "Critical", "ruleSpecification": "RSPEC-126", "sqKey": "S126", - "scope": "All", + "scope": "Main", + "quickfix": "unknown", "securityStandards": { "CERT": [ "MSC01-C.", diff --git a/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S127_java.json b/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S127_java.json index 1a0033433c5..fb5a9e8964d 100644 --- a/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S127_java.json +++ b/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S127_java.json @@ -12,5 +12,6 @@ "defaultSeverity": "Major", "ruleSpecification": "RSPEC-127", "sqKey": "S127", - "scope": "All" + "scope": "All", + "quickfix": "unknown" } diff --git a/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S128_java.json b/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S128_java.json index 56f8954bfab..02a42f8e2af 100644 --- a/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S128_java.json +++ b/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S128_java.json @@ -14,14 +14,12 @@ "defaultSeverity": "Blocker", "ruleSpecification": "RSPEC-128", "sqKey": "S128", - "scope": "All", + "scope": "Main", "securityStandards": { - "CWE": [ - 484 - ], "CERT": [ "MSC17-C.", "MSC52-J." ] - } + }, + "quickfix": "unknown" } diff --git a/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S1291_java.json b/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S1291_java.json index 056daeaefb5..20d7d5eddee 100644 --- a/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S1291_java.json +++ b/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S1291_java.json @@ -12,5 +12,6 @@ "defaultSeverity": "Major", "ruleSpecification": "RSPEC-1291", "sqKey": "S1291", - "scope": "All" + "scope": "All", + "quickfix": "unknown" } diff --git a/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S1301_java.json b/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S1301_java.json index 328505c1708..044a36e7cf9 100644 --- a/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S1301_java.json +++ b/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S1301_java.json @@ -12,5 +12,6 @@ "defaultSeverity": "Minor", "ruleSpecification": "RSPEC-1301", "sqKey": "S1301", - "scope": "All" + "scope": "Main", + "quickfix": "unknown" } diff --git a/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S1309_java.json b/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S1309_java.json index 0df3e38dedb..5fe88b20fed 100644 --- a/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S1309_java.json +++ b/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S1309_java.json @@ -10,5 +10,6 @@ "defaultSeverity": "Info", "ruleSpecification": "RSPEC-1309", "sqKey": "S1309", - "scope": "All" + "scope": "All", + "quickfix": "unknown" } diff --git a/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S1310_java.json b/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S1310_java.json index 5ee89908705..310b8c0b489 100644 --- a/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S1310_java.json +++ b/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S1310_java.json @@ -12,5 +12,6 @@ "defaultSeverity": "Minor", "ruleSpecification": "RSPEC-1310", "sqKey": "S1310", - "scope": "All" + "scope": "All", + "quickfix": "unknown" } diff --git a/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S1312_java.json b/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S1312_java.json index f370bb724c8..83db2f3dce4 100644 --- a/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S1312_java.json +++ b/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S1312_java.json @@ -12,5 +12,6 @@ "defaultSeverity": "Minor", "ruleSpecification": "RSPEC-1312", "sqKey": "S1312", - "scope": "Main" + "scope": "Main", + "quickfix": "unknown" } diff --git a/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S1313_java.json b/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S1313_java.json index c0d558d9239..f69436fdf44 100644 --- a/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S1313_java.json +++ b/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S1313_java.json @@ -15,9 +15,6 @@ "sqKey": "S1313", "scope": "Main", "securityStandards": { - "OWASP": [ - "A3" - ], "CERT": [ "MSC03-J." ] diff --git a/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S1314_java.json b/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S1314_java.json index 2b8fc19bfbd..9418cc1c842 100644 --- a/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S1314_java.json +++ b/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S1314_java.json @@ -13,7 +13,8 @@ "defaultSeverity": "Blocker", "ruleSpecification": "RSPEC-1314", "sqKey": "S1314", - "scope": "All", + "scope": "Main", + "quickfix": "unknown", "securityStandards": { "CERT": [ "DCL18-C.", diff --git a/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S1315_java.json b/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S1315_java.json index 55a8e187ca2..17ce59fcc9e 100644 --- a/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S1315_java.json +++ b/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S1315_java.json @@ -12,5 +12,6 @@ "defaultSeverity": "Minor", "ruleSpecification": "RSPEC-1315", "sqKey": "S1315", - "scope": "All" + "scope": "All", + "quickfix": "unknown" } diff --git a/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S1317_java.json b/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S1317_java.json index b3da8ac423d..b5c8ee5bb5d 100644 --- a/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S1317_java.json +++ b/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S1317_java.json @@ -12,5 +12,6 @@ "defaultSeverity": "Major", "ruleSpecification": "RSPEC-1317", "sqKey": "S1317", - "scope": "All" + "scope": "All", + "quickfix": "unknown" } diff --git a/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S1319_java.json b/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S1319_java.json index 8bd9c55f1a5..fb06a6ded81 100644 --- a/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S1319_java.json +++ b/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S1319_java.json @@ -12,5 +12,6 @@ "defaultSeverity": "Minor", "ruleSpecification": "RSPEC-1319", "sqKey": "S1319", - "scope": "Main" + "scope": "Main", + "quickfix": "covered" } diff --git a/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S131_java.json b/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S131_java.json index 6a78c5f3030..c57c8400eff 100644 --- a/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S131_java.json +++ b/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S131_java.json @@ -13,13 +13,11 @@ "defaultSeverity": "Critical", "ruleSpecification": "RSPEC-131", "sqKey": "S131", - "scope": "All", + "scope": "Main", "securityStandards": { - "CWE": [ - 478 - ], "CERT": [ "MSC01-C." ] - } + }, + "quickfix": "unknown" } diff --git a/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S134_java.json b/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S134_java.json index abf7b85032f..9a0f3c4b102 100644 --- a/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S134_java.json +++ b/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S134_java.json @@ -12,5 +12,6 @@ "defaultSeverity": "Critical", "ruleSpecification": "RSPEC-134", "sqKey": "S134", - "scope": "All" + "scope": "Main", + "quickfix": "unknown" } diff --git a/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S135_java.json b/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S135_java.json index 20c49b797ce..c3ef69011a4 100644 --- a/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S135_java.json +++ b/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S135_java.json @@ -13,5 +13,6 @@ "defaultSeverity": "Minor", "ruleSpecification": "RSPEC-135", "sqKey": "S135", - "scope": "All" + "scope": "Main", + "quickfix": "unknown" } diff --git a/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S138_java.json b/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S138_java.json index 0bed79119b9..dec135b9456 100644 --- a/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S138_java.json +++ b/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S138_java.json @@ -12,5 +12,6 @@ "defaultSeverity": "Major", "ruleSpecification": "RSPEC-138", "sqKey": "S138", - "scope": "Main" + "scope": "Main", + "quickfix": "unknown" } diff --git a/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S139_java.json b/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S139_java.json index 8ef76bb199a..88077f0cfc3 100644 --- a/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S139_java.json +++ b/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S139_java.json @@ -12,5 +12,6 @@ "defaultSeverity": "Minor", "ruleSpecification": "RSPEC-139", "sqKey": "S139", - "scope": "All" + "scope": "Main", + "quickfix": "unknown" } diff --git a/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S1444_java.json b/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S1444_java.json index b5c4d36902a..dcf12f61bdf 100644 --- a/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S1444_java.json +++ b/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S1444_java.json @@ -15,11 +15,9 @@ "sqKey": "S1444", "scope": "Main", "securityStandards": { - "CWE": [ - 500 - ], "CERT": [ "OBJ10-J." ] - } + }, + "quickfix": "unknown" } diff --git a/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S1448_java.json b/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S1448_java.json index db841c6e05f..775bd49705c 100644 --- a/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S1448_java.json +++ b/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S1448_java.json @@ -12,5 +12,6 @@ "defaultSeverity": "Major", "ruleSpecification": "RSPEC-1448", "sqKey": "S1448", - "scope": "Main" + "scope": "Main", + "quickfix": "unknown" } diff --git a/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S1449_java.json b/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S1449_java.json index 862a912827c..36ed988d066 100644 --- a/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S1449_java.json +++ b/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S1449_java.json @@ -14,6 +14,7 @@ "ruleSpecification": "RSPEC-1449", "sqKey": "S1449", "scope": "Main", + "quickfix": "unknown", "securityStandards": { "CERT": [ "STR02-J." diff --git a/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S1450_java.json b/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S1450_java.json index 07875821829..1a6f89c7f89 100644 --- a/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S1450_java.json +++ b/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S1450_java.json @@ -12,5 +12,6 @@ "defaultSeverity": "Minor", "ruleSpecification": "RSPEC-1450", "sqKey": "S1450", - "scope": "Main" + "scope": "Main", + "quickfix": "unknown" } diff --git a/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S1451_java.json b/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S1451_java.json index 9f44cff97e7..a7c4bf25394 100644 --- a/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S1451_java.json +++ b/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S1451_java.json @@ -10,5 +10,6 @@ "defaultSeverity": "Blocker", "ruleSpecification": "RSPEC-1451", "sqKey": "S1451", - "scope": "All" + "scope": "Main", + "quickfix": "unknown" } diff --git a/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S1452_java.json b/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S1452_java.json index 3e819d3713e..100f7d2618b 100644 --- a/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S1452_java.json +++ b/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S1452_java.json @@ -12,5 +12,6 @@ "defaultSeverity": "Critical", "ruleSpecification": "RSPEC-1452", "sqKey": "S1452", - "scope": "All" + "scope": "All", + "quickfix": "unknown" } diff --git a/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S1479_java.json b/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S1479_java.json index 7db7ca13b1b..5cd78ee4590 100644 --- a/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S1479_java.json +++ b/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S1479_java.json @@ -12,5 +12,6 @@ "defaultSeverity": "Major", "ruleSpecification": "RSPEC-1479", "sqKey": "S1479", - "scope": "All" + "scope": "Main", + "quickfix": "unknown" } diff --git a/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S1481_java.json b/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S1481_java.json index 699bdaa7ff8..dea37bc44eb 100644 --- a/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S1481_java.json +++ b/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S1481_java.json @@ -12,5 +12,6 @@ "defaultSeverity": "Minor", "ruleSpecification": "RSPEC-1481", "sqKey": "S1481", - "scope": "All" + "scope": "Main", + "quickfix": "partial" } diff --git a/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S1488_java.json b/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S1488_java.json index 43ef4e6d426..af01cb5bca1 100644 --- a/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S1488_java.json +++ b/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S1488_java.json @@ -12,5 +12,6 @@ "defaultSeverity": "Minor", "ruleSpecification": "RSPEC-1488", "sqKey": "S1488", - "scope": "All" + "scope": "Main", + "quickfix": "covered" } diff --git a/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S1541_java.json b/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S1541_java.json index 810fcb3b41b..1dbdb27604d 100644 --- a/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S1541_java.json +++ b/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S1541_java.json @@ -14,5 +14,6 @@ "defaultSeverity": "Critical", "ruleSpecification": "RSPEC-1541", "sqKey": "S1541", - "scope": "Main" + "scope": "Main", + "quickfix": "unknown" } diff --git a/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S1596_java.json b/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S1596_java.json index c2a3a075997..51c4e4bb073 100644 --- a/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S1596_java.json +++ b/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S1596_java.json @@ -13,5 +13,6 @@ "defaultSeverity": "Minor", "ruleSpecification": "RSPEC-1596", "sqKey": "S1596", - "scope": "All" + "scope": "All", + "quickfix": "unknown" } diff --git a/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S1598_java.json b/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S1598_java.json index 15bab837345..afee5733879 100644 --- a/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S1598_java.json +++ b/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S1598_java.json @@ -12,5 +12,6 @@ "defaultSeverity": "Critical", "ruleSpecification": "RSPEC-1598", "sqKey": "S1598", - "scope": "All" + "scope": "All", + "quickfix": "unknown" } diff --git a/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S1602_java.json b/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S1602_java.json index d658921b9bd..5982430382a 100644 --- a/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S1602_java.json +++ b/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S1602_java.json @@ -12,5 +12,6 @@ "defaultSeverity": "Minor", "ruleSpecification": "RSPEC-1602", "sqKey": "S1602", - "scope": "All" + "scope": "All", + "quickfix": "unknown" } diff --git a/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S1604_java.json b/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S1604_java.json index aa5e4db2d42..cc21a240a4f 100644 --- a/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S1604_java.json +++ b/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S1604_java.json @@ -12,5 +12,6 @@ "defaultSeverity": "Major", "ruleSpecification": "RSPEC-1604", "sqKey": "S1604", - "scope": "All" + "scope": "All", + "quickfix": "unknown" } diff --git a/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S1607_java.json b/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S1607_java.json index e1c6919d9ff..65865e00c22 100644 --- a/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S1607_java.json +++ b/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S1607_java.json @@ -16,5 +16,6 @@ "defaultSeverity": "Major", "ruleSpecification": "RSPEC-1607", "sqKey": "S1607", - "scope": "Tests" + "scope": "Tests", + "quickfix": "unknown" } diff --git a/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S1610_java.json b/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S1610_java.json index bac89fc74cf..ab64ca1b895 100644 --- a/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S1610_java.json +++ b/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S1610_java.json @@ -12,5 +12,6 @@ "defaultSeverity": "Minor", "ruleSpecification": "RSPEC-1610", "sqKey": "S1610", - "scope": "All" + "scope": "All", + "quickfix": "unknown" } diff --git a/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S1611_java.json b/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S1611_java.json index 09bd2a7cdd8..028d3bee7a7 100644 --- a/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S1611_java.json +++ b/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S1611_java.json @@ -12,5 +12,6 @@ "defaultSeverity": "Minor", "ruleSpecification": "RSPEC-1611", "sqKey": "S1611", - "scope": "All" + "scope": "All", + "quickfix": "unknown" } diff --git a/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S1612_java.json b/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S1612_java.json index 3b5e673fa7c..9f2aaa26b69 100644 --- a/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S1612_java.json +++ b/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S1612_java.json @@ -12,5 +12,6 @@ "defaultSeverity": "Minor", "ruleSpecification": "RSPEC-1612", "sqKey": "S1612", - "scope": "All" + "scope": "All", + "quickfix": "covered" } diff --git a/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S1640_java.json b/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S1640_java.json index 36c3b57f62d..adbc0cd830e 100644 --- a/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S1640_java.json +++ b/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S1640_java.json @@ -12,5 +12,6 @@ "defaultSeverity": "Minor", "ruleSpecification": "RSPEC-1640", "sqKey": "S1640", - "scope": "All" + "scope": "All", + "quickfix": "unknown" } diff --git a/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S1641_java.json b/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S1641_java.json index 2d873c03844..3dad3e5f396 100644 --- a/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S1641_java.json +++ b/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S1641_java.json @@ -12,5 +12,6 @@ "defaultSeverity": "Minor", "ruleSpecification": "RSPEC-1641", "sqKey": "S1641", - "scope": "All" + "scope": "All", + "quickfix": "unknown" } diff --git a/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S1643_java.json b/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S1643_java.json index c453cf7a1a3..5cc48b946b8 100644 --- a/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S1643_java.json +++ b/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S1643_java.json @@ -12,5 +12,6 @@ "defaultSeverity": "Minor", "ruleSpecification": "RSPEC-1643", "sqKey": "S1643", - "scope": "Main" + "scope": "Main", + "quickfix": "unknown" } diff --git a/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S1656_java.json b/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S1656_java.json index 858192c2fc9..e15511faa37 100644 --- a/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S1656_java.json +++ b/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S1656_java.json @@ -12,7 +12,8 @@ "defaultSeverity": "Major", "ruleSpecification": "RSPEC-1656", "sqKey": "S1656", - "scope": "All", + "scope": "Main", + "quickfix": "unknown", "securityStandards": { "CERT": [ "MSC12-C." diff --git a/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S1659_java.json b/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S1659_java.json index 318c1960698..c69ed008de7 100644 --- a/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S1659_java.json +++ b/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S1659_java.json @@ -14,6 +14,7 @@ "ruleSpecification": "RSPEC-1659", "sqKey": "S1659", "scope": "All", + "quickfix": "covered", "securityStandards": { "CERT": [ "DCL52-J.", diff --git a/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S1694_java.json b/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S1694_java.json index 8bb4b665a11..ad1eff1d46a 100644 --- a/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S1694_java.json +++ b/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S1694_java.json @@ -12,5 +12,6 @@ "defaultSeverity": "Minor", "ruleSpecification": "RSPEC-1694", "sqKey": "S1694", - "scope": "Main" + "scope": "Main", + "quickfix": "unknown" } diff --git a/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S1695_java.json b/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S1695_java.json index 7ccdf56423e..6b6d272efd3 100644 --- a/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S1695_java.json +++ b/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S1695_java.json @@ -13,5 +13,6 @@ "defaultSeverity": "Major", "ruleSpecification": "RSPEC-1695", "sqKey": "S1695", - "scope": "Main" + "scope": "Main", + "quickfix": "unknown" } diff --git a/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S1696_java.json b/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S1696_java.json index fde613ae0bd..28415a72ff8 100644 --- a/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S1696_java.json +++ b/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S1696_java.json @@ -16,11 +16,9 @@ "sqKey": "S1696", "scope": "Main", "securityStandards": { - "CWE": [ - 395 - ], "CERT": [ "ERR08-J." ] - } + }, + "quickfix": "unknown" } diff --git a/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S1698_java.json b/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S1698_java.json index 904a1f1881c..2c73c90ee26 100644 --- a/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S1698_java.json +++ b/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S1698_java.json @@ -16,13 +16,10 @@ "sqKey": "S1698", "scope": "Main", "securityStandards": { - "CWE": [ - 595, - 597 - ], "CERT": [ "EXP03-J.", "EXP50-J." ] - } + }, + "quickfix": "unknown" } diff --git a/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S1699_java.json b/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S1699_java.json index 5bd1d74dfcc..eb1233d01a8 100644 --- a/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S1699_java.json +++ b/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S1699_java.json @@ -14,6 +14,7 @@ "ruleSpecification": "RSPEC-1699", "sqKey": "S1699", "scope": "Main", + "quickfix": "unknown", "securityStandards": { "CERT": [ "MET05-J.", diff --git a/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S1700_java.json b/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S1700_java.json index 0a96bc8dba5..15e9df244b1 100644 --- a/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S1700_java.json +++ b/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S1700_java.json @@ -12,5 +12,6 @@ "defaultSeverity": "Major", "ruleSpecification": "RSPEC-1700", "sqKey": "S1700", - "scope": "All" + "scope": "All", + "quickfix": "unknown" } diff --git a/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S1710_java.json b/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S1710_java.json index fbeaa2c240f..0be62056318 100644 --- a/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S1710_java.json +++ b/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S1710_java.json @@ -12,5 +12,6 @@ "defaultSeverity": "Minor", "ruleSpecification": "RSPEC-1710", "sqKey": "S1710", - "scope": "All" + "scope": "All", + "quickfix": "unknown" } diff --git a/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S1711_java.json b/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S1711_java.json index 1d2cf71f1d7..ae3278a7426 100644 --- a/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S1711_java.json +++ b/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S1711_java.json @@ -12,5 +12,6 @@ "defaultSeverity": "Major", "ruleSpecification": "RSPEC-1711", "sqKey": "S1711", - "scope": "Main" + "scope": "Main", + "quickfix": "unknown" } diff --git a/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S1751_java.json b/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S1751_java.json index b3dc00ddd7b..3a47297aaf4 100644 --- a/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S1751_java.json +++ b/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S1751_java.json @@ -10,5 +10,6 @@ "defaultSeverity": "Major", "ruleSpecification": "RSPEC-1751", "sqKey": "S1751", - "scope": "All" + "scope": "Main", + "quickfix": "unknown" } diff --git a/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S1764_java.json b/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S1764_java.json index 3bd31292d48..aff9b62da36 100644 --- a/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S1764_java.json +++ b/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S1764_java.json @@ -12,7 +12,8 @@ "defaultSeverity": "Major", "ruleSpecification": "RSPEC-1764", "sqKey": "S1764", - "scope": "All", + "scope": "Main", + "quickfix": "unknown", "securityStandards": { "CERT": [ "MSC12-C." diff --git a/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S1774_java.json b/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S1774_java.json index 7a93643e77e..54a9a27fb26 100644 --- a/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S1774_java.json +++ b/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S1774_java.json @@ -12,5 +12,6 @@ "defaultSeverity": "Major", "ruleSpecification": "RSPEC-1774", "sqKey": "S1774", - "scope": "All" + "scope": "Main", + "quickfix": "unknown" } diff --git a/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S1820_java.json b/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S1820_java.json index 1a76b791f6a..f7f64ef8803 100644 --- a/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S1820_java.json +++ b/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S1820_java.json @@ -12,5 +12,6 @@ "defaultSeverity": "Major", "ruleSpecification": "RSPEC-1820", "sqKey": "S1820", - "scope": "Main" + "scope": "Main", + "quickfix": "unknown" } diff --git a/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S1821_java.json b/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S1821_java.json index 337fab5144f..d459d5bc7d1 100644 --- a/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S1821_java.json +++ b/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S1821_java.json @@ -12,5 +12,6 @@ "defaultSeverity": "Critical", "ruleSpecification": "RSPEC-1821", "sqKey": "S1821", - "scope": "All" + "scope": "Main", + "quickfix": "unknown" } diff --git a/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S1844_java.json b/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S1844_java.json index 744eedc7e39..0d1b3e749b3 100644 --- a/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S1844_java.json +++ b/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S1844_java.json @@ -12,5 +12,6 @@ "defaultSeverity": "Major", "ruleSpecification": "RSPEC-1844", "sqKey": "S1844", - "scope": "All" + "scope": "All", + "quickfix": "unknown" } diff --git a/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S1845_java.json b/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S1845_java.json index fdfd087b151..1f7d6b52344 100644 --- a/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S1845_java.json +++ b/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S1845_java.json @@ -12,5 +12,6 @@ "defaultSeverity": "Blocker", "ruleSpecification": "RSPEC-1845", "sqKey": "S1845", - "scope": "All" + "scope": "All", + "quickfix": "unknown" } diff --git a/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S1849_java.json b/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S1849_java.json index 0d1baa6a597..3be5f5122d7 100644 --- a/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S1849_java.json +++ b/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S1849_java.json @@ -10,5 +10,6 @@ "defaultSeverity": "Major", "ruleSpecification": "RSPEC-1849", "sqKey": "S1849", - "scope": "All" + "scope": "All", + "quickfix": "unknown" } diff --git a/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S1854_java.json b/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S1854_java.json index 89215444a0d..474a309abd9 100644 --- a/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S1854_java.json +++ b/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S1854_java.json @@ -14,14 +14,12 @@ "defaultSeverity": "Major", "ruleSpecification": "RSPEC-1854", "sqKey": "S1854", - "scope": "All", + "scope": "Main", "securityStandards": { - "CWE": [ - 563 - ], "CERT": [ "MSC13-C.", "MSC56-J." ] - } + }, + "quickfix": "unknown" } diff --git a/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S1858_java.json b/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S1858_java.json index f5e35df21df..0596cf52b6c 100644 --- a/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S1858_java.json +++ b/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S1858_java.json @@ -13,5 +13,6 @@ "defaultSeverity": "Minor", "ruleSpecification": "RSPEC-1858", "sqKey": "S1858", - "scope": "All" + "scope": "All", + "quickfix": "covered" } diff --git a/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S1860_java.json b/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S1860_java.json index 92ce3266513..12ad0fed3d9 100644 --- a/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S1860_java.json +++ b/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S1860_java.json @@ -18,5 +18,6 @@ "CERT": [ "LCK01-J." ] - } + }, + "quickfix": "unknown" } diff --git a/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S1862_java.json b/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S1862_java.json index f1dc477cd7c..df51c78e2c6 100644 --- a/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S1862_java.json +++ b/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S1862_java.json @@ -14,7 +14,8 @@ "defaultSeverity": "Major", "ruleSpecification": "RSPEC-1862", "sqKey": "S1862", - "scope": "All", + "scope": "Main", + "quickfix": "unknown", "securityStandards": { "CERT": [ "MSC12-C." diff --git a/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S1871_java.json b/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S1871_java.json index 64e8023d60a..9343196d2ba 100644 --- a/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S1871_java.json +++ b/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S1871_java.json @@ -13,5 +13,6 @@ "defaultSeverity": "Major", "ruleSpecification": "RSPEC-1871", "sqKey": "S1871", - "scope": "Main" + "scope": "Main", + "quickfix": "unknown" } diff --git a/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S1872_java.json b/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S1872_java.json index c6be7055168..a237f007fd5 100644 --- a/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S1872_java.json +++ b/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S1872_java.json @@ -15,11 +15,9 @@ "sqKey": "S1872", "scope": "All", "securityStandards": { - "CWE": [ - 486 - ], "CERT": [ "OBJ09-J." ] - } + }, + "quickfix": "unknown" } diff --git a/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S1874_java.json b/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S1874_java.json index 3648adfae1d..b9fabfc9263 100644 --- a/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S1874_java.json +++ b/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S1874_java.json @@ -16,11 +16,9 @@ "sqKey": "S1874", "scope": "Main", "securityStandards": { - "CWE": [ - 477 - ], "CERT": [ "MET02-J." ] - } + }, + "quickfix": "unknown" } diff --git a/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S1905_java.json b/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S1905_java.json index 13a2473c5f4..fe9d7ad4f03 100644 --- a/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S1905_java.json +++ b/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S1905_java.json @@ -13,5 +13,6 @@ "defaultSeverity": "Minor", "ruleSpecification": "RSPEC-1905", "sqKey": "S1905", - "scope": "All" + "scope": "All", + "quickfix": "covered" } diff --git a/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S1939_java.json b/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S1939_java.json index 7daedd7c992..1c81b23fdca 100644 --- a/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S1939_java.json +++ b/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S1939_java.json @@ -12,5 +12,6 @@ "defaultSeverity": "Minor", "ruleSpecification": "RSPEC-1939", "sqKey": "S1939", - "scope": "All" + "scope": "All", + "quickfix": "unknown" } diff --git a/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S1940_java.json b/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S1940_java.json index 028f77ea638..4cc1afce1fa 100644 --- a/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S1940_java.json +++ b/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S1940_java.json @@ -12,5 +12,6 @@ "defaultSeverity": "Minor", "ruleSpecification": "RSPEC-1940", "sqKey": "S1940", - "scope": "All" + "scope": "Main", + "quickfix": "unknown" } diff --git a/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S1941_java.json b/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S1941_java.json index 2eae62b0f82..f75c6af420c 100644 --- a/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S1941_java.json +++ b/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S1941_java.json @@ -12,5 +12,6 @@ "defaultSeverity": "Minor", "ruleSpecification": "RSPEC-1941", "sqKey": "S1941", - "scope": "All" + "scope": "All", + "quickfix": "unknown" } diff --git a/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S1942_java.json b/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S1942_java.json index 1129553a2b0..d48ef15c25f 100644 --- a/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S1942_java.json +++ b/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S1942_java.json @@ -13,5 +13,6 @@ "defaultSeverity": "Minor", "ruleSpecification": "RSPEC-1942", "sqKey": "S1942", - "scope": "All" + "scope": "All", + "quickfix": "unknown" } diff --git a/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S1943_java.json b/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S1943_java.json index 5344ff903f6..6976575b848 100644 --- a/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S1943_java.json +++ b/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S1943_java.json @@ -20,5 +20,6 @@ "STR04-J.", "STR50-J." ] - } + }, + "quickfix": "unknown" } diff --git a/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S1948_java.json b/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S1948_java.json index 0faea56abc2..eacafc4d90c 100644 --- a/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S1948_java.json +++ b/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S1948_java.json @@ -18,5 +18,6 @@ "CWE": [ 594 ] - } + }, + "quickfix": "unknown" } diff --git a/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S1989_java.json b/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S1989_java.json index 0b784d66351..f65c8b52a5a 100644 --- a/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S1989_java.json +++ b/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S1989_java.json @@ -26,5 +26,6 @@ "CERT": [ "ERR01-J." ] - } + }, + "quickfix": "unknown" } diff --git a/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S1994_java.json b/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S1994_java.json index edc668ef8f9..291a085dd7e 100644 --- a/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S1994_java.json +++ b/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S1994_java.json @@ -12,5 +12,6 @@ "defaultSeverity": "Critical", "ruleSpecification": "RSPEC-1994", "sqKey": "S1994", - "scope": "All" + "scope": "Main", + "quickfix": "unknown" } diff --git a/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S1996_java.json b/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S1996_java.json index 89f9be74119..83c075485dd 100644 --- a/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S1996_java.json +++ b/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S1996_java.json @@ -13,5 +13,6 @@ "defaultSeverity": "Major", "ruleSpecification": "RSPEC-1996", "sqKey": "S1996", - "scope": "All" + "scope": "All", + "quickfix": "unknown" } diff --git a/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S2039_java.json b/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S2039_java.json index d0f040ec149..caef16bd823 100644 --- a/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S2039_java.json +++ b/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S2039_java.json @@ -10,5 +10,6 @@ "defaultSeverity": "Minor", "ruleSpecification": "RSPEC-2039", "sqKey": "S2039", - "scope": "Main" + "scope": "Main", + "quickfix": "unknown" } diff --git a/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S2047_java.json b/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S2047_java.json index 8b49e9bb9cc..cabf731b6f6 100644 --- a/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S2047_java.json +++ b/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S2047_java.json @@ -12,5 +12,6 @@ "defaultSeverity": "Major", "ruleSpecification": "RSPEC-2047", "sqKey": "S2047", - "scope": "All" + "scope": "All", + "quickfix": "unknown" } diff --git a/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S2053_java.json b/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S2053_java.json index dbb2584fdd1..8f91d7fedfc 100644 --- a/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S2053_java.json +++ b/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S2053_java.json @@ -23,5 +23,6 @@ "OWASP": [ "A3" ] - } + }, + "quickfix": "unknown" } diff --git a/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S2055_java.json b/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S2055_java.json index 16705bc4ebc..8ff2ca5c1b6 100644 --- a/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S2055_java.json +++ b/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S2055_java.json @@ -12,5 +12,6 @@ "defaultSeverity": "Minor", "ruleSpecification": "RSPEC-2055", "sqKey": "S2055", - "scope": "All" + "scope": "All", + "quickfix": "unknown" } diff --git a/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S2057_java.json b/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S2057_java.json index a2c36021cda..9351d2a9d67 100644 --- a/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S2057_java.json +++ b/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S2057_java.json @@ -19,5 +19,6 @@ "CERT": [ "SER00-J." ] - } + }, + "quickfix": "unknown" } diff --git a/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S2059_java.json b/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S2059_java.json index 3f83424d4c9..137aeb9d0f7 100644 --- a/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S2059_java.json +++ b/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S2059_java.json @@ -19,5 +19,6 @@ "CERT": [ "SER05-J." ] - } + }, + "quickfix": "unknown" } diff --git a/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S2060_java.json b/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S2060_java.json index 0eff186686f..35d53b084bc 100644 --- a/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S2060_java.json +++ b/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S2060_java.json @@ -10,5 +10,6 @@ "defaultSeverity": "Major", "ruleSpecification": "RSPEC-2060", "sqKey": "S2060", - "scope": "All" + "scope": "All", + "quickfix": "unknown" } diff --git a/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S2061_java.json b/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S2061_java.json index e44e377bfef..521501938b2 100644 --- a/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S2061_java.json +++ b/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S2061_java.json @@ -17,5 +17,6 @@ "CERT": [ "SER01-J." ] - } + }, + "quickfix": "unknown" } diff --git a/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S2062_java.json b/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S2062_java.json index f1ed2dff301..18fb5f5bd85 100644 --- a/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S2062_java.json +++ b/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S2062_java.json @@ -12,5 +12,6 @@ "defaultSeverity": "Critical", "ruleSpecification": "RSPEC-2062", "sqKey": "S2062", - "scope": "All" + "scope": "All", + "quickfix": "unknown" } diff --git a/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S2063_java.json b/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S2063_java.json index e873c8860c6..f229ee4d1bd 100644 --- a/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S2063_java.json +++ b/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S2063_java.json @@ -13,5 +13,6 @@ "defaultSeverity": "Critical", "ruleSpecification": "RSPEC-2063", "sqKey": "S2063", - "scope": "All" + "scope": "All", + "quickfix": "unknown" } diff --git a/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S2065_java.json b/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S2065_java.json index 80355bc98f3..24aafe67dc7 100644 --- a/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S2065_java.json +++ b/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S2065_java.json @@ -13,5 +13,6 @@ "defaultSeverity": "Minor", "ruleSpecification": "RSPEC-2065", "sqKey": "S2065", - "scope": "All" + "scope": "All", + "quickfix": "unknown" } diff --git a/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S2066_java.json b/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S2066_java.json index 1206915f6d2..104dd3c4252 100644 --- a/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S2066_java.json +++ b/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S2066_java.json @@ -18,5 +18,6 @@ "CERT": [ "SER05-J." ] - } + }, + "quickfix": "unknown" } diff --git a/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S2068_java.json b/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S2068_java.json index 068ad25e92e..7c2e229ef21 100644 --- a/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S2068_java.json +++ b/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S2068_java.json @@ -17,13 +17,6 @@ "sqKey": "S2068", "scope": "Main", "securityStandards": { - "CWE": [ - 798, - 259 - ], - "OWASP": [ - "A2" - ], "CERT": [ "MSC03-J." ] diff --git a/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S2077_java.json b/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S2077_java.json index d61ac95d186..f877082a4d1 100644 --- a/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S2077_java.json +++ b/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S2077_java.json @@ -21,15 +21,6 @@ "sqKey": "S2077", "scope": "Main", "securityStandards": { - "CWE": [ - 564, - 89, - 20, - 943 - ], - "OWASP": [ - "A1" - ], "CERT": [ "IDS00-J." ] diff --git a/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S2093_java.json b/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S2093_java.json index 8e6b279d9e8..b81e1d259e8 100644 --- a/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S2093_java.json +++ b/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S2093_java.json @@ -19,5 +19,6 @@ "CERT": [ "ERR54-J." ] - } + }, + "quickfix": "unknown" } diff --git a/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S2094_java.json b/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S2094_java.json index 96d538c4020..78db5e8197d 100644 --- a/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S2094_java.json +++ b/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S2094_java.json @@ -12,5 +12,6 @@ "defaultSeverity": "Minor", "ruleSpecification": "RSPEC-2094", "sqKey": "S2094", - "scope": "All" + "scope": "All", + "quickfix": "unknown" } diff --git a/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S2095_java.json b/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S2095_java.json index 5b9ab0079d9..c121ad1069d 100644 --- a/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S2095_java.json +++ b/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S2095_java.json @@ -17,13 +17,10 @@ "sqKey": "S2095", "scope": "All", "securityStandards": { - "CWE": [ - 459, - 772 - ], "CERT": [ "FIO04-J.", "FIO42-C." ] - } + }, + "quickfix": "unknown" } diff --git a/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S2096_java.json b/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S2096_java.json index 07ad4a41738..5360f2c9d81 100644 --- a/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S2096_java.json +++ b/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S2096_java.json @@ -12,5 +12,6 @@ "defaultSeverity": "Blocker", "ruleSpecification": "RSPEC-2096", "sqKey": "S2096", - "scope": "Main" + "scope": "Main", + "quickfix": "unknown" } diff --git a/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S2097_java.json b/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S2097_java.json index d834f345e8f..f33d25e2228 100644 --- a/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S2097_java.json +++ b/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S2097_java.json @@ -10,5 +10,6 @@ "defaultSeverity": "Minor", "ruleSpecification": "RSPEC-2097", "sqKey": "S2097", - "scope": "All" + "scope": "All", + "quickfix": "unknown" } diff --git a/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S2109_java.json b/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S2109_java.json index f6f9b249740..a9f5ae9f61a 100644 --- a/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S2109_java.json +++ b/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S2109_java.json @@ -10,5 +10,6 @@ "defaultSeverity": "Major", "ruleSpecification": "RSPEC-2109", "sqKey": "S2109", - "scope": "All" + "scope": "All", + "quickfix": "unknown" } diff --git a/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S2110_java.json b/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S2110_java.json index a8165e9c9d9..5f67d86b488 100644 --- a/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S2110_java.json +++ b/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S2110_java.json @@ -10,5 +10,6 @@ "defaultSeverity": "Major", "ruleSpecification": "RSPEC-2110", "sqKey": "S2110", - "scope": "All" + "scope": "All", + "quickfix": "unknown" } diff --git a/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S2111_java.json b/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S2111_java.json index 5d2efdcb14b..c0fb73765b0 100644 --- a/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S2111_java.json +++ b/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S2111_java.json @@ -17,5 +17,6 @@ "CERT": [ "NUM10-J." ] - } + }, + "quickfix": "partial" } diff --git a/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S2112_java.json b/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S2112_java.json index a802ed47558..b7fee17da92 100644 --- a/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S2112_java.json +++ b/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S2112_java.json @@ -12,5 +12,6 @@ "defaultSeverity": "Major", "ruleSpecification": "RSPEC-2112", "sqKey": "S2112", - "scope": "All" + "scope": "All", + "quickfix": "unknown" } diff --git a/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S2114_java.json b/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S2114_java.json index d321915195c..6a89ec2950a 100644 --- a/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S2114_java.json +++ b/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S2114_java.json @@ -10,5 +10,6 @@ "defaultSeverity": "Major", "ruleSpecification": "RSPEC-2114", "sqKey": "S2114", - "scope": "All" + "scope": "All", + "quickfix": "unknown" } diff --git a/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S2115_java.json b/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S2115_java.json index 0f8ed059f15..6581afbd7fe 100644 --- a/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S2115_java.json +++ b/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S2115_java.json @@ -23,5 +23,6 @@ "A2", "A3" ] - } + }, + "quickfix": "unknown" } diff --git a/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S2116_java.json b/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S2116_java.json index a80bb5d8db8..b7ecd7627f1 100644 --- a/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S2116_java.json +++ b/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S2116_java.json @@ -10,5 +10,6 @@ "defaultSeverity": "Major", "ruleSpecification": "RSPEC-2116", "sqKey": "S2116", - "scope": "All" + "scope": "All", + "quickfix": "unknown" } diff --git a/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S2118_java.json b/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S2118_java.json index a28060a5bea..37552c4ca1b 100644 --- a/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S2118_java.json +++ b/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S2118_java.json @@ -12,5 +12,6 @@ "defaultSeverity": "Major", "ruleSpecification": "RSPEC-2118", "sqKey": "S2118", - "scope": "All" + "scope": "All", + "quickfix": "unknown" } diff --git a/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S2119_java.json b/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S2119_java.json index 619f9f9ae3e..adf984e780e 100644 --- a/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S2119_java.json +++ b/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S2119_java.json @@ -17,5 +17,6 @@ "OWASP": [ "A6" ] - } + }, + "quickfix": "unknown" } diff --git a/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S2121_java.json b/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S2121_java.json index fe84717da1e..58801a816f1 100644 --- a/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S2121_java.json +++ b/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S2121_java.json @@ -12,5 +12,6 @@ "defaultSeverity": "Major", "ruleSpecification": "RSPEC-2121", "sqKey": "S2121", - "scope": "Main" + "scope": "Main", + "quickfix": "unknown" } diff --git a/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S2122_java.json b/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S2122_java.json index dcac147f9e9..ac35e783b65 100644 --- a/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S2122_java.json +++ b/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S2122_java.json @@ -10,5 +10,6 @@ "defaultSeverity": "Critical", "ruleSpecification": "RSPEC-2122", "sqKey": "S2122", - "scope": "All" + "scope": "All", + "quickfix": "unknown" } diff --git a/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S2123_java.json b/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S2123_java.json index 13e94677300..b0429182c84 100644 --- a/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S2123_java.json +++ b/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S2123_java.json @@ -12,5 +12,6 @@ "defaultSeverity": "Major", "ruleSpecification": "RSPEC-2123", "sqKey": "S2123", - "scope": "All" + "scope": "Main", + "quickfix": "unknown" } diff --git a/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S2127_java.json b/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S2127_java.json index 39791cb8dff..3f2ad266d3d 100644 --- a/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S2127_java.json +++ b/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S2127_java.json @@ -10,5 +10,6 @@ "defaultSeverity": "Major", "ruleSpecification": "RSPEC-2127", "sqKey": "S2127", - "scope": "All" + "scope": "All", + "quickfix": "unknown" } diff --git a/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S2129_java.json b/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S2129_java.json index 02f38aebbc1..8986776eb2c 100644 --- a/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S2129_java.json +++ b/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S2129_java.json @@ -12,5 +12,6 @@ "defaultSeverity": "Major", "ruleSpecification": "RSPEC-2129", "sqKey": "S2129", - "scope": "All" + "scope": "All", + "quickfix": "unknown" } diff --git a/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S2130_java.json b/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S2130_java.json index 7fbcdd94d5a..6f8edb78b99 100644 --- a/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S2130_java.json +++ b/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S2130_java.json @@ -12,5 +12,6 @@ "defaultSeverity": "Minor", "ruleSpecification": "RSPEC-2130", "sqKey": "S2130", - "scope": "All" + "scope": "All", + "quickfix": "unknown" } diff --git a/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S2131_java.json b/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S2131_java.json index 9d7c3dd3d01..c7d9126b69d 100644 --- a/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S2131_java.json +++ b/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S2131_java.json @@ -12,5 +12,6 @@ "defaultSeverity": "Major", "ruleSpecification": "RSPEC-2131", "sqKey": "S2131", - "scope": "All" + "scope": "All", + "quickfix": "unknown" } diff --git a/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S2133_java.json b/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S2133_java.json index 64a58006954..27b73662744 100644 --- a/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S2133_java.json +++ b/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S2133_java.json @@ -12,5 +12,6 @@ "defaultSeverity": "Major", "ruleSpecification": "RSPEC-2133", "sqKey": "S2133", - "scope": "All" + "scope": "All", + "quickfix": "unknown" } diff --git a/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S2134_java.json b/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S2134_java.json index df9dcf95116..5d43190420c 100644 --- a/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S2134_java.json +++ b/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S2134_java.json @@ -13,5 +13,6 @@ "defaultSeverity": "Major", "ruleSpecification": "RSPEC-2134", "sqKey": "S2134", - "scope": "All" + "scope": "All", + "quickfix": "unknown" } diff --git a/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S2139_java.json b/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S2139_java.json index 43aefa6d2ba..827c1c1be31 100644 --- a/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S2139_java.json +++ b/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S2139_java.json @@ -13,5 +13,6 @@ "defaultSeverity": "Major", "ruleSpecification": "RSPEC-2139", "sqKey": "S2139", - "scope": "Main" + "scope": "Main", + "quickfix": "unknown" } diff --git a/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S2140_java.json b/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S2140_java.json index 9267f6a4eaf..4aac4a34250 100644 --- a/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S2140_java.json +++ b/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S2140_java.json @@ -12,5 +12,6 @@ "defaultSeverity": "Minor", "ruleSpecification": "RSPEC-2140", "sqKey": "S2140", - "scope": "All" + "scope": "All", + "quickfix": "unknown" } diff --git a/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S2141_java.json b/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S2141_java.json index ce7890c7e63..3f39d99cf84 100644 --- a/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S2141_java.json +++ b/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S2141_java.json @@ -10,5 +10,6 @@ "defaultSeverity": "Major", "ruleSpecification": "RSPEC-2141", "sqKey": "S2141", - "scope": "Main" + "scope": "Main", + "quickfix": "unknown" } diff --git a/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S2142_java.json b/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S2142_java.json index c81f0248d45..e412142c1f1 100644 --- a/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S2142_java.json +++ b/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S2142_java.json @@ -19,5 +19,6 @@ "CWE": [ 391 ] - } + }, + "quickfix": "unknown" } diff --git a/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S2143_java.json b/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S2143_java.json index 0f4cf0f7578..8dcafed7bde 100644 --- a/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S2143_java.json +++ b/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S2143_java.json @@ -13,5 +13,6 @@ "defaultSeverity": "Major", "ruleSpecification": "RSPEC-2143", "sqKey": "S2143", - "scope": "Main" + "scope": "Main", + "quickfix": "unknown" } diff --git a/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S2147_java.json b/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S2147_java.json index 9c05e17a1e3..9347549328f 100644 --- a/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S2147_java.json +++ b/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S2147_java.json @@ -12,5 +12,6 @@ "defaultSeverity": "Minor", "ruleSpecification": "RSPEC-2147", "sqKey": "S2147", - "scope": "All" + "scope": "All", + "quickfix": "unknown" } diff --git a/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S2148_java.json b/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S2148_java.json index 06ea6025239..f24821810a0 100644 --- a/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S2148_java.json +++ b/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S2148_java.json @@ -12,5 +12,6 @@ "defaultSeverity": "Minor", "ruleSpecification": "RSPEC-2148", "sqKey": "S2148", - "scope": "All" + "scope": "All", + "quickfix": "unknown" } diff --git a/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S2151_java.html b/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S2151_java.html index 4264783d0b9..38ce1f57584 100644 --- a/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S2151_java.html +++ b/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S2151_java.html @@ -1,11 +1,11 @@

    Running finalizers on JVM exit is disabled by default. It can be enabled with System.runFinalizersOnExit and -Runtime.runFinalizersOnExit, but both methods are deprecated because they are are inherently unsafe.

    +Runtime.runFinalizersOnExit, but both methods are deprecated because they are inherently unsafe.

    According to the Oracle Javadoc:

    It may result in finalizers being called on live objects while other threads are concurrently manipulating those objects, resulting in erratic behavior or deadlock.

    -

    If you really want to be execute something when the virtual machine begins its shutdown sequence, you should attach a shutdown hook.

    +

    If you really want to execute something when the virtual machine begins its shutdown sequence, you should attach a shutdown hook.

    Noncompliant Code Example

     public static void main(String [] args) {
    diff --git a/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S2151_java.json b/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S2151_java.json
    index 6f699f76816..54b23afa6b7 100644
    --- a/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S2151_java.json
    +++ b/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S2151_java.json
    @@ -13,6 +13,7 @@
       "ruleSpecification": "RSPEC-2151",
       "sqKey": "S2151",
       "scope": "All",
    +  "quickfix": "unknown",
       "securityStandards": {
         "CERT": [
           "MET12-J."
    diff --git a/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S2153_java.json b/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S2153_java.json
    index 137bfdc11f0..43c323826bb 100644
    --- a/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S2153_java.json
    +++ b/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S2153_java.json
    @@ -12,5 +12,6 @@
       "defaultSeverity": "Minor",
       "ruleSpecification": "RSPEC-2153",
       "sqKey": "S2153",
    -  "scope": "All"
    +  "scope": "All",
    +  "quickfix": "covered"
     }
    diff --git a/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S2154_java.json b/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S2154_java.json
    index 1b3eb7e92aa..ddcc024c9bc 100644
    --- a/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S2154_java.json
    +++ b/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S2154_java.json
    @@ -10,5 +10,6 @@
       "defaultSeverity": "Major",
       "ruleSpecification": "RSPEC-2154",
       "sqKey": "S2154",
    -  "scope": "All"
    +  "scope": "All",
    +  "quickfix": "unknown"
     }
    diff --git a/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S2156_java.json b/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S2156_java.json
    index 0322bd96c8c..483be69186d 100644
    --- a/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S2156_java.json
    +++ b/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S2156_java.json
    @@ -12,5 +12,6 @@
       "defaultSeverity": "Minor",
       "ruleSpecification": "RSPEC-2156",
       "sqKey": "S2156",
    -  "scope": "All"
    +  "scope": "All",
    +  "quickfix": "unknown"
     }
    diff --git a/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S2157_java.json b/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S2157_java.json
    index 11a95591df2..66cd6e7ccbf 100644
    --- a/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S2157_java.json
    +++ b/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S2157_java.json
    @@ -13,5 +13,6 @@
       "defaultSeverity": "Critical",
       "ruleSpecification": "RSPEC-2157",
       "sqKey": "S2157",
    -  "scope": "Main"
    +  "scope": "Main",
    +  "quickfix": "unknown"
     }
    diff --git a/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S2159_java.json b/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S2159_java.json
    index 5fa4ef20a2e..85aca75ed7f 100644
    --- a/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S2159_java.json
    +++ b/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S2159_java.json
    @@ -14,6 +14,7 @@
       "ruleSpecification": "RSPEC-2159",
       "sqKey": "S2159",
       "scope": "Main",
    +  "quickfix": "unknown",
       "securityStandards": {
         "CERT": [
           "EXP02-J."
    diff --git a/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S2160_java.json b/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S2160_java.json
    index 3af2f2d9c11..366dce6c991 100644
    --- a/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S2160_java.json
    +++ b/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S2160_java.json
    @@ -12,5 +12,6 @@
       "defaultSeverity": "Minor",
       "ruleSpecification": "RSPEC-2160",
       "sqKey": "S2160",
    -  "scope": "Main"
    +  "scope": "Main",
    +  "quickfix": "unknown"
     }
    diff --git a/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S2162_java.json b/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S2162_java.json
    index aa355c64b14..3ec6690932c 100644
    --- a/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S2162_java.json
    +++ b/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S2162_java.json
    @@ -17,5 +17,6 @@
         "CERT": [
           "MET08-J."
         ]
    -  }
    +  },
    +  "quickfix": "unknown"
     }
    diff --git a/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S2164_java.json b/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S2164_java.json
    index 122d84b00fb..0b8e2f7a2ae 100644
    --- a/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S2164_java.json
    +++ b/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S2164_java.json
    @@ -17,5 +17,6 @@
         "CERT": [
           "FLP02-C."
         ]
    -  }
    +  },
    +  "quickfix": "unknown"
     }
    diff --git a/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S2165_java.json b/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S2165_java.json
    index 3e7c9dacc83..b945f52f2c2 100644
    --- a/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S2165_java.json
    +++ b/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S2165_java.json
    @@ -13,5 +13,6 @@
       "defaultSeverity": "Minor",
       "ruleSpecification": "RSPEC-2165",
       "sqKey": "S2165",
    -  "scope": "Main"
    +  "scope": "Main",
    +  "quickfix": "unknown"
     }
    diff --git a/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S2166_java.json b/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S2166_java.json
    index f97952477ae..3da19f752f9 100644
    --- a/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S2166_java.json
    +++ b/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S2166_java.json
    @@ -14,5 +14,6 @@
       "defaultSeverity": "Major",
       "ruleSpecification": "RSPEC-2166",
       "sqKey": "S2166",
    -  "scope": "Main"
    +  "scope": "Main",
    +  "quickfix": "unknown"
     }
    diff --git a/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S2167_java.json b/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S2167_java.json
    index 64edea70bd7..19fc9922ff8 100644
    --- a/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S2167_java.json
    +++ b/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S2167_java.json
    @@ -10,5 +10,6 @@
       "defaultSeverity": "Minor",
       "ruleSpecification": "RSPEC-2167",
       "sqKey": "S2167",
    -  "scope": "All"
    +  "scope": "All",
    +  "quickfix": "unknown"
     }
    diff --git a/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S2168_java.json b/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S2168_java.json
    index b754f673bbf..8fcb62c39d1 100644
    --- a/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S2168_java.json
    +++ b/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S2168_java.json
    @@ -22,5 +22,6 @@
         "CERT": [
           "LCK10-J."
         ]
    -  }
    +  },
    +  "quickfix": "unknown"
     }
    diff --git a/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S2175_java.json b/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S2175_java.json
    index a9629e0266b..01d9f5b855b 100644
    --- a/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S2175_java.json
    +++ b/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S2175_java.json
    @@ -17,5 +17,6 @@
         "CERT": [
           "EXP04-J."
         ]
    -  }
    +  },
    +  "quickfix": "unknown"
     }
    diff --git a/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S2176_java.json b/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S2176_java.json
    index 3731efecbfe..342f6e70ef0 100644
    --- a/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S2176_java.json
    +++ b/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S2176_java.json
    @@ -12,5 +12,6 @@
       "defaultSeverity": "Critical",
       "ruleSpecification": "RSPEC-2176",
       "sqKey": "S2176",
    -  "scope": "All"
    +  "scope": "All",
    +  "quickfix": "unknown"
     }
    diff --git a/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S2177_java.json b/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S2177_java.json
    index 34a0444b60b..ef14f70108d 100644
    --- a/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S2177_java.json
    +++ b/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S2177_java.json
    @@ -12,5 +12,6 @@
       "defaultSeverity": "Major",
       "ruleSpecification": "RSPEC-2177",
       "sqKey": "S2177",
    -  "scope": "All"
    +  "scope": "All",
    +  "quickfix": "unknown"
     }
    diff --git a/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S2178_java.json b/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S2178_java.json
    index ea2a6346035..7835af71ae0 100644
    --- a/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S2178_java.json
    +++ b/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S2178_java.json
    @@ -13,6 +13,7 @@
       "ruleSpecification": "RSPEC-2178",
       "sqKey": "S2178",
       "scope": "Main",
    +  "quickfix": "unknown",
       "securityStandards": {
         "CERT": [
           "EXP46-C."
    diff --git a/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S2183_java.json b/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S2183_java.json
    index 9cc9f351248..8ea637f3269 100644
    --- a/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S2183_java.json
    +++ b/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S2183_java.json
    @@ -10,5 +10,6 @@
       "defaultSeverity": "Minor",
       "ruleSpecification": "RSPEC-2183",
       "sqKey": "S2183",
    -  "scope": "All"
    +  "scope": "All",
    +  "quickfix": "unknown"
     }
    diff --git a/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S2184_java.json b/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S2184_java.json
    index 88b62dc6a8d..e3647afe67d 100644
    --- a/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S2184_java.json
    +++ b/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S2184_java.json
    @@ -17,12 +17,10 @@
       "sqKey": "S2184",
       "scope": "All",
       "securityStandards": {
    -    "CWE": [
    -      190
    -    ],
         "CERT": [
           "NUM50-J.",
           "INT18-C."
         ]
    -  }
    +  },
    +  "quickfix": "unknown"
     }
    diff --git a/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S2185_java.json b/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S2185_java.json
    index 57ebfb29847..ca2566b10bd 100644
    --- a/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S2185_java.json
    +++ b/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S2185_java.json
    @@ -12,5 +12,6 @@
       "defaultSeverity": "Major",
       "ruleSpecification": "RSPEC-2185",
       "sqKey": "S2185",
    -  "scope": "All"
    +  "scope": "All",
    +  "quickfix": "unknown"
     }
    diff --git a/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S2186_java.json b/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S2186_java.json
    index 585397a6acc..2422c2997f2 100644
    --- a/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S2186_java.json
    +++ b/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S2186_java.json
    @@ -13,5 +13,6 @@
       "defaultSeverity": "Critical",
       "ruleSpecification": "RSPEC-2186",
       "sqKey": "S2186",
    -  "scope": "Tests"
    +  "scope": "Tests",
    +  "quickfix": "unknown"
     }
    diff --git a/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S2187_java.json b/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S2187_java.json
    index ff380d220f6..1006e173c2f 100644
    --- a/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S2187_java.json
    +++ b/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S2187_java.json
    @@ -15,5 +15,6 @@
       "defaultSeverity": "Blocker",
       "ruleSpecification": "RSPEC-2187",
       "sqKey": "S2187",
    -  "scope": "Tests"
    +  "scope": "Tests",
    +  "quickfix": "unknown"
     }
    diff --git a/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S2188_java.json b/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S2188_java.json
    index 624b7cecf21..f95bf9e7585 100644
    --- a/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S2188_java.json
    +++ b/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S2188_java.json
    @@ -13,5 +13,6 @@
       "defaultSeverity": "Blocker",
       "ruleSpecification": "RSPEC-2188",
       "sqKey": "S2188",
    -  "scope": "Tests"
    +  "scope": "Tests",
    +  "quickfix": "unknown"
     }
    diff --git a/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S2189_java.json b/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S2189_java.json
    index 7f7f60a60c0..8a8fb56c411 100644
    --- a/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S2189_java.json
    +++ b/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S2189_java.json
    @@ -13,6 +13,7 @@
       "ruleSpecification": "RSPEC-2189",
       "sqKey": "S2189",
       "scope": "Main",
    +  "quickfix": "unknown",
       "securityStandards": {
         "CERT": [
           "MSC01-J."
    diff --git a/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S2196_java.json b/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S2196_java.json
    index 334d97f58e4..e248d9f63e2 100644
    --- a/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S2196_java.json
    +++ b/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S2196_java.json
    @@ -12,5 +12,6 @@
       "defaultSeverity": "Minor",
       "ruleSpecification": "RSPEC-2196",
       "sqKey": "S2196",
    -  "scope": "All"
    +  "scope": "All",
    +  "quickfix": "unknown"
     }
    diff --git a/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S2197_java.json b/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S2197_java.json
    index 40b9ca2fe05..6c5f6afdfb7 100644
    --- a/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S2197_java.json
    +++ b/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S2197_java.json
    @@ -14,6 +14,7 @@
       "ruleSpecification": "RSPEC-2197",
       "sqKey": "S2197",
       "scope": "All",
    +  "quickfix": "unknown",
       "securityStandards": {
         "CERT": [
           "NUM51-J."
    diff --git a/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S2200_java.json b/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S2200_java.json
    index 30907b6e366..e76bfb04600 100644
    --- a/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S2200_java.json
    +++ b/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S2200_java.json
    @@ -12,5 +12,6 @@
       "defaultSeverity": "Minor",
       "ruleSpecification": "RSPEC-2200",
       "sqKey": "S2200",
    -  "scope": "Main"
    +  "scope": "Main",
    +  "quickfix": "partial"
     }
    diff --git a/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S2201_java.json b/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S2201_java.json
    index b360fb09d36..e84219bc175 100644
    --- a/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S2201_java.json
    +++ b/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S2201_java.json
    @@ -13,6 +13,7 @@
       "ruleSpecification": "RSPEC-2201",
       "sqKey": "S2201",
       "scope": "Main",
    +  "quickfix": "unknown",
       "securityStandards": {
         "CERT": [
           "EXP12-C.",
    diff --git a/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S2203_java.json b/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S2203_java.json
    index e4d7a163131..3fb9e9e475b 100644
    --- a/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S2203_java.json
    +++ b/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S2203_java.json
    @@ -12,5 +12,6 @@
       "defaultSeverity": "Minor",
       "ruleSpecification": "RSPEC-2203",
       "sqKey": "S2203",
    -  "scope": "All"
    +  "scope": "All",
    +  "quickfix": "unknown"
     }
    diff --git a/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S2204_java.json b/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S2204_java.json
    index 15ad9786be5..f2b19d18c40 100644
    --- a/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S2204_java.json
    +++ b/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S2204_java.json
    @@ -12,5 +12,6 @@
       "defaultSeverity": "Major",
       "ruleSpecification": "RSPEC-2204",
       "sqKey": "S2204",
    -  "scope": "All"
    +  "scope": "All",
    +  "quickfix": "unknown"
     }
    diff --git a/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S2208_java.json b/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S2208_java.json
    index 08cbf3cbabc..3e2a1488d60 100644
    --- a/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S2208_java.json
    +++ b/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S2208_java.json
    @@ -12,5 +12,6 @@
       "defaultSeverity": "Critical",
       "ruleSpecification": "RSPEC-2208",
       "sqKey": "S2208",
    -  "scope": "All"
    +  "scope": "Main",
    +  "quickfix": "unknown"
     }
    diff --git a/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S2209_java.json b/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S2209_java.json
    index fb9585a8c94..1e561037c57 100644
    --- a/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S2209_java.json
    +++ b/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S2209_java.json
    @@ -12,5 +12,6 @@
       "defaultSeverity": "Major",
       "ruleSpecification": "RSPEC-2209",
       "sqKey": "S2209",
    -  "scope": "Main"
    +  "scope": "Main",
    +  "quickfix": "covered"
     }
    diff --git a/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S2211_java.json b/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S2211_java.json
    index c4952488585..eadbca9f395 100644
    --- a/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S2211_java.json
    +++ b/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S2211_java.json
    @@ -13,5 +13,6 @@
       "defaultSeverity": "Major",
       "ruleSpecification": "RSPEC-2211",
       "sqKey": "S2211",
    -  "scope": "All"
    +  "scope": "All",
    +  "quickfix": "unknown"
     }
    diff --git a/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S2221_java.json b/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S2221_java.json
    index 5a6507d4d31..44a372f9783 100644
    --- a/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S2221_java.json
    +++ b/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S2221_java.json
    @@ -18,5 +18,6 @@
         "CWE": [
           396
         ]
    -  }
    +  },
    +  "quickfix": "unknown"
     }
    diff --git a/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S2222_java.json b/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S2222_java.json
    index 563ae1d7bed..7021ed7ff91 100644
    --- a/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S2222_java.json
    +++ b/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S2222_java.json
    @@ -18,5 +18,6 @@
         "CWE": [
           459
         ]
    -  }
    +  },
    +  "quickfix": "unknown"
     }
    diff --git a/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S2225_java.json b/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S2225_java.json
    index f4a8974920f..0d13936530e 100644
    --- a/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S2225_java.json
    +++ b/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S2225_java.json
    @@ -15,11 +15,9 @@
       "sqKey": "S2225",
       "scope": "Main",
       "securityStandards": {
    -    "CWE": [
    -      476
    -    ],
         "CERT": [
           "EXP01-J."
         ]
    -  }
    +  },
    +  "quickfix": "unknown"
     }
    diff --git a/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S2226_java.json b/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S2226_java.json
    index a50a1636853..6dc76df46c1 100644
    --- a/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S2226_java.json
    +++ b/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S2226_java.json
    @@ -19,5 +19,6 @@
         "CERT": [
           "MSC11-J."
         ]
    -  }
    +  },
    +  "quickfix": "unknown"
     }
    diff --git a/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S2229_java.json b/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S2229_java.json
    index f9e00162518..0f37b11f8e9 100644
    --- a/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S2229_java.json
    +++ b/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S2229_java.json
    @@ -12,5 +12,6 @@
       "defaultSeverity": "Blocker",
       "ruleSpecification": "RSPEC-2229",
       "sqKey": "S2229",
    -  "scope": "Main"
    +  "scope": "Main",
    +  "quickfix": "unknown"
     }
    diff --git a/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S2230_java.json b/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S2230_java.json
    index f86a5e4288d..cd34317e43f 100644
    --- a/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S2230_java.json
    +++ b/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S2230_java.json
    @@ -12,5 +12,6 @@
       "defaultSeverity": "Major",
       "ruleSpecification": "RSPEC-2230",
       "sqKey": "S2230",
    -  "scope": "Main"
    +  "scope": "Main",
    +  "quickfix": "unknown"
     }
    diff --git a/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S2232_java.json b/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S2232_java.json
    index 335b271dcb2..5142729a8cf 100644
    --- a/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S2232_java.json
    +++ b/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S2232_java.json
    @@ -14,5 +14,6 @@
       "defaultSeverity": "Major",
       "ruleSpecification": "RSPEC-2232",
       "sqKey": "S2232",
    -  "scope": "Main"
    +  "scope": "Main",
    +  "quickfix": "unknown"
     }
    diff --git a/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S2234_java.json b/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S2234_java.json
    index 47f3ae7d1e3..6d112932c65 100644
    --- a/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S2234_java.json
    +++ b/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S2234_java.json
    @@ -10,5 +10,6 @@
       "defaultSeverity": "Major",
       "ruleSpecification": "RSPEC-2234",
       "sqKey": "S2234",
    -  "scope": "All"
    +  "scope": "Main",
    +  "quickfix": "unknown"
     }
    diff --git a/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S2235_java.json b/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S2235_java.json
    index cb62e987e70..2d083d6e2d4 100644
    --- a/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S2235_java.json
    +++ b/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S2235_java.json
    @@ -13,5 +13,6 @@
       "defaultSeverity": "Critical",
       "ruleSpecification": "RSPEC-2235",
       "sqKey": "S2235",
    -  "scope": "Main"
    +  "scope": "Main",
    +  "quickfix": "unknown"
     }
    diff --git a/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S2236_java.json b/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S2236_java.json
    index a40ebf56baf..70dfc260b47 100644
    --- a/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S2236_java.json
    +++ b/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S2236_java.json
    @@ -12,5 +12,6 @@
       "defaultSeverity": "Blocker",
       "ruleSpecification": "RSPEC-2236",
       "sqKey": "S2236",
    -  "scope": "All"
    +  "scope": "All",
    +  "quickfix": "unknown"
     }
    diff --git a/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S2245_java.json b/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S2245_java.json
    index ec3758ffd95..8d2157057cd 100644
    --- a/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S2245_java.json
    +++ b/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S2245_java.json
    @@ -16,21 +16,6 @@
       "sqKey": "S2245",
       "scope": "Main",
       "securityStandards": {
    -    "CWE": [
    -      338,
    -      330,
    -      326,
    -      1241
    -    ],
    -    "OWASP": [
    -      "A3"
    -    ],
    -    "OWASP Mobile": [
    -      "M5"
    -    ],
    -    "MASVS": [
    -      "MSTG-CRYPTO-6"
    -    ],
         "CERT": [
           "MSC02-J.",
           "MSC30-C.",
    diff --git a/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S2250_java.json b/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S2250_java.json
    index f3e4690c1f6..fb2273d6e57 100644
    --- a/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S2250_java.json
    +++ b/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S2250_java.json
    @@ -12,5 +12,6 @@
       "defaultSeverity": "Minor",
       "ruleSpecification": "RSPEC-2250",
       "sqKey": "S2250",
    -  "scope": "Main"
    +  "scope": "Main",
    +  "quickfix": "unknown"
     }
    diff --git a/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S2251_java.json b/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S2251_java.json
    index 037077b6a08..020c38d519c 100644
    --- a/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S2251_java.json
    +++ b/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S2251_java.json
    @@ -12,7 +12,8 @@
       "defaultSeverity": "Major",
       "ruleSpecification": "RSPEC-2251",
       "sqKey": "S2251",
    -  "scope": "All",
    +  "scope": "Main",
    +  "quickfix": "unknown",
       "securityStandards": {
         "CERT": [
           "MSC54-J."
    diff --git a/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S2252_java.json b/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S2252_java.json
    index 77b0a6cea56..17f13643937 100644
    --- a/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S2252_java.json
    +++ b/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S2252_java.json
    @@ -10,5 +10,6 @@
       "defaultSeverity": "Major",
       "ruleSpecification": "RSPEC-2252",
       "sqKey": "S2252",
    -  "scope": "All"
    +  "scope": "All",
    +  "quickfix": "unknown"
     }
    diff --git a/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S2253_java.json b/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S2253_java.json
    index d707716a6ce..a5092d247f0 100644
    --- a/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S2253_java.json
    +++ b/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S2253_java.json
    @@ -10,5 +10,6 @@
       "defaultSeverity": "Major",
       "ruleSpecification": "RSPEC-2253",
       "sqKey": "S2253",
    -  "scope": "Main"
    +  "scope": "Main",
    +  "quickfix": "unknown"
     }
    diff --git a/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S2254_java.json b/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S2254_java.json
    index 38c1040b5d9..5275d010b98 100644
    --- a/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S2254_java.json
    +++ b/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S2254_java.json
    @@ -22,5 +22,6 @@
         "OWASP": [
           "A2"
         ]
    -  }
    +  },
    +  "quickfix": "unknown"
     }
    diff --git a/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S2259_java.json b/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S2259_java.json
    index 473bf14c42a..7892783746c 100644
    --- a/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S2259_java.json
    +++ b/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S2259_java.json
    @@ -15,12 +15,10 @@
       "sqKey": "S2259",
       "scope": "Main",
       "securityStandards": {
    -    "CWE": [
    -      476
    -    ],
         "CERT": [
           "EXP34-C.",
           "EXP01-J."
         ]
    -  }
    +  },
    +  "quickfix": "unknown"
     }
    diff --git a/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S2260_java.json b/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S2260_java.json
    index 8ad9d589947..ac444c5aaa7 100644
    --- a/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S2260_java.json
    +++ b/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S2260_java.json
    @@ -12,5 +12,6 @@
       "defaultSeverity": "Major",
       "ruleSpecification": "RSPEC-2260",
       "sqKey": "S2260",
    -  "scope": "All"
    +  "scope": "Main",
    +  "quickfix": "unknown"
     }
    diff --git a/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S2272_java.json b/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S2272_java.json
    index e2cc49091cd..4fc6b00e136 100644
    --- a/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S2272_java.json
    +++ b/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S2272_java.json
    @@ -13,5 +13,6 @@
       "defaultSeverity": "Minor",
       "ruleSpecification": "RSPEC-2272",
       "sqKey": "S2272",
    -  "scope": "Main"
    +  "scope": "Main",
    +  "quickfix": "unknown"
     }
    diff --git a/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S2273_java.json b/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S2273_java.json
    index 8ac58b3d7db..b0b81840dde 100644
    --- a/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S2273_java.json
    +++ b/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S2273_java.json
    @@ -12,5 +12,6 @@
       "defaultSeverity": "Major",
       "ruleSpecification": "RSPEC-2273",
       "sqKey": "S2273",
    -  "scope": "All"
    +  "scope": "All",
    +  "quickfix": "unknown"
     }
    diff --git a/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S2274_java.json b/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S2274_java.json
    index fd05dcd7593..5909de815b6 100644
    --- a/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S2274_java.json
    +++ b/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S2274_java.json
    @@ -18,5 +18,6 @@
         "CERT": [
           "THI03-J."
         ]
    -  }
    +  },
    +  "quickfix": "unknown"
     }
    diff --git a/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S2275_java.json b/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S2275_java.json
    index 13031b65506..8a59e7de924 100644
    --- a/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S2275_java.json
    +++ b/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S2275_java.json
    @@ -13,6 +13,7 @@
       "ruleSpecification": "RSPEC-2275",
       "sqKey": "S2275",
       "scope": "All",
    +  "quickfix": "unknown",
       "securityStandards": {
         "CERT": [
           "FIO47-C."
    diff --git a/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S2276_java.json b/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S2276_java.json
    index 7e64c886a3d..6764a67014d 100644
    --- a/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S2276_java.json
    +++ b/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S2276_java.json
    @@ -19,5 +19,6 @@
         "CERT": [
           "LCK09-J."
         ]
    -  }
    +  },
    +  "quickfix": "unknown"
     }
    diff --git a/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S2293_java.json b/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S2293_java.json
    index 73d54c5ca0f..bf563ba9897 100644
    --- a/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S2293_java.json
    +++ b/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S2293_java.json
    @@ -12,5 +12,6 @@
       "defaultSeverity": "Minor",
       "ruleSpecification": "RSPEC-2293",
       "sqKey": "S2293",
    -  "scope": "All"
    +  "scope": "All",
    +  "quickfix": "covered"
     }
    diff --git a/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S2301_java.json b/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S2301_java.json
    index 0d4804a99b8..23419364b4b 100644
    --- a/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S2301_java.json
    +++ b/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S2301_java.json
    @@ -12,5 +12,6 @@
       "defaultSeverity": "Major",
       "ruleSpecification": "RSPEC-2301",
       "sqKey": "S2301",
    -  "scope": "Main"
    +  "scope": "Main",
    +  "quickfix": "unknown"
     }
    diff --git a/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S2308_java.json b/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S2308_java.json
    index 42b924a8717..505236d6c90 100644
    --- a/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S2308_java.json
    +++ b/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S2308_java.json
    @@ -11,6 +11,7 @@
       ],
       "defaultSeverity": "Major",
       "ruleSpecification": "RSPEC-2308",
    -  "sqKey": "CallToFileDeleteOnExitMethod",
    -  "scope": "Main"
    +  "sqKey": "S2308",
    +  "scope": "Main",
    +  "quickfix": "unknown"
     }
    diff --git a/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S2309_java.json b/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S2309_java.json
    index 1406711ad25..2d027214e49 100644
    --- a/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S2309_java.json
    +++ b/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S2309_java.json
    @@ -11,6 +11,7 @@
       ],
       "defaultSeverity": "Minor",
       "ruleSpecification": "RSPEC-2309",
    -  "sqKey": "EmptyFile",
    -  "scope": "All"
    +  "sqKey": "S2309",
    +  "scope": "All",
    +  "quickfix": "unknown"
     }
    diff --git a/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S2325_java.json b/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S2325_java.json
    index 8260fe3c340..80a9c918d2b 100644
    --- a/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S2325_java.json
    +++ b/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S2325_java.json
    @@ -12,5 +12,6 @@
       "defaultSeverity": "Minor",
       "ruleSpecification": "RSPEC-2325",
       "sqKey": "S2325",
    -  "scope": "All"
    +  "scope": "All",
    +  "quickfix": "covered"
     }
    diff --git a/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S2326_java.json b/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S2326_java.json
    index 3875b5728b0..961dc57ce3d 100644
    --- a/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S2326_java.json
    +++ b/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S2326_java.json
    @@ -14,6 +14,7 @@
       "ruleSpecification": "RSPEC-2326",
       "sqKey": "S2326",
       "scope": "All",
    +  "quickfix": "unknown",
       "securityStandards": {
         "CERT": [
           "MSC12-CPP."
    diff --git a/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S2333_java.json b/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S2333_java.json
    index a4ad14b3993..0e03be9840f 100644
    --- a/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S2333_java.json
    +++ b/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S2333_java.json
    @@ -13,5 +13,6 @@
       "defaultSeverity": "Minor",
       "ruleSpecification": "RSPEC-2333",
       "sqKey": "S2333",
    -  "scope": "All"
    +  "scope": "All",
    +  "quickfix": "unknown"
     }
    diff --git a/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S2384_java.json b/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S2384_java.json
    index 759ea4d92a2..b691b632c40 100644
    --- a/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S2384_java.json
    +++ b/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S2384_java.json
    @@ -16,14 +16,11 @@
       "sqKey": "S2384",
       "scope": "Main",
       "securityStandards": {
    -    "CWE": [
    -      375,
    -      374
    -    ],
         "CERT": [
           "OBJ05-J.",
           "OBJ06-J.",
           "OBJ13-J."
         ]
    -  }
    +  },
    +  "quickfix": "unknown"
     }
    diff --git a/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S2386_java.json b/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S2386_java.json
    index d0dd1f1ac45..0611a7c11fd 100644
    --- a/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S2386_java.json
    +++ b/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S2386_java.json
    @@ -16,13 +16,10 @@
       "sqKey": "S2386",
       "scope": "Main",
       "securityStandards": {
    -    "CWE": [
    -      607,
    -      582
    -    ],
         "CERT": [
           "OBJ01-J.",
           "OBJ13-J."
         ]
    -  }
    +  },
    +  "quickfix": "unknown"
     }
    diff --git a/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S2387_java.json b/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S2387_java.json
    index 83128e0dab3..d28b6589cdc 100644
    --- a/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S2387_java.json
    +++ b/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S2387_java.json
    @@ -12,5 +12,6 @@
       "defaultSeverity": "Blocker",
       "ruleSpecification": "RSPEC-2387",
       "sqKey": "S2387",
    -  "scope": "Main"
    +  "scope": "Main",
    +  "quickfix": "unknown"
     }
    diff --git a/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S2388_java.json b/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S2388_java.json
    index 55332c36dc4..edac375805d 100644
    --- a/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S2388_java.json
    +++ b/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S2388_java.json
    @@ -12,5 +12,6 @@
       "defaultSeverity": "Major",
       "ruleSpecification": "RSPEC-2388",
       "sqKey": "S2388",
    -  "scope": "All"
    +  "scope": "All",
    +  "quickfix": "unknown"
     }
    diff --git a/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S2390_java.json b/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S2390_java.json
    index c31ae672f5b..dc4c9b699e7 100644
    --- a/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S2390_java.json
    +++ b/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S2390_java.json
    @@ -17,5 +17,6 @@
         "CERT": [
           "DCL00-J."
         ]
    -  }
    +  },
    +  "quickfix": "unknown"
     }
    diff --git a/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S2437_java.json b/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S2437_java.json
    index 54bc4508ca6..7cf859c957b 100644
    --- a/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S2437_java.json
    +++ b/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S2437_java.json
    @@ -12,5 +12,6 @@
       "defaultSeverity": "Blocker",
       "ruleSpecification": "RSPEC-2437",
       "sqKey": "S2437",
    -  "scope": "All"
    +  "scope": "All",
    +  "quickfix": "unknown"
     }
    diff --git a/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S2438_java.json b/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S2438_java.json
    index 3935b4fe42b..21381a5bc07 100644
    --- a/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S2438_java.json
    +++ b/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S2438_java.json
    @@ -13,5 +13,6 @@
       "defaultSeverity": "Major",
       "ruleSpecification": "RSPEC-2438",
       "sqKey": "S2438",
    -  "scope": "All"
    +  "scope": "All",
    +  "quickfix": "unknown"
     }
    diff --git a/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S2440_java.json b/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S2440_java.json
    index 9a7d2dc158c..73ba0316fdb 100644
    --- a/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S2440_java.json
    +++ b/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S2440_java.json
    @@ -12,5 +12,6 @@
       "defaultSeverity": "Major",
       "ruleSpecification": "RSPEC-2440",
       "sqKey": "S2440",
    -  "scope": "All"
    +  "scope": "All",
    +  "quickfix": "unknown"
     }
    diff --git a/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S2441_java.json b/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S2441_java.json
    index 1b8ef0fcc53..c6827274bdd 100644
    --- a/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S2441_java.json
    +++ b/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S2441_java.json
    @@ -17,5 +17,6 @@
         "CWE": [
           579
         ]
    -  }
    +  },
    +  "quickfix": "unknown"
     }
    diff --git a/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S2442_java.json b/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S2442_java.json
    index 5ea6777fb6b..85c01685c14 100644
    --- a/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S2442_java.json
    +++ b/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S2442_java.json
    @@ -19,5 +19,6 @@
         "CERT": [
           "LCK03-J."
         ]
    -  }
    +  },
    +  "quickfix": "unknown"
     }
    diff --git a/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S2444_java.json b/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S2444_java.json
    index 17b41655c33..1104961ab99 100644
    --- a/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S2444_java.json
    +++ b/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S2444_java.json
    @@ -12,5 +12,6 @@
       "defaultSeverity": "Critical",
       "ruleSpecification": "RSPEC-2444",
       "sqKey": "S2444",
    -  "scope": "All"
    +  "scope": "All",
    +  "quickfix": "unknown"
     }
    diff --git a/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S2445_java.json b/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S2445_java.json
    index e98fbfd8d58..8716f6196f3 100644
    --- a/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S2445_java.json
    +++ b/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S2445_java.json
    @@ -16,12 +16,9 @@
       "sqKey": "S2445",
       "scope": "All",
       "securityStandards": {
    -    "CWE": [
    -      412,
    -      413
    -    ],
         "CERT": [
           "LCK00-J."
         ]
    -  }
    +  },
    +  "quickfix": "unknown"
     }
    diff --git a/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S2446_java.json b/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S2446_java.json
    index 7c9169904c9..4d043bf44bd 100644
    --- a/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S2446_java.json
    +++ b/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S2446_java.json
    @@ -18,5 +18,6 @@
         "CERT": [
           "THI02-J."
         ]
    -  }
    +  },
    +  "quickfix": "covered"
     }
    diff --git a/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S2447_java.json b/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S2447_java.json
    index e9f94aee62b..dd31977a7a4 100644
    --- a/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S2447_java.json
    +++ b/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S2447_java.json
    @@ -22,5 +22,6 @@
         "CERT": [
           "EXP01-J."
         ]
    -  }
    +  },
    +  "quickfix": "unknown"
     }
    diff --git a/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S2479_java.json b/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S2479_java.json
    index 1cac2c55637..81d0582e687 100644
    --- a/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S2479_java.json
    +++ b/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S2479_java.json
    @@ -12,5 +12,6 @@
       "defaultSeverity": "Critical",
       "ruleSpecification": "RSPEC-2479",
       "sqKey": "S2479",
    -  "scope": "Main"
    +  "scope": "Main",
    +  "quickfix": "unknown"
     }
    diff --git a/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S2583_java.json b/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S2583_java.json
    index e4daf7c9773..cf4570c872c 100644
    --- a/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S2583_java.json
    +++ b/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S2583_java.json
    @@ -18,13 +18,9 @@
       "sqKey": "S2583",
       "scope": "All",
       "securityStandards": {
    -    "CWE": [
    -      489,
    -      571,
    -      570
    -    ],
         "CERT": [
           "MSC12-C."
         ]
    -  }
    +  },
    +  "quickfix": "unknown"
     }
    diff --git a/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S2589_java.json b/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S2589_java.json
    index 42f48950b7f..2fc4965ebf8 100644
    --- a/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S2589_java.json
    +++ b/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S2589_java.json
    @@ -15,15 +15,11 @@
       "defaultSeverity": "Major",
       "ruleSpecification": "RSPEC-2589",
       "sqKey": "S2589",
    -  "scope": "All",
    +  "scope": "Main",
       "securityStandards": {
    -    "CWE": [
    -      489,
    -      571,
    -      570
    -    ],
         "CERT": [
           "MSC12-C."
         ]
    -  }
    +  },
    +  "quickfix": "unknown"
     }
    diff --git a/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S2612_java.json b/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S2612_java.json
    index a6c515b699a..15da629fb43 100644
    --- a/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S2612_java.json
    +++ b/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S2612_java.json
    @@ -17,13 +17,6 @@
       "sqKey": "S2612",
       "scope": "Main",
       "securityStandards": {
    -    "CWE": [
    -      732,
    -      266
    -    ],
    -    "OWASP": [
    -      "A5"
    -    ],
         "CERT": [
           "FIO01-J.",
           "FIO06-C."
    diff --git a/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S2629_java.json b/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S2629_java.json
    index cdbd378133b..b48eb2bf0af 100644
    --- a/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S2629_java.json
    +++ b/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S2629_java.json
    @@ -12,5 +12,6 @@
       "defaultSeverity": "Major",
       "ruleSpecification": "RSPEC-2629",
       "sqKey": "S2629",
    -  "scope": "Main"
    +  "scope": "Main",
    +  "quickfix": "unknown"
     }
    diff --git a/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S2637_java.json b/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S2637_java.json
    index 213b982ec51..9203270252b 100644
    --- a/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S2637_java.json
    +++ b/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S2637_java.json
    @@ -21,5 +21,6 @@
         "CERT": [
           "EXP01-J."
         ]
    -  }
    +  },
    +  "quickfix": "unknown"
     }
    diff --git a/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S2638_java.json b/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S2638_java.json
    index 8d33ec5b35d..9c9ea509fa2 100644
    --- a/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S2638_java.json
    +++ b/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S2638_java.json
    @@ -12,5 +12,6 @@
       "defaultSeverity": "Critical",
       "ruleSpecification": "RSPEC-2638",
       "sqKey": "S2638",
    -  "scope": "Main"
    +  "scope": "Main",
    +  "quickfix": "unknown"
     }
    diff --git a/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S2639_java.json b/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S2639_java.json
    index 8be4dcde29e..319b9354f23 100644
    --- a/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S2639_java.json
    +++ b/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S2639_java.json
    @@ -10,5 +10,6 @@
       "defaultSeverity": "Major",
       "ruleSpecification": "RSPEC-2639",
       "sqKey": "S2639",
    -  "scope": "All"
    +  "scope": "All",
    +  "quickfix": "unknown"
     }
    diff --git a/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S2647_java.json b/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S2647_java.json
    index f85fe66ea4a..b44b32b8680 100644
    --- a/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S2647_java.json
    +++ b/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S2647_java.json
    @@ -17,11 +17,11 @@
       "scope": "Main",
       "securityStandards": {
         "CWE": [
    -      522,
    -      311
    +      522
         ],
         "OWASP": [
           "A3"
         ]
    -  }
    +  },
    +  "quickfix": "unknown"
     }
    diff --git a/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S2658_java.json b/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S2658_java.json
    index c922e88b96e..73f5984f40d 100644
    --- a/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S2658_java.json
    +++ b/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S2658_java.json
    @@ -10,5 +10,6 @@
       "defaultSeverity": "Critical",
       "ruleSpecification": "RSPEC-2658",
       "sqKey": "S2658",
    -  "scope": "Main"
    +  "scope": "Main",
    +  "quickfix": "unknown"
     }
    diff --git a/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S2674_java.json b/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S2674_java.json
    index f9375fa7ac2..d886e5a8b28 100644
    --- a/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S2674_java.json
    +++ b/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S2674_java.json
    @@ -13,6 +13,7 @@
       "ruleSpecification": "RSPEC-2674",
       "sqKey": "S2674",
       "scope": "Main",
    +  "quickfix": "unknown",
       "securityStandards": {
         "CERT": [
           "FIO10-J."
    diff --git a/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S2675_java.json b/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S2675_java.json
    index 52bc5813110..31455d83143 100644
    --- a/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S2675_java.json
    +++ b/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S2675_java.json
    @@ -12,5 +12,6 @@
       "defaultSeverity": "Major",
       "ruleSpecification": "RSPEC-2675",
       "sqKey": "S2675",
    -  "scope": "All"
    +  "scope": "All",
    +  "quickfix": "unknown"
     }
    diff --git a/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S2676_java.json b/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S2676_java.json
    index 236b0207c00..512a8f1a96d 100644
    --- a/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S2676_java.json
    +++ b/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S2676_java.json
    @@ -10,5 +10,6 @@
       "defaultSeverity": "Minor",
       "ruleSpecification": "RSPEC-2676",
       "sqKey": "S2676",
    -  "scope": "All"
    +  "scope": "All",
    +  "quickfix": "unknown"
     }
    diff --git a/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S2677_java.json b/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S2677_java.json
    index 275199b295c..5468a1e4f2e 100644
    --- a/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S2677_java.json
    +++ b/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S2677_java.json
    @@ -10,5 +10,6 @@
       "defaultSeverity": "Major",
       "ruleSpecification": "RSPEC-2677",
       "sqKey": "S2677",
    -  "scope": "Main"
    +  "scope": "Main",
    +  "quickfix": "unknown"
     }
    diff --git a/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S2681_java.json b/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S2681_java.json
    index 6835616f3f2..e918c5ea1a9 100644
    --- a/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S2681_java.json
    +++ b/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S2681_java.json
    @@ -13,13 +13,11 @@
       "defaultSeverity": "Major",
       "ruleSpecification": "RSPEC-2681",
       "sqKey": "S2681",
    -  "scope": "All",
    +  "scope": "Main",
       "securityStandards": {
    -    "CWE": [
    -      483
    -    ],
         "CERT": [
           "EXP52-J."
         ]
    -  }
    +  },
    +  "quickfix": "unknown"
     }
    diff --git a/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S2689_java.json b/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S2689_java.json
    index 3184173c4b0..5c5ace5cf01 100644
    --- a/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S2689_java.json
    +++ b/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S2689_java.json
    @@ -12,5 +12,6 @@
       "defaultSeverity": "Blocker",
       "ruleSpecification": "RSPEC-2689",
       "sqKey": "S2689",
    -  "scope": "Main"
    +  "scope": "Main",
    +  "quickfix": "unknown"
     }
    diff --git a/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S2692_java.json b/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S2692_java.json
    index 478af37d059..b4c713118a3 100644
    --- a/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S2692_java.json
    +++ b/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S2692_java.json
    @@ -12,5 +12,6 @@
       "defaultSeverity": "Critical",
       "ruleSpecification": "RSPEC-2692",
       "sqKey": "S2692",
    -  "scope": "All"
    +  "scope": "Main",
    +  "quickfix": "unknown"
     }
    diff --git a/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S2693_java.json b/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S2693_java.json
    index d2599ee9f8e..316b0398732 100644
    --- a/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S2693_java.json
    +++ b/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S2693_java.json
    @@ -19,5 +19,6 @@
         "CERT": [
           "TSM02-J."
         ]
    -  }
    +  },
    +  "quickfix": "unknown"
     }
    diff --git a/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S2694_java.json b/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S2694_java.json
    index de001ecd321..811f37bbd46 100644
    --- a/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S2694_java.json
    +++ b/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S2694_java.json
    @@ -12,5 +12,6 @@
       "defaultSeverity": "Major",
       "ruleSpecification": "RSPEC-2694",
       "sqKey": "S2694",
    -  "scope": "Main"
    +  "scope": "Main",
    +  "quickfix": "unknown"
     }
    diff --git a/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S2695_java.html b/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S2695_java.html
    index 0e6f69fa0d0..826bee47bc6 100644
    --- a/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S2695_java.html
    +++ b/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S2695_java.html
    @@ -1,6 +1,6 @@
    -

    The parameters in a PreparedStatement are numbered from 1, not 0, so using any "set" method of a PreparedStatement with a -number less than 1 is a bug, as is using an index higher than the number of parameters. Similarly, ResultSet indices also start at 1, -rather than 0

    +

    The parameters in a PreparedStatement are indexed beginning at 1, not 0, so using any "set" method of a PreparedStatement +with a number less than 1 is a bug, as is using an index higher than the number of parameters. The same indexing style also applies to +ResultSet.

    Noncompliant Code Example

     PreparedStatement ps = con.prepareStatement("SELECT fname, lname FROM employees where hireDate > ? and salary < ?");
    diff --git a/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S2695_java.json b/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S2695_java.json
    index a451713983d..0e92a002cf3 100644
    --- a/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S2695_java.json
    +++ b/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S2695_java.json
    @@ -12,5 +12,6 @@
       "defaultSeverity": "Blocker",
       "ruleSpecification": "RSPEC-2695",
       "sqKey": "S2695",
    -  "scope": "All"
    +  "scope": "All",
    +  "quickfix": "unknown"
     }
    diff --git a/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S2696_java.json b/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S2696_java.json
    index 7de55a71090..860616fbe03 100644
    --- a/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S2696_java.json
    +++ b/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S2696_java.json
    @@ -12,5 +12,6 @@
       "defaultSeverity": "Critical",
       "ruleSpecification": "RSPEC-2696",
       "sqKey": "S2696",
    -  "scope": "Main"
    +  "scope": "Main",
    +  "quickfix": "unknown"
     }
    diff --git a/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S2698_java.json b/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S2698_java.json
    index 44a7901479a..9de0954551c 100644
    --- a/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S2698_java.json
    +++ b/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S2698_java.json
    @@ -13,5 +13,6 @@
       "defaultSeverity": "Minor",
       "ruleSpecification": "RSPEC-2698",
       "sqKey": "S2698",
    -  "scope": "Tests"
    +  "scope": "Tests",
    +  "quickfix": "unknown"
     }
    diff --git a/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S2699_java.json b/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S2699_java.json
    index acf4325cfc1..b6eee578b32 100644
    --- a/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S2699_java.json
    +++ b/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S2699_java.json
    @@ -13,5 +13,6 @@
       "defaultSeverity": "Blocker",
       "ruleSpecification": "RSPEC-2699",
       "sqKey": "S2699",
    -  "scope": "Tests"
    +  "scope": "Tests",
    +  "quickfix": "unknown"
     }
    diff --git a/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S2701_java.json b/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S2701_java.json
    index 586f18fe5bf..819f738f2bb 100644
    --- a/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S2701_java.json
    +++ b/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S2701_java.json
    @@ -13,5 +13,6 @@
       "defaultSeverity": "Minor",
       "ruleSpecification": "RSPEC-2701",
       "sqKey": "S2701",
    -  "scope": "Tests"
    +  "scope": "Tests",
    +  "quickfix": "unknown"
     }
    diff --git a/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S2718_java.json b/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S2718_java.json
    index 38d120b88a6..ff8e549886e 100644
    --- a/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S2718_java.json
    +++ b/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S2718_java.json
    @@ -13,5 +13,6 @@
       "defaultSeverity": "Major",
       "ruleSpecification": "RSPEC-2718",
       "sqKey": "S2718",
    -  "scope": "All"
    +  "scope": "All",
    +  "quickfix": "unknown"
     }
    diff --git a/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S2737_java.json b/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S2737_java.json
    index ce56ac85232..8ce14dea5c4 100644
    --- a/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S2737_java.json
    +++ b/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S2737_java.json
    @@ -15,5 +15,6 @@
       "defaultSeverity": "Minor",
       "ruleSpecification": "RSPEC-2737",
       "sqKey": "S2737",
    -  "scope": "Main"
    +  "scope": "Main",
    +  "quickfix": "unknown"
     }
    diff --git a/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S2755_java.json b/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S2755_java.json
    index 1d0597c0a82..dc556ab467c 100644
    --- a/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S2755_java.json
    +++ b/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S2755_java.json
    @@ -22,5 +22,6 @@
         "OWASP": [
           "A4"
         ]
    -  }
    +  },
    +  "quickfix": "unknown"
     }
    diff --git a/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S2757_java.json b/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S2757_java.json
    index 0c755d53fbb..8742db6cd40 100644
    --- a/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S2757_java.json
    +++ b/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S2757_java.json
    @@ -10,5 +10,6 @@
       "defaultSeverity": "Major",
       "ruleSpecification": "RSPEC-2757",
       "sqKey": "S2757",
    -  "scope": "All"
    +  "scope": "Main",
    +  "quickfix": "unknown"
     }
    diff --git a/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S2761_java.json b/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S2761_java.json
    index db0d969e3b5..6671e226553 100644
    --- a/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S2761_java.json
    +++ b/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S2761_java.json
    @@ -10,5 +10,6 @@
       "defaultSeverity": "Major",
       "ruleSpecification": "RSPEC-2761",
       "sqKey": "S2761",
    -  "scope": "All"
    +  "scope": "All",
    +  "quickfix": "unknown"
     }
    diff --git a/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S2786_java.json b/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S2786_java.json
    index 8ce799aff9d..962965c1197 100644
    --- a/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S2786_java.json
    +++ b/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S2786_java.json
    @@ -12,5 +12,6 @@
       "defaultSeverity": "Minor",
       "ruleSpecification": "RSPEC-2786",
       "sqKey": "S2786",
    -  "scope": "All"
    +  "scope": "All",
    +  "quickfix": "unknown"
     }
    diff --git a/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S2789_java.json b/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S2789_java.json
    index d27e4f480ce..e539a94769f 100644
    --- a/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S2789_java.json
    +++ b/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S2789_java.json
    @@ -12,5 +12,6 @@
       "defaultSeverity": "Major",
       "ruleSpecification": "RSPEC-2789",
       "sqKey": "S2789",
    -  "scope": "All"
    +  "scope": "All",
    +  "quickfix": "unknown"
     }
    diff --git a/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S2864_java.json b/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S2864_java.json
    index 1de6075ebec..277b3fc45f4 100644
    --- a/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S2864_java.json
    +++ b/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S2864_java.json
    @@ -12,5 +12,6 @@
       "defaultSeverity": "Major",
       "ruleSpecification": "RSPEC-2864",
       "sqKey": "S2864",
    -  "scope": "All"
    +  "scope": "All",
    +  "quickfix": "unknown"
     }
    diff --git a/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S2885_java.json b/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S2885_java.json
    index e847de5fd70..1112abe01e1 100644
    --- a/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S2885_java.json
    +++ b/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S2885_java.json
    @@ -12,5 +12,6 @@
       "defaultSeverity": "Major",
       "ruleSpecification": "RSPEC-2885",
       "sqKey": "S2885",
    -  "scope": "Main"
    +  "scope": "Main",
    +  "quickfix": "unknown"
     }
    diff --git a/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S2886_java.json b/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S2886_java.json
    index 8ab5881520d..3ca16095058 100644
    --- a/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S2886_java.json
    +++ b/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S2886_java.json
    @@ -18,5 +18,6 @@
         "CERT": [
           "VNA01-J."
         ]
    -  }
    +  },
    +  "quickfix": "unknown"
     }
    diff --git a/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S2912_java.json b/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S2912_java.json
    index 662daf7f313..6c4b385c955 100644
    --- a/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S2912_java.json
    +++ b/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S2912_java.json
    @@ -12,5 +12,6 @@
       "defaultSeverity": "Minor",
       "ruleSpecification": "RSPEC-2912",
       "sqKey": "S2912",
    -  "scope": "All"
    +  "scope": "All",
    +  "quickfix": "unknown"
     }
    diff --git a/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S2924_java.json b/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S2924_java.json
    index e325aa3ad27..19dab144694 100644
    --- a/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S2924_java.json
    +++ b/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S2924_java.json
    @@ -14,5 +14,6 @@
       "defaultSeverity": "Minor",
       "ruleSpecification": "RSPEC-2924",
       "sqKey": "S2924",
    -  "scope": "Tests"
    +  "scope": "Tests",
    +  "quickfix": "unknown"
     }
    diff --git a/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S2925_java.json b/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S2925_java.json
    index 41554a96039..15d23fa6890 100644
    --- a/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S2925_java.json
    +++ b/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S2925_java.json
    @@ -13,5 +13,6 @@
       "defaultSeverity": "Major",
       "ruleSpecification": "RSPEC-2925",
       "sqKey": "S2925",
    -  "scope": "Tests"
    +  "scope": "Tests",
    +  "quickfix": "unknown"
     }
    diff --git a/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S2959_java.json b/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S2959_java.json
    index 9f3fe5b73c3..8314d98b798 100644
    --- a/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S2959_java.json
    +++ b/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S2959_java.json
    @@ -12,5 +12,6 @@
       "defaultSeverity": "Minor",
       "ruleSpecification": "RSPEC-2959",
       "sqKey": "S2959",
    -  "scope": "All"
    +  "scope": "All",
    +  "quickfix": "unknown"
     }
    diff --git a/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S2970_java.json b/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S2970_java.json
    index de5edfaa3e6..613a7b5856d 100644
    --- a/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S2970_java.json
    +++ b/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S2970_java.json
    @@ -14,5 +14,6 @@
       "defaultSeverity": "Blocker",
       "ruleSpecification": "RSPEC-2970",
       "sqKey": "S2970",
    -  "scope": "Tests"
    +  "scope": "Tests",
    +  "quickfix": "unknown"
     }
    diff --git a/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S2972_java.json b/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S2972_java.json
    index ec0f8c8539f..87c1cab4d04 100644
    --- a/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S2972_java.json
    +++ b/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S2972_java.json
    @@ -12,5 +12,6 @@
       "defaultSeverity": "Major",
       "ruleSpecification": "RSPEC-2972",
       "sqKey": "S2972",
    -  "scope": "All"
    +  "scope": "All",
    +  "quickfix": "unknown"
     }
    diff --git a/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S2973_java.json b/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S2973_java.json
    index 8e69edb3ea5..b8093f74396 100644
    --- a/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S2973_java.json
    +++ b/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S2973_java.json
    @@ -12,5 +12,6 @@
       "defaultSeverity": "Major",
       "ruleSpecification": "RSPEC-2973",
       "sqKey": "S2973",
    -  "scope": "All"
    +  "scope": "All",
    +  "quickfix": "unknown"
     }
    diff --git a/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S2974_java.json b/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S2974_java.json
    index a0223e7712a..f61465a9ed4 100644
    --- a/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S2974_java.json
    +++ b/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S2974_java.json
    @@ -12,5 +12,6 @@
       "defaultSeverity": "Minor",
       "ruleSpecification": "RSPEC-2974",
       "sqKey": "S2974",
    -  "scope": "Main"
    +  "scope": "Main",
    +  "quickfix": "unknown"
     }
    diff --git a/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S2975_java.json b/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S2975_java.json
    index d0d6a8c218f..3302b665075 100644
    --- a/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S2975_java.json
    +++ b/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S2975_java.json
    @@ -12,5 +12,6 @@
       "defaultSeverity": "Blocker",
       "ruleSpecification": "RSPEC-2975",
       "sqKey": "S2975",
    -  "scope": "Main"
    +  "scope": "Main",
    +  "quickfix": "unknown"
     }
    diff --git a/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S3008_java.json b/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S3008_java.json
    index c687fe10693..a7ffed85755 100644
    --- a/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S3008_java.json
    +++ b/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S3008_java.json
    @@ -12,5 +12,6 @@
       "defaultSeverity": "Minor",
       "ruleSpecification": "RSPEC-3008",
       "sqKey": "S3008",
    -  "scope": "All"
    +  "scope": "All",
    +  "quickfix": "unknown"
     }
    diff --git a/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S3010_java.json b/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S3010_java.json
    index ff0cb58531d..04f3ef7ffd0 100644
    --- a/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S3010_java.json
    +++ b/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S3010_java.json
    @@ -10,5 +10,6 @@
       "defaultSeverity": "Major",
       "ruleSpecification": "RSPEC-3010",
       "sqKey": "S3010",
    -  "scope": "Main"
    +  "scope": "Main",
    +  "quickfix": "unknown"
     }
    diff --git a/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S3011_java.json b/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S3011_java.json
    index 4130cb08ec0..0ad41fe5c5d 100644
    --- a/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S3011_java.json
    +++ b/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S3011_java.json
    @@ -13,6 +13,7 @@
       "ruleSpecification": "RSPEC-3011",
       "sqKey": "S3011",
       "scope": "Main",
    +  "quickfix": "unknown",
       "securityStandards": {
         "CERT": [
           "SEC05-J."
    diff --git a/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S3012_java.json b/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S3012_java.json
    index e235ba753e7..9c6cb87a814 100644
    --- a/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S3012_java.json
    +++ b/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S3012_java.json
    @@ -12,5 +12,6 @@
       "defaultSeverity": "Minor",
       "ruleSpecification": "RSPEC-3012",
       "sqKey": "S3012",
    -  "scope": "Main"
    +  "scope": "Main",
    +  "quickfix": "unknown"
     }
    diff --git a/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S3014_java.json b/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S3014_java.json
    index 137205fd774..689ec230beb 100644
    --- a/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S3014_java.json
    +++ b/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S3014_java.json
    @@ -19,5 +19,6 @@
         "CERT": [
           "THI01-J."
         ]
    -  }
    +  },
    +  "quickfix": "unknown"
     }
    diff --git a/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S3020_java.json b/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S3020_java.json
    index daddc0ebb7b..2674aa819bf 100644
    --- a/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S3020_java.json
    +++ b/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S3020_java.json
    @@ -10,5 +10,6 @@
       "defaultSeverity": "Minor",
       "ruleSpecification": "RSPEC-3020",
       "sqKey": "S3020",
    -  "scope": "All"
    +  "scope": "All",
    +  "quickfix": "covered"
     }
    diff --git a/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S3030_java.json b/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S3030_java.json
    index 3c37df8009b..544376534d1 100644
    --- a/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S3030_java.json
    +++ b/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S3030_java.json
    @@ -12,5 +12,6 @@
       "defaultSeverity": "Major",
       "ruleSpecification": "RSPEC-3030",
       "sqKey": "S3030",
    -  "scope": "All"
    +  "scope": "All",
    +  "quickfix": "unknown"
     }
    diff --git a/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S3032_java.json b/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S3032_java.json
    index 312093b68b3..f8477e8a619 100644
    --- a/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S3032_java.json
    +++ b/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S3032_java.json
    @@ -12,5 +12,6 @@
       "defaultSeverity": "Minor",
       "ruleSpecification": "RSPEC-3032",
       "sqKey": "S3032",
    -  "scope": "Main"
    +  "scope": "Main",
    +  "quickfix": "unknown"
     }
    diff --git a/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S3034_java.json b/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S3034_java.json
    index 74946d0b5c6..155f16f8463 100644
    --- a/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S3034_java.json
    +++ b/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S3034_java.json
    @@ -17,5 +17,6 @@
         "CERT": [
           "NUM52-J."
         ]
    -  }
    +  },
    +  "quickfix": "unknown"
     }
    diff --git a/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S3038_java.json b/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S3038_java.json
    index d97a0ba7771..8298352cbdc 100644
    --- a/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S3038_java.json
    +++ b/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S3038_java.json
    @@ -12,5 +12,6 @@
       "defaultSeverity": "Minor",
       "ruleSpecification": "RSPEC-3038",
       "sqKey": "S3038",
    -  "scope": "All"
    +  "scope": "All",
    +  "quickfix": "unknown"
     }
    diff --git a/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S3039_java.json b/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S3039_java.json
    index 7e30ef198e6..4e0af4eb772 100644
    --- a/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S3039_java.json
    +++ b/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S3039_java.json
    @@ -10,5 +10,6 @@
       "defaultSeverity": "Major",
       "ruleSpecification": "RSPEC-3039",
       "sqKey": "S3039",
    -  "scope": "Main"
    +  "scope": "Main",
    +  "quickfix": "unknown"
     }
    diff --git a/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S3042_java.json b/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S3042_java.json
    index 756f2b1606c..de249d498be 100644
    --- a/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S3042_java.json
    +++ b/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S3042_java.json
    @@ -12,5 +12,6 @@
       "defaultSeverity": "Major",
       "ruleSpecification": "RSPEC-3042",
       "sqKey": "S3042",
    -  "scope": "All"
    +  "scope": "All",
    +  "quickfix": "unknown"
     }
    diff --git a/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S3046_java.json b/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S3046_java.json
    index 66c4210c05e..6fd5992b1cf 100644
    --- a/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S3046_java.json
    +++ b/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S3046_java.json
    @@ -13,5 +13,6 @@
       "defaultSeverity": "Blocker",
       "ruleSpecification": "RSPEC-3046",
       "sqKey": "S3046",
    -  "scope": "Main"
    +  "scope": "Main",
    +  "quickfix": "unknown"
     }
    diff --git a/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S3047_java.json b/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S3047_java.json
    index 2295e01bfc8..050a164ab0c 100644
    --- a/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S3047_java.json
    +++ b/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S3047_java.json
    @@ -12,5 +12,6 @@
       "defaultSeverity": "Minor",
       "ruleSpecification": "RSPEC-3047",
       "sqKey": "S3047",
    -  "scope": "Main"
    +  "scope": "Main",
    +  "quickfix": "unknown"
     }
    diff --git a/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S3052_java.json b/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S3052_java.json
    index 79bfcd342eb..c3746be6671 100644
    --- a/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S3052_java.json
    +++ b/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S3052_java.json
    @@ -13,5 +13,6 @@
       "defaultSeverity": "Minor",
       "ruleSpecification": "RSPEC-3052",
       "sqKey": "S3052",
    -  "scope": "All"
    +  "scope": "All",
    +  "quickfix": "unknown"
     }
    diff --git a/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S3064_java.json b/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S3064_java.json
    index 89d9ea5abf2..c5d0b07fb41 100644
    --- a/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S3064_java.json
    +++ b/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S3064_java.json
    @@ -18,5 +18,6 @@
         "CERT": [
           "LCK10-J."
         ]
    -  }
    +  },
    +  "quickfix": "unknown"
     }
    diff --git a/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S3065_java.json b/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S3065_java.json
    index a05818e995f..968f395e038 100644
    --- a/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S3065_java.json
    +++ b/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S3065_java.json
    @@ -10,5 +10,6 @@
       "defaultSeverity": "Major",
       "ruleSpecification": "RSPEC-3065",
       "sqKey": "S3065",
    -  "scope": "Main"
    +  "scope": "Main",
    +  "quickfix": "unknown"
     }
    diff --git a/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S3066_java.json b/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S3066_java.json
    index 33777b9823b..ea17ce98ca5 100644
    --- a/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S3066_java.json
    +++ b/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S3066_java.json
    @@ -12,5 +12,6 @@
       "defaultSeverity": "Minor",
       "ruleSpecification": "RSPEC-3066",
       "sqKey": "S3066",
    -  "scope": "Main"
    +  "scope": "Main",
    +  "quickfix": "unknown"
     }
    diff --git a/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S3067_java.json b/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S3067_java.json
    index a66de939741..86b16b4309f 100644
    --- a/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S3067_java.json
    +++ b/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S3067_java.json
    @@ -18,5 +18,6 @@
         "CERT": [
           "LCK02-J."
         ]
    -  }
    +  },
    +  "quickfix": "unknown"
     }
    diff --git a/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S3077_java.json b/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S3077_java.json
    index 0ab4816fe32..1877e98424c 100644
    --- a/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S3077_java.json
    +++ b/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S3077_java.json
    @@ -18,5 +18,6 @@
         "CERT": [
           "CON50-J."
         ]
    -  }
    +  },
    +  "quickfix": "unknown"
     }
    diff --git a/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S3078_java.json b/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S3078_java.json
    index b0aee47aa87..feec543a255 100644
    --- a/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S3078_java.json
    +++ b/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S3078_java.json
    @@ -18,5 +18,6 @@
         "CERT": [
           "VNA02-J."
         ]
    -  }
    +  },
    +  "quickfix": "unknown"
     }
    diff --git a/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S3242_java.json b/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S3242_java.json
    index b77f57c5c86..2dd3bb21f8a 100644
    --- a/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S3242_java.json
    +++ b/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S3242_java.json
    @@ -12,5 +12,6 @@
       "defaultSeverity": "Minor",
       "ruleSpecification": "RSPEC-3242",
       "sqKey": "S3242",
    -  "scope": "All"
    +  "scope": "All",
    +  "quickfix": "unknown"
     }
    diff --git a/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S3252_java.json b/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S3252_java.json
    index f93ec6fe023..7dc7ae6cb09 100644
    --- a/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S3252_java.json
    +++ b/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S3252_java.json
    @@ -12,5 +12,6 @@
       "defaultSeverity": "Critical",
       "ruleSpecification": "RSPEC-3252",
       "sqKey": "S3252",
    -  "scope": "Main"
    +  "scope": "Main",
    +  "quickfix": "covered"
     }
    diff --git a/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S3254_java.json b/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S3254_java.json
    index e97382102f3..c0f349589c1 100644
    --- a/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S3254_java.json
    +++ b/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S3254_java.json
    @@ -13,5 +13,6 @@
       "defaultSeverity": "Minor",
       "ruleSpecification": "RSPEC-3254",
       "sqKey": "S3254",
    -  "scope": "Main"
    +  "scope": "Main",
    +  "quickfix": "unknown"
     }
    diff --git a/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S3281_java.json b/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S3281_java.json
    index 7d999835599..655a5873646 100644
    --- a/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S3281_java.json
    +++ b/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S3281_java.json
    @@ -17,5 +17,6 @@
         "OWASP": [
           "A6"
         ]
    -  }
    +  },
    +  "quickfix": "unknown"
     }
    diff --git a/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S3282_java.json b/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S3282_java.json
    index efce2addcf6..986411a0c89 100644
    --- a/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S3282_java.json
    +++ b/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S3282_java.json
    @@ -12,5 +12,6 @@
       "defaultSeverity": "Blocker",
       "ruleSpecification": "RSPEC-3282",
       "sqKey": "S3282",
    -  "scope": "Main"
    +  "scope": "Main",
    +  "quickfix": "unknown"
     }
    diff --git a/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S3305_java.json b/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S3305_java.json
    index 77e1f995871..d349526d55b 100644
    --- a/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S3305_java.json
    +++ b/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S3305_java.json
    @@ -13,5 +13,6 @@
       "defaultSeverity": "Critical",
       "ruleSpecification": "RSPEC-3305",
       "sqKey": "S3305",
    -  "scope": "Main"
    +  "scope": "Main",
    +  "quickfix": "unknown"
     }
    diff --git a/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S3306_java.json b/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S3306_java.json
    index 716b405e436..2e7a6507570 100644
    --- a/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S3306_java.json
    +++ b/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S3306_java.json
    @@ -15,5 +15,6 @@
       "defaultSeverity": "Major",
       "ruleSpecification": "RSPEC-3306",
       "sqKey": "S3306",
    -  "scope": "All"
    +  "scope": "All",
    +  "quickfix": "unknown"
     }
    diff --git a/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S3329_java.json b/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S3329_java.json
    index 37f34f07c71..cddb37040ba 100644
    --- a/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S3329_java.json
    +++ b/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S3329_java.json
    @@ -30,5 +30,6 @@
         "MASVS": [
           "MSTG-CRYPTO-6"
         ]
    -  }
    +  },
    +  "quickfix": "unknown"
     }
    diff --git a/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S3346_java.json b/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S3346_java.json
    index ccbdf98e25d..d970cfd41ed 100644
    --- a/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S3346_java.json
    +++ b/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S3346_java.json
    @@ -13,6 +13,7 @@
       "ruleSpecification": "RSPEC-3346",
       "sqKey": "S3346",
       "scope": "Main",
    +  "quickfix": "unknown",
       "securityStandards": {
         "CERT": [
           "EXP06-J."
    diff --git a/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S3355_java.json b/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S3355_java.json
    index b544ecbaf5f..f092bf4df50 100644
    --- a/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S3355_java.json
    +++ b/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S3355_java.json
    @@ -17,5 +17,6 @@
         "OWASP": [
           "A6"
         ]
    -  }
    +  },
    +  "quickfix": "unknown"
     }
    diff --git a/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S3358_java.json b/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S3358_java.json
    index 4d3caa80ef3..c4e336b01f2 100644
    --- a/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S3358_java.json
    +++ b/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S3358_java.json
    @@ -12,5 +12,6 @@
       "defaultSeverity": "Major",
       "ruleSpecification": "RSPEC-3358",
       "sqKey": "S3358",
    -  "scope": "All"
    +  "scope": "Main",
    +  "quickfix": "unknown"
     }
    diff --git a/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S3366_java.json b/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S3366_java.json
    index 816646dc951..a9f9707dbea 100644
    --- a/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S3366_java.json
    +++ b/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S3366_java.json
    @@ -15,6 +15,7 @@
       "ruleSpecification": "RSPEC-3366",
       "sqKey": "S3366",
       "scope": "Main",
    +  "quickfix": "unknown",
       "securityStandards": {
         "CERT": [
           "TSM01-J.",
    diff --git a/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S3373_java.json b/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S3373_java.json
    index 1f61a43b75c..4cf2532430e 100644
    --- a/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S3373_java.json
    +++ b/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S3373_java.json
    @@ -14,5 +14,6 @@
       "defaultSeverity": "Minor",
       "ruleSpecification": "RSPEC-3373",
       "sqKey": "S3373",
    -  "scope": "Main"
    +  "scope": "Main",
    +  "quickfix": "unknown"
     }
    diff --git a/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S3374_java.json b/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S3374_java.json
    index a1134686a6b..7f792427758 100644
    --- a/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S3374_java.json
    +++ b/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S3374_java.json
    @@ -18,5 +18,6 @@
         "CWE": [
           102
         ]
    -  }
    +  },
    +  "quickfix": "unknown"
     }
    diff --git a/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S3398_java.json b/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S3398_java.json
    index b3ecaedf15c..ef177d698f6 100644
    --- a/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S3398_java.json
    +++ b/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S3398_java.json
    @@ -12,5 +12,6 @@
       "defaultSeverity": "Minor",
       "ruleSpecification": "RSPEC-3398",
       "sqKey": "S3398",
    -  "scope": "All"
    +  "scope": "All",
    +  "quickfix": "unknown"
     }
    diff --git a/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S3400_java.json b/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S3400_java.json
    index 0e12c75fd9a..7929fe95541 100644
    --- a/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S3400_java.json
    +++ b/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S3400_java.json
    @@ -12,5 +12,6 @@
       "defaultSeverity": "Minor",
       "ruleSpecification": "RSPEC-3400",
       "sqKey": "S3400",
    -  "scope": "Main"
    +  "scope": "Main",
    +  "quickfix": "unknown"
     }
    diff --git a/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S3414_java.json b/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S3414_java.json
    index a4441a850a7..79a6e68f044 100644
    --- a/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S3414_java.json
    +++ b/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S3414_java.json
    @@ -13,5 +13,6 @@
       "defaultSeverity": "Major",
       "ruleSpecification": "RSPEC-3414",
       "sqKey": "S3414",
    -  "scope": "Main"
    +  "scope": "Main",
    +  "quickfix": "unknown"
     }
    diff --git a/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S3415_java.json b/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S3415_java.json
    index 2b3cff73bc3..4c33a44e838 100644
    --- a/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S3415_java.json
    +++ b/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S3415_java.json
    @@ -14,5 +14,6 @@
       "defaultSeverity": "Major",
       "ruleSpecification": "RSPEC-3415",
       "sqKey": "S3415",
    -  "scope": "Tests"
    +  "scope": "Tests",
    +  "quickfix": "partial"
     }
    diff --git a/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S3416_java.json b/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S3416_java.json
    index 22ede5cca14..7e0e41ea817 100644
    --- a/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S3416_java.json
    +++ b/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S3416_java.json
    @@ -12,5 +12,6 @@
       "defaultSeverity": "Minor",
       "ruleSpecification": "RSPEC-3416",
       "sqKey": "S3416",
    -  "scope": "Main"
    +  "scope": "Main",
    +  "quickfix": "unknown"
     }
    diff --git a/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S3417_java.json b/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S3417_java.json
    index a1b1f852a3f..6536e7783f1 100644
    --- a/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S3417_java.json
    +++ b/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S3417_java.json
    @@ -12,5 +12,6 @@
       "defaultSeverity": "Major",
       "ruleSpecification": "RSPEC-3417",
       "sqKey": "S3417",
    -  "scope": "Main"
    +  "scope": "Main",
    +  "quickfix": "unknown"
     }
    diff --git a/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S3419_java.json b/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S3419_java.json
    index 65466886d4d..8326a843772 100644
    --- a/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S3419_java.json
    +++ b/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S3419_java.json
    @@ -13,5 +13,6 @@
       "defaultSeverity": "Minor",
       "ruleSpecification": "RSPEC-3419",
       "sqKey": "S3419",
    -  "scope": "All"
    +  "scope": "All",
    +  "quickfix": "unknown"
     }
    diff --git a/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S3420_java.json b/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S3420_java.json
    index c5b96b106b3..a2748c921d0 100644
    --- a/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S3420_java.json
    +++ b/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S3420_java.json
    @@ -13,5 +13,6 @@
       "defaultSeverity": "Minor",
       "ruleSpecification": "RSPEC-3420",
       "sqKey": "S3420",
    -  "scope": "All"
    +  "scope": "All",
    +  "quickfix": "unknown"
     }
    diff --git a/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S3421_java.json b/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S3421_java.json
    index 640cd0924d0..9feb989adb2 100644
    --- a/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S3421_java.json
    +++ b/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S3421_java.json
    @@ -13,5 +13,6 @@
       "defaultSeverity": "Minor",
       "ruleSpecification": "RSPEC-3421",
       "sqKey": "S3421",
    -  "scope": "All"
    +  "scope": "All",
    +  "quickfix": "unknown"
     }
    diff --git a/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S3422_java.json b/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S3422_java.json
    index 660bf6dc3ae..1796500f1a0 100644
    --- a/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S3422_java.json
    +++ b/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S3422_java.json
    @@ -13,5 +13,6 @@
       "defaultSeverity": "Critical",
       "ruleSpecification": "RSPEC-3422",
       "sqKey": "S3422",
    -  "scope": "All"
    +  "scope": "All",
    +  "quickfix": "unknown"
     }
    diff --git a/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S3423_java.json b/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S3423_java.json
    index 965196da4fb..83db92e15d8 100644
    --- a/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S3423_java.json
    +++ b/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S3423_java.json
    @@ -13,5 +13,6 @@
       "defaultSeverity": "Minor",
       "ruleSpecification": "RSPEC-3423",
       "sqKey": "S3423",
    -  "scope": "Main"
    +  "scope": "Main",
    +  "quickfix": "unknown"
     }
    diff --git a/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S3436_java.json b/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S3436_java.json
    index d9db66bfe80..09c128087e8 100644
    --- a/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S3436_java.json
    +++ b/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S3436_java.json
    @@ -14,5 +14,6 @@
       "defaultSeverity": "Major",
       "ruleSpecification": "RSPEC-3436",
       "sqKey": "S3436",
    -  "scope": "All"
    +  "scope": "All",
    +  "quickfix": "unknown"
     }
    diff --git a/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S3437_java.json b/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S3437_java.json
    index 840ae1ca639..aa46579cee4 100644
    --- a/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S3437_java.json
    +++ b/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S3437_java.json
    @@ -14,5 +14,6 @@
       "defaultSeverity": "Minor",
       "ruleSpecification": "RSPEC-3437",
       "sqKey": "S3437",
    -  "scope": "Main"
    +  "scope": "Main",
    +  "quickfix": "unknown"
     }
    diff --git a/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S3438_java.json b/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S3438_java.json
    index 56af30d199e..d8ac6eab8fd 100644
    --- a/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S3438_java.json
    +++ b/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S3438_java.json
    @@ -12,5 +12,6 @@
       "defaultSeverity": "Major",
       "ruleSpecification": "RSPEC-3438",
       "sqKey": "S3438",
    -  "scope": "Main"
    +  "scope": "Main",
    +  "quickfix": "unknown"
     }
    diff --git a/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S3439_java.json b/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S3439_java.json
    index c684d38c675..4c55351e16f 100644
    --- a/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S3439_java.json
    +++ b/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S3439_java.json
    @@ -12,5 +12,6 @@
       "defaultSeverity": "Major",
       "ruleSpecification": "RSPEC-3439",
       "sqKey": "S3439",
    -  "scope": "Main"
    +  "scope": "Main",
    +  "quickfix": "unknown"
     }
    diff --git a/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S3457_java.json b/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S3457_java.json
    index 98e064825fc..f9285c68797 100644
    --- a/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S3457_java.json
    +++ b/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S3457_java.json
    @@ -14,6 +14,7 @@
       "ruleSpecification": "RSPEC-3457",
       "sqKey": "S3457",
       "scope": "All",
    +  "quickfix": "unknown",
       "securityStandards": {
         "CERT": [
           "FIO47-C."
    diff --git a/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S3516_java.json b/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S3516_java.json
    index eb0e8ff14fa..ff0c3d6fff5 100644
    --- a/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S3516_java.json
    +++ b/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S3516_java.json
    @@ -11,5 +11,6 @@
       "defaultSeverity": "Blocker",
       "ruleSpecification": "RSPEC-3516",
       "sqKey": "S3516",
    -  "scope": "Main"
    +  "scope": "Main",
    +  "quickfix": "unknown"
     }
    diff --git a/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S3518_java.json b/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S3518_java.json
    index 54bbb3d6d27..3d12d29beb1 100644
    --- a/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S3518_java.json
    +++ b/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S3518_java.json
    @@ -16,12 +16,10 @@
       "sqKey": "S3518",
       "scope": "All",
       "securityStandards": {
    -    "CWE": [
    -      369
    -    ],
         "CERT": [
           "NUM02-J.",
           "INT33-C."
         ]
    -  }
    +  },
    +  "quickfix": "unknown"
     }
    diff --git a/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S3546_java.json b/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S3546_java.json
    index 88e3be4870e..44222b8f795 100644
    --- a/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S3546_java.json
    +++ b/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S3546_java.json
    @@ -12,5 +12,6 @@
       "defaultSeverity": "Blocker",
       "ruleSpecification": "RSPEC-3546",
       "sqKey": "S3546",
    -  "scope": "Main"
    +  "scope": "Main",
    +  "quickfix": "unknown"
     }
    diff --git a/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S3551_java.json b/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S3551_java.json
    index a71a4b81f8b..36f90043b69 100644
    --- a/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S3551_java.json
    +++ b/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S3551_java.json
    @@ -18,5 +18,6 @@
         "CERT": [
           "TSM00-J."
         ]
    -  }
    +  },
    +  "quickfix": "unknown"
     }
    diff --git a/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S3553_java.json b/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S3553_java.json
    index 97aab31b5ea..94512f6dbdf 100644
    --- a/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S3553_java.json
    +++ b/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S3553_java.json
    @@ -12,5 +12,6 @@
       "defaultSeverity": "Major",
       "ruleSpecification": "RSPEC-3553",
       "sqKey": "S3553",
    -  "scope": "All"
    +  "scope": "All",
    +  "quickfix": "unknown"
     }
    diff --git a/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S3577_java.json b/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S3577_java.json
    index ef29f9cfb9e..5395a620f5e 100644
    --- a/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S3577_java.json
    +++ b/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S3577_java.json
    @@ -13,5 +13,6 @@
       "defaultSeverity": "Minor",
       "ruleSpecification": "RSPEC-3577",
       "sqKey": "S3577",
    -  "scope": "Tests"
    +  "scope": "Tests",
    +  "quickfix": "unknown"
     }
    diff --git a/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S3578_java.json b/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S3578_java.json
    index 781ee13e57b..f9a8ec17e32 100644
    --- a/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S3578_java.json
    +++ b/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S3578_java.json
    @@ -13,5 +13,6 @@
       "defaultSeverity": "Minor",
       "ruleSpecification": "RSPEC-3578",
       "sqKey": "S3578",
    -  "scope": "Tests"
    +  "scope": "Tests",
    +  "quickfix": "unknown"
     }
    diff --git a/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S3599_java.json b/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S3599_java.json
    index c8e0be36ce3..ac0ab3df908 100644
    --- a/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S3599_java.json
    +++ b/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S3599_java.json
    @@ -12,5 +12,6 @@
       "defaultSeverity": "Minor",
       "ruleSpecification": "RSPEC-3599",
       "sqKey": "S3599",
    -  "scope": "All"
    +  "scope": "All",
    +  "quickfix": "unknown"
     }
    diff --git a/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S3626_java.json b/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S3626_java.json
    index d746c96e295..2b31b503377 100644
    --- a/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S3626_java.json
    +++ b/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S3626_java.json
    @@ -13,5 +13,6 @@
       "defaultSeverity": "Minor",
       "ruleSpecification": "RSPEC-3626",
       "sqKey": "S3626",
    -  "scope": "All"
    +  "scope": "Main",
    +  "quickfix": "unknown"
     }
    diff --git a/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S3631_java.json b/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S3631_java.json
    index 8b549c0230e..33e367c3d83 100644
    --- a/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S3631_java.json
    +++ b/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S3631_java.json
    @@ -12,5 +12,6 @@
       "defaultSeverity": "Major",
       "ruleSpecification": "RSPEC-3631",
       "sqKey": "S3631",
    -  "scope": "All"
    +  "scope": "All",
    +  "quickfix": "unknown"
     }
    diff --git a/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S3655_java.json b/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S3655_java.json
    index 018e0b6d78c..c5f6dfec4f3 100644
    --- a/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S3655_java.json
    +++ b/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S3655_java.json
    @@ -17,5 +17,6 @@
         "CWE": [
           476
         ]
    -  }
    +  },
    +  "quickfix": "unknown"
     }
    diff --git a/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S3658_java.json b/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S3658_java.json
    index 6d93c531abf..aff8ce942d5 100644
    --- a/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S3658_java.json
    +++ b/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S3658_java.json
    @@ -15,5 +15,6 @@
       "defaultSeverity": "Minor",
       "ruleSpecification": "RSPEC-3658",
       "sqKey": "S3658",
    -  "scope": "Tests"
    +  "scope": "Tests",
    +  "quickfix": "unknown"
     }
    diff --git a/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S3688_java.json b/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S3688_java.json
    index 99d2073d934..1b64e622638 100644
    --- a/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S3688_java.json
    +++ b/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S3688_java.json
    @@ -10,5 +10,6 @@
       "defaultSeverity": "Info",
       "ruleSpecification": "RSPEC-3688",
       "sqKey": "S3688",
    -  "scope": "All"
    +  "scope": "All",
    +  "quickfix": "unknown"
     }
    diff --git a/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S3725_java.json b/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S3725_java.json
    index 39254c86fea..b8346180161 100644
    --- a/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S3725_java.json
    +++ b/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S3725_java.json
    @@ -13,5 +13,6 @@
       "defaultSeverity": "Major",
       "ruleSpecification": "RSPEC-3725",
       "sqKey": "S3725",
    -  "scope": "All"
    +  "scope": "All",
    +  "quickfix": "unknown"
     }
    diff --git a/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S3740_java.json b/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S3740_java.json
    index 8df0f1b3072..ab6969c99c0 100644
    --- a/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S3740_java.json
    +++ b/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S3740_java.json
    @@ -12,5 +12,6 @@
       "defaultSeverity": "Major",
       "ruleSpecification": "RSPEC-3740",
       "sqKey": "S3740",
    -  "scope": "All"
    +  "scope": "All",
    +  "quickfix": "unknown"
     }
    diff --git a/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S3749_java.json b/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S3749_java.json
    index c29c5377589..7e0f4ba7624 100644
    --- a/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S3749_java.json
    +++ b/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S3749_java.json
    @@ -18,5 +18,6 @@
         "OWASP": [
           "A3"
         ]
    -  }
    +  },
    +  "quickfix": "unknown"
     }
    diff --git a/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S3750_java.json b/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S3750_java.json
    index bd8de849f1a..13c664e9cac 100644
    --- a/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S3750_java.json
    +++ b/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S3750_java.json
    @@ -12,5 +12,6 @@
       "defaultSeverity": "Major",
       "ruleSpecification": "RSPEC-3750",
       "sqKey": "S3750",
    -  "scope": "Main"
    +  "scope": "Main",
    +  "quickfix": "unknown"
     }
    diff --git a/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S3751_java.json b/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S3751_java.json
    index 4f462539601..c2e08da9acc 100644
    --- a/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S3751_java.json
    +++ b/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S3751_java.json
    @@ -18,5 +18,6 @@
         "OWASP": [
           "A6"
         ]
    -  }
    +  },
    +  "quickfix": "unknown"
     }
    diff --git a/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S3753_java.json b/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S3753_java.json
    index 33755326d4a..23c5667cd02 100644
    --- a/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S3753_java.json
    +++ b/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S3753_java.json
    @@ -12,5 +12,6 @@
       "defaultSeverity": "Blocker",
       "ruleSpecification": "RSPEC-3753",
       "sqKey": "S3753",
    -  "scope": "Main"
    +  "scope": "Main",
    +  "quickfix": "unknown"
     }
    diff --git a/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S3776_java.json b/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S3776_java.json
    index 25b219aa044..96e0a2ab81e 100644
    --- a/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S3776_java.json
    +++ b/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S3776_java.json
    @@ -14,5 +14,6 @@
       "defaultSeverity": "Critical",
       "ruleSpecification": "RSPEC-3776",
       "sqKey": "S3776",
    -  "scope": "All"
    +  "scope": "Main",
    +  "quickfix": "unknown"
     }
    diff --git a/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S3822_java.json b/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S3822_java.json
    index 0d0d7311175..2e943337ce0 100644
    --- a/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S3822_java.json
    +++ b/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S3822_java.json
    @@ -13,5 +13,6 @@
       "defaultSeverity": "Critical",
       "ruleSpecification": "RSPEC-3822",
       "sqKey": "S3822",
    -  "scope": "All"
    +  "scope": "All",
    +  "quickfix": "unknown"
     }
    diff --git a/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S3824_java.json b/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S3824_java.json
    index 7c2a2ca9b59..dc92047ed7e 100644
    --- a/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S3824_java.json
    +++ b/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S3824_java.json
    @@ -12,5 +12,6 @@
       "defaultSeverity": "Major",
       "ruleSpecification": "RSPEC-3824",
       "sqKey": "S3824",
    -  "scope": "All"
    +  "scope": "All",
    +  "quickfix": "unknown"
     }
    diff --git a/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S3864_java.json b/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S3864_java.json
    index bdaea7a58fc..7dc261573ce 100644
    --- a/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S3864_java.json
    +++ b/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S3864_java.json
    @@ -13,5 +13,6 @@
       "defaultSeverity": "Major",
       "ruleSpecification": "RSPEC-3864",
       "sqKey": "S3864",
    -  "scope": "All"
    +  "scope": "All",
    +  "quickfix": "unknown"
     }
    diff --git a/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S3878_java.json b/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S3878_java.json
    index fb823566a23..b9a4e4ae8f4 100644
    --- a/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S3878_java.json
    +++ b/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S3878_java.json
    @@ -12,5 +12,6 @@
       "defaultSeverity": "Minor",
       "ruleSpecification": "RSPEC-3878",
       "sqKey": "S3878",
    -  "scope": "All"
    +  "scope": "All",
    +  "quickfix": "unknown"
     }
    diff --git a/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S3923_java.json b/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S3923_java.json
    index 2d949d3bd39..3b9cfd0dd40 100644
    --- a/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S3923_java.json
    +++ b/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S3923_java.json
    @@ -10,5 +10,6 @@
       "defaultSeverity": "Major",
       "ruleSpecification": "RSPEC-3923",
       "sqKey": "S3923",
    -  "scope": "All"
    +  "scope": "Main",
    +  "quickfix": "unknown"
     }
    diff --git a/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S3937_java.json b/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S3937_java.json
    index 61b48d4667b..cb90f325fcb 100644
    --- a/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S3937_java.json
    +++ b/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S3937_java.json
    @@ -12,5 +12,6 @@
       "defaultSeverity": "Critical",
       "ruleSpecification": "RSPEC-3937",
       "sqKey": "S3937",
    -  "scope": "All"
    +  "scope": "All",
    +  "quickfix": "unknown"
     }
    diff --git a/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S3958_java.json b/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S3958_java.json
    index e6bbb27b16e..1ffdfcbc249 100644
    --- a/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S3958_java.json
    +++ b/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S3958_java.json
    @@ -12,5 +12,6 @@
       "defaultSeverity": "Major",
       "ruleSpecification": "RSPEC-3958",
       "sqKey": "S3958",
    -  "scope": "All"
    +  "scope": "All",
    +  "quickfix": "unknown"
     }
    diff --git a/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S3959_java.json b/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S3959_java.json
    index c32f261f30b..86e0e61a77d 100644
    --- a/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S3959_java.json
    +++ b/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S3959_java.json
    @@ -12,5 +12,6 @@
       "defaultSeverity": "Major",
       "ruleSpecification": "RSPEC-3959",
       "sqKey": "S3959",
    -  "scope": "All"
    +  "scope": "All",
    +  "quickfix": "unknown"
     }
    diff --git a/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S3972_java.json b/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S3972_java.json
    index 8aa4f06ef85..30adc3cbf4c 100644
    --- a/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S3972_java.json
    +++ b/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S3972_java.json
    @@ -12,5 +12,6 @@
       "defaultSeverity": "Critical",
       "ruleSpecification": "RSPEC-3972",
       "sqKey": "S3972",
    -  "scope": "All"
    +  "scope": "Main",
    +  "quickfix": "unknown"
     }
    diff --git a/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S3973_java.json b/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S3973_java.json
    index 4d328c28171..358e05894ce 100644
    --- a/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S3973_java.json
    +++ b/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S3973_java.json
    @@ -13,5 +13,6 @@
       "defaultSeverity": "Critical",
       "ruleSpecification": "RSPEC-3973",
       "sqKey": "S3973",
    -  "scope": "All"
    +  "scope": "Main",
    +  "quickfix": "unknown"
     }
    diff --git a/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S3981_java.json b/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S3981_java.json
    index 365d062160b..94a2d2f43ba 100644
    --- a/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S3981_java.json
    +++ b/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S3981_java.json
    @@ -10,5 +10,6 @@
       "defaultSeverity": "Major",
       "ruleSpecification": "RSPEC-3981",
       "sqKey": "S3981",
    -  "scope": "All"
    +  "scope": "Main",
    +  "quickfix": "unknown"
     }
    diff --git a/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S3984_java.json b/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S3984_java.json
    index 406b183e6eb..e59289c2251 100644
    --- a/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S3984_java.json
    +++ b/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S3984_java.json
    @@ -12,5 +12,6 @@
       "defaultSeverity": "Major",
       "ruleSpecification": "RSPEC-3984",
       "sqKey": "S3984",
    -  "scope": "All"
    +  "scope": "Main",
    +  "quickfix": "covered"
     }
    diff --git a/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S3985_java.json b/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S3985_java.json
    index cc42518675d..936851c0c44 100644
    --- a/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S3985_java.json
    +++ b/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S3985_java.json
    @@ -12,5 +12,6 @@
       "defaultSeverity": "Major",
       "ruleSpecification": "RSPEC-3985",
       "sqKey": "S3985",
    -  "scope": "All"
    +  "scope": "All",
    +  "quickfix": "unknown"
     }
    diff --git a/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S3986_java.json b/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S3986_java.json
    index 2051f3cb051..680b0099f8e 100644
    --- a/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S3986_java.json
    +++ b/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S3986_java.json
    @@ -12,5 +12,6 @@
       "defaultSeverity": "Major",
       "ruleSpecification": "RSPEC-3986",
       "sqKey": "S3986",
    -  "scope": "All"
    +  "scope": "All",
    +  "quickfix": "partial"
     }
    diff --git a/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S4011_java.json b/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S4011_java.json
    index 01c4c2b8360..918094d4497 100644
    --- a/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S4011_java.json
    +++ b/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S4011_java.json
    @@ -10,5 +10,6 @@
       "defaultSeverity": "Major",
       "ruleSpecification": "RSPEC-4011",
       "sqKey": "S4011",
    -  "scope": "Main"
    +  "scope": "Main",
    +  "quickfix": "unknown"
     }
    diff --git a/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S4032_java.json b/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S4032_java.json
    index 55804a5df69..1356e3e5054 100644
    --- a/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S4032_java.json
    +++ b/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S4032_java.json
    @@ -12,5 +12,6 @@
       "defaultSeverity": "Minor",
       "ruleSpecification": "RSPEC-4032",
       "sqKey": "S4032",
    -  "scope": "All"
    +  "scope": "All",
    +  "quickfix": "unknown"
     }
    diff --git a/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S4034_java.json b/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S4034_java.json
    index 987305ff572..e3a931850ec 100644
    --- a/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S4034_java.json
    +++ b/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S4034_java.json
    @@ -12,5 +12,6 @@
       "defaultSeverity": "Minor",
       "ruleSpecification": "RSPEC-4034",
       "sqKey": "S4034",
    -  "scope": "All"
    +  "scope": "All",
    +  "quickfix": "unknown"
     }
    diff --git a/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S4042_java.json b/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S4042_java.json
    index 7b0278226b1..3c307e557f6 100644
    --- a/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S4042_java.json
    +++ b/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S4042_java.json
    @@ -13,5 +13,6 @@
       "defaultSeverity": "Major",
       "ruleSpecification": "RSPEC-4042",
       "sqKey": "S4042",
    -  "scope": "All"
    +  "scope": "All",
    +  "quickfix": "unknown"
     }
    diff --git a/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S4065_java.json b/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S4065_java.json
    index 3c84aafe4c1..1be08e63bfd 100644
    --- a/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S4065_java.json
    +++ b/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S4065_java.json
    @@ -12,5 +12,6 @@
       "defaultSeverity": "Minor",
       "ruleSpecification": "RSPEC-4065",
       "sqKey": "S4065",
    -  "scope": "All"
    +  "scope": "All",
    +  "quickfix": "unknown"
     }
    diff --git a/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S4087_java.json b/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S4087_java.json
    index 0e1a73fab8e..dee29dd1246 100644
    --- a/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S4087_java.json
    +++ b/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S4087_java.json
    @@ -12,5 +12,6 @@
       "defaultSeverity": "Minor",
       "ruleSpecification": "RSPEC-4087",
       "sqKey": "S4087",
    -  "scope": "All"
    +  "scope": "All",
    +  "quickfix": "unknown"
     }
    diff --git a/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S4143_java.json b/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S4143_java.json
    index be8edbfda47..4b7bec043ff 100644
    --- a/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S4143_java.json
    +++ b/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S4143_java.json
    @@ -12,5 +12,6 @@
       "defaultSeverity": "Major",
       "ruleSpecification": "RSPEC-4143",
       "sqKey": "S4143",
    -  "scope": "All"
    +  "scope": "Main",
    +  "quickfix": "unknown"
     }
    diff --git a/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S4144_java.json b/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S4144_java.json
    index ca3705f9f9d..f1bf63cc2d5 100644
    --- a/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S4144_java.json
    +++ b/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S4144_java.json
    @@ -14,5 +14,6 @@
       "defaultSeverity": "Major",
       "ruleSpecification": "RSPEC-4144",
       "sqKey": "S4144",
    -  "scope": "All"
    +  "scope": "Main",
    +  "quickfix": "unknown"
     }
    diff --git a/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S4165_java.json b/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S4165_java.json
    index abc367a5964..b4c5ebb4ddb 100644
    --- a/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S4165_java.json
    +++ b/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S4165_java.json
    @@ -12,5 +12,6 @@
       "defaultSeverity": "Major",
       "ruleSpecification": "RSPEC-4165",
       "sqKey": "S4165",
    -  "scope": "All"
    +  "scope": "Main",
    +  "quickfix": "unknown"
     }
    diff --git a/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S4174_java.json b/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S4174_java.json
    index b4bed630e19..a7157c0e9ac 100644
    --- a/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S4174_java.json
    +++ b/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S4174_java.json
    @@ -12,5 +12,6 @@
       "defaultSeverity": "Minor",
       "ruleSpecification": "RSPEC-4174",
       "sqKey": "S4174",
    -  "scope": "All"
    +  "scope": "All",
    +  "quickfix": "unknown"
     }
    diff --git a/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S4201_java.json b/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S4201_java.json
    index 93521dcbc68..d572619a1fe 100644
    --- a/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S4201_java.json
    +++ b/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S4201_java.json
    @@ -12,5 +12,6 @@
       "defaultSeverity": "Minor",
       "ruleSpecification": "RSPEC-4201",
       "sqKey": "S4201",
    -  "scope": "All"
    +  "scope": "All",
    +  "quickfix": "unknown"
     }
    diff --git a/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S4248_java.json b/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S4248_java.json
    index a1e9194b4ae..e702ad010f2 100644
    --- a/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S4248_java.json
    +++ b/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S4248_java.json
    @@ -13,5 +13,6 @@
       "defaultSeverity": "Major",
       "ruleSpecification": "RSPEC-4248",
       "sqKey": "S4248",
    -  "scope": "All"
    +  "scope": "All",
    +  "quickfix": "unknown"
     }
    diff --git a/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S4266_java.json b/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S4266_java.json
    index 17d8fe7de3d..bf90520049a 100644
    --- a/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S4266_java.json
    +++ b/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S4266_java.json
    @@ -12,5 +12,6 @@
       "defaultSeverity": "Minor",
       "ruleSpecification": "RSPEC-4266",
       "sqKey": "S4266",
    -  "scope": "All"
    +  "scope": "All",
    +  "quickfix": "unknown"
     }
    diff --git a/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S4274_java.json b/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S4274_java.json
    index efdb0e97319..3db81f581af 100644
    --- a/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S4274_java.json
    +++ b/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S4274_java.json
    @@ -12,5 +12,6 @@
       "defaultSeverity": "Major",
       "ruleSpecification": "RSPEC-4274",
       "sqKey": "S4274",
    -  "scope": "Main"
    +  "scope": "Main",
    +  "quickfix": "unknown"
     }
    diff --git a/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S4275_java.json b/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S4275_java.json
    index 396c5b927fe..10d907cbd37 100644
    --- a/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S4275_java.json
    +++ b/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S4275_java.json
    @@ -12,5 +12,6 @@
       "defaultSeverity": "Critical",
       "ruleSpecification": "RSPEC-4275",
       "sqKey": "S4275",
    -  "scope": "All"
    +  "scope": "Main",
    +  "quickfix": "unknown"
     }
    diff --git a/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S4276_java.json b/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S4276_java.json
    index 111871a96ae..30feba38126 100644
    --- a/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S4276_java.json
    +++ b/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S4276_java.json
    @@ -12,5 +12,6 @@
       "defaultSeverity": "Minor",
       "ruleSpecification": "RSPEC-4276",
       "sqKey": "S4276",
    -  "scope": "All"
    +  "scope": "All",
    +  "quickfix": "unknown"
     }
    diff --git a/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S4288_java.json b/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S4288_java.json
    index 982c518bcb7..b1e1c6248e9 100644
    --- a/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S4288_java.json
    +++ b/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S4288_java.json
    @@ -14,5 +14,6 @@
       "defaultSeverity": "Major",
       "ruleSpecification": "RSPEC-4288",
       "sqKey": "S4288",
    -  "scope": "Main"
    +  "scope": "Main",
    +  "quickfix": "unknown"
     }
    diff --git a/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S4347_java.html b/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S4347_java.html
    index cb3499eb3bd..7acd444a7ff 100644
    --- a/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S4347_java.html
    +++ b/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S4347_java.html
    @@ -1,11 +1,11 @@
     

    The java.security.SecureRandom class provides a strong random number generator (RNG) appropriate for cryptography. However, seeding it with a constant or another predictable value will weaken it significantly. In general, it is much safer to rely on the seed provided by the SecureRandom implementation.

    -

    This rule raises an issue when SecureRandom.setSeed() or SecureRandom(byte[]) are called with a seed that is either +

    This rule raises an issue when SecureRandom.setSeed() or SecureRandom(byte[]) are called with a seed that is either one of:

    Noncompliant Code Example

    diff --git a/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S4347_java.json b/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S4347_java.json
    index 5c96f835c6e..1e6c4adf8dd 100644
    --- a/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S4347_java.json
    +++ b/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S4347_java.json
    @@ -26,5 +26,6 @@
         "OWASP": [
           "A6"
         ]
    -  }
    +  },
    +  "quickfix": "unknown"
     }
    diff --git a/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S4348_java.json b/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S4348_java.json
    index 515c2debb10..f19d1096dfd 100644
    --- a/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S4348_java.json
    +++ b/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S4348_java.json
    @@ -12,5 +12,6 @@
       "defaultSeverity": "Major",
       "ruleSpecification": "RSPEC-4348",
       "sqKey": "S4348",
    -  "scope": "All"
    +  "scope": "All",
    +  "quickfix": "unknown"
     }
    diff --git a/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S4349_java.json b/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S4349_java.json
    index 32afce1922f..59d4dae4172 100644
    --- a/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S4349_java.json
    +++ b/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S4349_java.json
    @@ -12,5 +12,6 @@
       "defaultSeverity": "Minor",
       "ruleSpecification": "RSPEC-4349",
       "sqKey": "S4349",
    -  "scope": "Main"
    +  "scope": "Main",
    +  "quickfix": "unknown"
     }
    diff --git a/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S4351_java.json b/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S4351_java.json
    index 52e90f62601..b8e97ed84e7 100644
    --- a/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S4351_java.json
    +++ b/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S4351_java.json
    @@ -12,5 +12,6 @@
       "defaultSeverity": "Major",
       "ruleSpecification": "RSPEC-4351",
       "sqKey": "S4351",
    -  "scope": "All"
    +  "scope": "All",
    +  "quickfix": "unknown"
     }
    diff --git a/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S4423_java.html b/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S4423_java.html
    index 36dcf6594dd..87220fe2ba3 100644
    --- a/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S4423_java.html
    +++ b/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S4423_java.html
    @@ -1,5 +1,8 @@
    -

    This rule raises an issue when an insecure TLS protocol version is used (ie: a protocol different from "TLSv1.2", "TLSv1.3", "DTLSv1.2" or -"DTLSv1.3").

    +

    This rule raises an issue when an insecure TLS protocol version (i.e. a protocol different from "TLSv1.2", "TLSv1.3", "DTLSv1.2", or "DTLSv1.3") is +used or allowed.

    +

    It is recommended to enforce TLS 1.2 as the minimum protocol version and to disallow older versions like TLS 1.0. Failure to do so could open the +door to downgrade attacks: a malicious actor who is able to intercept the connection could modify the requested protocol version and downgrade it to a +less secure version.

    Noncompliant Code Example

    javax.net.ssl.SSLContext library:

    diff --git a/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S4423_java.json b/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S4423_java.json
    index 48a53bcfe74..e3bd627e546 100644
    --- a/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S4423_java.json
    +++ b/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S4423_java.json
    @@ -34,5 +34,6 @@
         "MASVS": [
           "MSTG-NETWORK-2"
         ]
    -  }
    +  },
    +  "quickfix": "unknown"
     }
    diff --git a/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S4425_java.json b/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S4425_java.json
    index 66e68986142..90e38f8f31d 100644
    --- a/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S4425_java.json
    +++ b/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S4425_java.json
    @@ -17,5 +17,6 @@
         "CWE": [
           704
         ]
    -  }
    +  },
    +  "quickfix": "unknown"
     }
    diff --git a/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S4426_java.json b/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S4426_java.json
    index 5795bdcb4b9..009156b7d58 100644
    --- a/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S4426_java.json
    +++ b/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S4426_java.json
    @@ -31,5 +31,6 @@
         "MASVS": [
           "MSTG-CRYPTO-3"
         ]
    -  }
    +  },
    +  "quickfix": "unknown"
     }
    diff --git a/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S4433_java.json b/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S4433_java.json
    index 2acec0a446d..274d49e3db9 100644
    --- a/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S4433_java.json
    +++ b/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S4433_java.json
    @@ -21,5 +21,6 @@
         "OWASP": [
           "A2"
         ]
    -  }
    +  },
    +  "quickfix": "unknown"
     }
    diff --git a/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S4449_java.json b/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S4449_java.json
    index 1bf8298c0bf..fabcc3add08 100644
    --- a/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S4449_java.json
    +++ b/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S4449_java.json
    @@ -10,5 +10,6 @@
       "defaultSeverity": "Major",
       "ruleSpecification": "RSPEC-4449",
       "sqKey": "S4449",
    -  "scope": "Main"
    +  "scope": "Main",
    +  "quickfix": "unknown"
     }
    diff --git a/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S4454_java.json b/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S4454_java.json
    index ee47f9153d8..ffb27196b35 100644
    --- a/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S4454_java.json
    +++ b/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S4454_java.json
    @@ -10,5 +10,6 @@
       "defaultSeverity": "Critical",
       "ruleSpecification": "RSPEC-4454",
       "sqKey": "S4454",
    -  "scope": "Main"
    +  "scope": "Main",
    +  "quickfix": "unknown"
     }
    diff --git a/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S4488_java.json b/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S4488_java.json
    index f5cfd72aa28..5c2c85f5e6f 100644
    --- a/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S4488_java.json
    +++ b/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S4488_java.json
    @@ -12,5 +12,6 @@
       "defaultSeverity": "Minor",
       "ruleSpecification": "RSPEC-4488",
       "sqKey": "S4488",
    -  "scope": "Main"
    +  "scope": "Main",
    +  "quickfix": "unknown"
     }
    diff --git a/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S4517_java.json b/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S4517_java.json
    index 3c20432e221..5a5364674a7 100644
    --- a/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S4517_java.json
    +++ b/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S4517_java.json
    @@ -10,5 +10,6 @@
       "defaultSeverity": "Major",
       "ruleSpecification": "RSPEC-4517",
       "sqKey": "S4517",
    -  "scope": "All"
    +  "scope": "All",
    +  "quickfix": "unknown"
     }
    diff --git a/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S4524_java.json b/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S4524_java.json
    index 0aabd16445c..c588f8c1dc5 100644
    --- a/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S4524_java.json
    +++ b/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S4524_java.json
    @@ -10,5 +10,6 @@
       "defaultSeverity": "Critical",
       "ruleSpecification": "RSPEC-4524",
       "sqKey": "S4524",
    -  "scope": "All"
    +  "scope": "Main",
    +  "quickfix": "unknown"
     }
    diff --git a/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S4551_java.json b/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S4551_java.json
    index f84f635cd17..8253a155936 100644
    --- a/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S4551_java.json
    +++ b/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S4551_java.json
    @@ -10,5 +10,6 @@
       "defaultSeverity": "Major",
       "ruleSpecification": "RSPEC-4551",
       "sqKey": "S4551",
    -  "scope": "All"
    +  "scope": "All",
    +  "quickfix": "unknown"
     }
    diff --git a/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S4601_java.json b/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S4601_java.json
    index c1ac38ce908..aa487728d49 100644
    --- a/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S4601_java.json
    +++ b/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S4601_java.json
    @@ -18,5 +18,6 @@
         "OWASP": [
           "A6"
         ]
    -  }
    +  },
    +  "quickfix": "unknown"
     }
    diff --git a/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S4602_java.json b/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S4602_java.json
    index bab807dd8b5..7c875f81f03 100644
    --- a/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S4602_java.json
    +++ b/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S4602_java.json
    @@ -12,5 +12,6 @@
       "defaultSeverity": "Blocker",
       "ruleSpecification": "RSPEC-4602",
       "sqKey": "S4602",
    -  "scope": "Main"
    +  "scope": "Main",
    +  "quickfix": "unknown"
     }
    diff --git a/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S4604_java.json b/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S4604_java.json
    index 38cfa322191..3db65020a38 100644
    --- a/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S4604_java.json
    +++ b/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S4604_java.json
    @@ -10,5 +10,6 @@
       "defaultSeverity": "Major",
       "ruleSpecification": "RSPEC-4604",
       "sqKey": "S4604",
    -  "scope": "Main"
    +  "scope": "Main",
    +  "quickfix": "unknown"
     }
    diff --git a/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S4605_java.json b/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S4605_java.json
    index de0b9ea7780..303fa8ce886 100644
    --- a/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S4605_java.json
    +++ b/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S4605_java.json
    @@ -13,5 +13,6 @@
       "defaultSeverity": "Critical",
       "ruleSpecification": "RSPEC-4605",
       "sqKey": "S4605",
    -  "scope": "Main"
    +  "scope": "Main",
    +  "quickfix": "unknown"
     }
    diff --git a/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S4635_java.json b/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S4635_java.json
    index 02c60d7f1c1..8a901359491 100644
    --- a/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S4635_java.json
    +++ b/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S4635_java.json
    @@ -12,5 +12,6 @@
       "defaultSeverity": "Critical",
       "ruleSpecification": "RSPEC-4635",
       "sqKey": "S4635",
    -  "scope": "All"
    +  "scope": "All",
    +  "quickfix": "unknown"
     }
    diff --git a/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S4682_java.json b/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S4682_java.json
    index bb2ed091484..20145a8dd74 100644
    --- a/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S4682_java.json
    +++ b/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S4682_java.json
    @@ -10,5 +10,6 @@
       "defaultSeverity": "Minor",
       "ruleSpecification": "RSPEC-4682",
       "sqKey": "S4682",
    -  "scope": "Main"
    +  "scope": "Main",
    +  "quickfix": "unknown"
     }
    diff --git a/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S4684_java.json b/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S4684_java.json
    index 33a244b0cc1..e9f662cc9ce 100644
    --- a/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S4684_java.json
    +++ b/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S4684_java.json
    @@ -22,5 +22,6 @@
         "OWASP": [
           "A5"
         ]
    -  }
    +  },
    +  "quickfix": "unknown"
     }
    diff --git a/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S4719_java.json b/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S4719_java.json
    index 0171cabbbf1..e44e1ea5e23 100644
    --- a/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S4719_java.json
    +++ b/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S4719_java.json
    @@ -13,5 +13,6 @@
       "defaultSeverity": "Minor",
       "ruleSpecification": "RSPEC-4719",
       "sqKey": "S4719",
    -  "scope": "All"
    +  "scope": "All",
    +  "quickfix": "unknown"
     }
    diff --git a/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S4738_java.json b/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S4738_java.json
    index 36c10181df8..44eb113b044 100644
    --- a/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S4738_java.json
    +++ b/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S4738_java.json
    @@ -8,11 +8,11 @@
       },
       "tags": [
         "java9",
    -    "java8",
    -    "guava"
    +    "java8"
       ],
       "defaultSeverity": "Major",
       "ruleSpecification": "RSPEC-4738",
       "sqKey": "S4738",
    -  "scope": "Main"
    +  "scope": "Main",
    +  "quickfix": "unknown"
     }
    diff --git a/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S4830_java.json b/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S4830_java.json
    index 3bc7d193407..fd53584acfc 100644
    --- a/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S4830_java.json
    +++ b/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S4830_java.json
    @@ -19,21 +19,9 @@
       "sqKey": "S4830",
       "scope": "Main",
       "securityStandards": {
    -    "CWE": [
    -      295
    -    ],
    -    "OWASP": [
    -      "A6",
    -      "A3"
    -    ],
    -    "OWASP Mobile": [
    -      "M3"
    -    ],
    -    "MASVS": [
    -      "MSTG-NETWORK-3"
    -    ],
         "CERT": [
           "MSC61-J."
         ]
    -  }
    +  },
    +  "quickfix": "unknown"
     }
    diff --git a/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S4838_java.json b/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S4838_java.json
    index 65b8131fcae..da7c9700803 100644
    --- a/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S4838_java.json
    +++ b/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S4838_java.json
    @@ -13,5 +13,6 @@
       "defaultSeverity": "Minor",
       "ruleSpecification": "RSPEC-4838",
       "sqKey": "S4838",
    -  "scope": "Main"
    +  "scope": "Main",
    +  "quickfix": "unknown"
     }
    diff --git a/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S4925_java.json b/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S4925_java.json
    index 72e65c363c1..5e32e9e3b26 100644
    --- a/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S4925_java.json
    +++ b/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S4925_java.json
    @@ -12,5 +12,6 @@
       "defaultSeverity": "Major",
       "ruleSpecification": "RSPEC-4925",
       "sqKey": "S4925",
    -  "scope": "Main"
    +  "scope": "Main",
    +  "quickfix": "unknown"
     }
    diff --git a/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S4926_java.json b/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S4926_java.json
    index 09e1aeb6212..cf7cbcd28ef 100644
    --- a/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S4926_java.json
    +++ b/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S4926_java.json
    @@ -13,5 +13,6 @@
       "defaultSeverity": "Minor",
       "ruleSpecification": "RSPEC-4926",
       "sqKey": "S4926",
    -  "scope": "Main"
    +  "scope": "Main",
    +  "quickfix": "unknown"
     }
    diff --git a/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S4929_java.json b/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S4929_java.json
    index c01c5bca652..243928fd16c 100644
    --- a/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S4929_java.json
    +++ b/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S4929_java.json
    @@ -12,5 +12,6 @@
       "defaultSeverity": "Minor",
       "ruleSpecification": "RSPEC-4929",
       "sqKey": "S4929",
    -  "scope": "Main"
    +  "scope": "Main",
    +  "quickfix": "unknown"
     }
    diff --git a/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S4970_java.json b/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S4970_java.json
    index c15d0baf718..b3e1834955e 100644
    --- a/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S4970_java.json
    +++ b/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S4970_java.json
    @@ -10,5 +10,6 @@
       "defaultSeverity": "Critical",
       "ruleSpecification": "RSPEC-4970",
       "sqKey": "S4970",
    -  "scope": "All"
    +  "scope": "All",
    +  "quickfix": "unknown"
     }
    diff --git a/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S4973_java.json b/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S4973_java.json
    index 95c2ebd6945..a80fefd3c26 100644
    --- a/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S4973_java.json
    +++ b/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S4973_java.json
    @@ -23,5 +23,6 @@
           "EXP03-J.",
           "EXP50-J."
         ]
    -  }
    +  },
    +  "quickfix": "covered"
     }
    diff --git a/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S4977_java.json b/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S4977_java.json
    index f463ecfb482..a9a49331719 100644
    --- a/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S4977_java.json
    +++ b/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S4977_java.json
    @@ -10,5 +10,6 @@
       "defaultSeverity": "Minor",
       "ruleSpecification": "RSPEC-4977",
       "sqKey": "S4977",
    -  "scope": "All"
    +  "scope": "All",
    +  "quickfix": "unknown"
     }
    diff --git a/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S5042_java.json b/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S5042_java.json
    index 5ba769f3628..584a33582c0 100644
    --- a/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S5042_java.json
    +++ b/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S5042_java.json
    @@ -17,13 +17,6 @@
       "sqKey": "S5042",
       "scope": "Main",
       "securityStandards": {
    -    "CWE": [
    -      409
    -    ],
    -    "OWASP": [
    -      "A5",
    -      "A6"
    -    ],
         "CERT": [
           "IDS04-J."
         ]
    diff --git a/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S5128_java.json b/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S5128_java.json
    index 7b75a0b2b53..90d958f427d 100644
    --- a/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S5128_java.json
    +++ b/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S5128_java.json
    @@ -10,5 +10,6 @@
       "defaultSeverity": "Critical",
       "ruleSpecification": "RSPEC-5128",
       "sqKey": "S5128",
    -  "scope": "Main"
    +  "scope": "Main",
    +  "quickfix": "unknown"
     }
    diff --git a/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S5164_java.json b/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S5164_java.json
    index ddb6ac1a0e8..e38a5629338 100644
    --- a/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S5164_java.json
    +++ b/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S5164_java.json
    @@ -13,5 +13,6 @@
       "defaultSeverity": "Major",
       "ruleSpecification": "RSPEC-5164",
       "sqKey": "S5164",
    -  "scope": "All"
    +  "scope": "All",
    +  "quickfix": "covered"
     }
    diff --git a/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S5194_java.json b/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S5194_java.json
    index 5460d3fb9ce..0b76b3d21ee 100644
    --- a/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S5194_java.json
    +++ b/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S5194_java.json
    @@ -12,5 +12,6 @@
       "defaultSeverity": "Minor",
       "ruleSpecification": "RSPEC-5194",
       "sqKey": "S5194",
    -  "scope": "All"
    +  "scope": "All",
    +  "quickfix": "unknown"
     }
    diff --git a/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S5261_java.json b/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S5261_java.json
    index 87cbfa656c7..1ddbed99254 100644
    --- a/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S5261_java.json
    +++ b/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S5261_java.json
    @@ -12,5 +12,6 @@
       "defaultSeverity": "Major",
       "ruleSpecification": "RSPEC-5261",
       "sqKey": "S5261",
    -  "scope": "Main"
    +  "scope": "Main",
    +  "quickfix": "unknown"
     }
    diff --git a/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S5301_java.json b/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S5301_java.json
    index 30e55f45c8e..61e3f2a9b0b 100644
    --- a/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S5301_java.json
    +++ b/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S5301_java.json
    @@ -21,5 +21,6 @@
         "OWASP": [
           "A8"
         ]
    -  }
    +  },
    +  "quickfix": "unknown"
     }
    diff --git a/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S5320_java.html b/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S5320_java.html
    index ca1d035c5c5..66d7d745404 100644
    --- a/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S5320_java.html
    +++ b/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S5320_java.html
    @@ -40,12 +40,32 @@ 

    Sensitive Code Example

    context.sendOrderedBroadcast(intent, null); // Sensitive context.sendOrderedBroadcastAsUser(intent, user, null, resultReceiver, scheduler, initialCode, initialData, initialExtras); // Sensitive + } +} +
    +

    Compliant Solution

    +
    +import android.content.BroadcastReceiver;
    +import android.content.Context;
    +import android.content.Intent;
    +import android.os.Build;
    +import android.os.Bundle;
    +import android.os.Handler;
    +import android.os.UserHandle;
    +import android.support.annotation.RequiresApi;
    +
    +public class MyIntentBroadcast {
    +    @RequiresApi(api = Build.VERSION_CODES.JELLY_BEAN_MR1)
    +    public void broadcast(Intent intent, Context context, UserHandle user,
    +                          BroadcastReceiver resultReceiver, Handler scheduler, int initialCode,
    +                          String initialData, Bundle initialExtras,
    +                          String broadcastPermission) {
     
    -        context.sendBroadcast(intent, broadcastPermission); // Ok
    -        context.sendBroadcastAsUser(intent, user, broadcastPermission); // Ok
    -        context.sendOrderedBroadcast(intent, broadcastPermission); // Ok
    +        context.sendBroadcast(intent, broadcastPermission);
    +        context.sendBroadcastAsUser(intent, user, broadcastPermission);
    +        context.sendOrderedBroadcast(intent, broadcastPermission);
             context.sendOrderedBroadcastAsUser(intent, user,broadcastPermission, resultReceiver,
    -                scheduler, initialCode, initialData, initialExtras); // Ok
    +                scheduler, initialCode, initialData, initialExtras);
         }
     }
     
    diff --git a/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S5322_java.html b/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S5322_java.html index 2e6375f6006..b41c58e3222 100644 --- a/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S5322_java.html +++ b/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S5322_java.html @@ -1,9 +1,16 @@ -

    In Android applications, receiving intents is security-sensitive. For example, it has led in the past to the following vulnerability:

    +

    Android applications can receive broadcasts from the system or other applications. Receiving intents is security-sensitive. For example, it has led +in the past to the following vulnerabilities:

    -

    Once a receiver is registered, any app can broadcast potentially malicious intents to your application.

    +

    Receivers can be declared in the manifest or in the code to make them context specific. If the receiver is declared in the manifest Android will +start the application if it is not already running once a matching broadcast is received. The receiver is an entry point into the application.

    +

    Other applications can send potentially malicious broadcasts, so it is important to consider broadcasts as untrusted and to limit the applications +that can send broadcasts to the receiver.

    +

    Permissions can be specified to restrict broadcasts to authorized applications. Restrictions can be enforced by both the sender and receiver of a +broadcast. If permissions are specified when registering a broadcast receiver, then only broadcasters who were granted this permission can send a +message to the receiver.

    This rule raises an issue when a receiver is registered without specifying any "broadcast permission".

    Ask Yourself Whether

      @@ -38,10 +45,29 @@

      Sensitive Code Example

      // Broadcasting intent with "null" for broadcastPermission context.registerReceiver(receiver, filter, null, scheduler); // Sensitive context.registerReceiver(receiver, filter, null, scheduler, flags); // Sensitive + } +} +
    +

    Compliant Solution

    +
    +import android.content.BroadcastReceiver;
    +import android.content.Context;
    +import android.content.IntentFilter;
    +import android.os.Build;
    +import android.os.Handler;
    +import android.support.annotation.RequiresApi;
    +
    +public class MyIntentReceiver {
     
    +    @RequiresApi(api = Build.VERSION_CODES.O)
    +    public void register(Context context, BroadcastReceiver receiver,
    +                         IntentFilter filter,
    +                         String broadcastPermission,
    +                         Handler scheduler,
    +                         int flags) {
     
    -        context.registerReceiver(receiver, filter,broadcastPermission, scheduler); // OK
    -        context.registerReceiver(receiver, filter,broadcastPermission, scheduler, flags); // OK
    +        context.registerReceiver(receiver, filter, broadcastPermission, scheduler);
    +        context.registerReceiver(receiver, filter, broadcastPermission, scheduler, flags);
         }
     }
     
    @@ -52,6 +78,7 @@

    See

  • OWASP Mobile Top 10 2016 Category M1 - Improper Platform Usage
  • MITRE, CWE-925 - Improper Verification of Intent by Broadcast Receiver
  • +
  • MITRE, CWE-926 - Improper Export of Android Application Components
  • SANS Top 25 - Insecure Interaction Between Components
  • Android documentation - Broadcast Overview - Security considerations and best practices
  • diff --git a/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S5322_java.json b/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S5322_java.json index 282608a1316..33d3e60bf87 100644 --- a/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S5322_java.json +++ b/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S5322_java.json @@ -14,7 +14,8 @@ "scope": "Main", "securityStandards": { "CWE": [ - 925 + 925, + 926 ], "OWASP Mobile": [ "M1" diff --git a/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S5324_java.html b/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S5324_java.html index 15f6d7bbb76..21e65a20063 100644 --- a/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S5324_java.html +++ b/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S5324_java.html @@ -1,42 +1,45 @@ -

    In Android applications, accessing external storage is security-sensitive. For example, it has led in the past to the following vulnerability:

    - -

    Any application having the permissions WRITE_EXTERNAL_STORAGE or READ_EXTERNAL_STORAGE can access files stored on an -external storage, be it a private or a public file.

    -

    This rule raises an issue when the following functions are called:

    - +

    Storing data locally is a common task for mobile applications. Such data includes files among other things. One convenient way to store files is to +use the external file storage which usually offers a larger amount of disc space compared to internal storage.

    +

    Files created on the external storage are globally readable and writable. Therefore, a malicious application having the permissions +WRITE_EXTERNAL_STORAGE or READ_EXTERNAL_STORAGE could try to read sensitive information from the files that other +applications have stored on the external storage.

    +

    External storage can also be removed by the user (e.g when based on SD card) making the files unavailable to the application.

    Ask Yourself Whether

    +

    Your application uses external storage to:

    There is a risk if you answered yes to any of those questions.

    Recommended Secure Coding Practices

    -

    Validate any data read from files.

    -

    Avoid writing sensitive information to an external storage. If this is required, make sure that the data is encrypted properly.

    +

    Sensitive Code Example

     import android.content.Context;
    -import android.os.Environment;
     
     public class AccessExternalFiles {
     
         public void accessFiles(Context context) {
    -        Environment.getExternalStoragePublicDirectory(Environment.DIRECTORY_PICTURES); // Sensitive
    -        context.getExternalFilesDir(Environment.DIRECTORY_PICTURES); // Sensitive
    +        context.getExternalFilesDir(null); // Sensitive
    +    }
    +}
    +
    +

    Compliant Solution

    +
    +import android.content.Context;
    +
    +public class AccessExternalFiles {
    +
    +    public void accessFiles(Context context) {
    +        context.getFilesDir();
         }
     }
     
    diff --git a/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S5329_java.json b/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S5329_java.json index 7dc396e90fe..6f0b587def4 100644 --- a/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S5329_java.json +++ b/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S5329_java.json @@ -10,5 +10,6 @@ "defaultSeverity": "Major", "ruleSpecification": "RSPEC-5329", "sqKey": "S5329", - "scope": "All" + "scope": "All", + "quickfix": "unknown" } diff --git a/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S5332_java.html b/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S5332_java.html index 4f0f40d474c..fbb454f2e60 100644 --- a/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S5332_java.html +++ b/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S5332_java.html @@ -1,6 +1,6 @@ -

    Clear-text protocols as ftp, telnet or non secure http are lacking encryption of transported data. They are -also missing the capability to build an authenticated connection. This mean that any attacker who can sniff traffic from the network can read, modify -or corrupt the transported content. These protocol are not secure as they expose applications to a large range of risk:

    +

    Clear-text protocols such as ftp, telnet or non-secure http lack encryption of transported data, as well as +the capability to build an authenticated connection. It means that an attacker able to sniff traffic from the network can read, modify or corrupt the +transported content. These protocols are not secure as they expose applications to an extensive range of risks:

    -

    Note also that using the http protocol is being deprecated by major web browser.

    +

    Even in the context of isolated networks like offline environments or segmented cloud environments, the insider threat exists. Thus, attacks +involving communications being sniffed or tampered with can still happen.

    +

    For example, attackers could successfully compromise prior security layers by:

    + +

    In such cases, encrypting communications would decrease the chances of attackers to successfully leak data or steal credentials from other network +components. By layering various security practices (segmentation and encryption, for example), the application will follow the +defense-in-depth principle.

    +

    Note that using the http protocol is being deprecated by major web browsers.

    In the past, it has led to the following vulnerabilities:

    Ask Yourself Whether

    There is a risk if you answered yes to any of those questions.

    Recommended Secure Coding Practices

    -

    It is recommended to secure all transport channels (event local network) as it can take a single non secure connection to compromise an entire +

    It is recommended to secure all transport channels (even local network) as it can take a single non secure connection to compromise an entire application or system.

    Sensitive Code Example

    These clients from Apache commons net libraries are based on unencrypted protocols and diff --git a/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S5344_java.json b/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S5344_java.json index 9ecb5a92a7b..f7d4df2eee9 100644 --- a/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S5344_java.json +++ b/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S5344_java.json @@ -29,5 +29,6 @@ "A6", "A3" ] - } + }, + "quickfix": "unknown" } diff --git a/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S5361_java.json b/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S5361_java.json index 42085213a04..59c1fe442c6 100644 --- a/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S5361_java.json +++ b/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S5361_java.json @@ -13,5 +13,6 @@ "ruleSpecification": "RSPEC-5361", "sqKey": "S5361", "scope": "All", + "quickfix": "unknown", "title": "\"String#replace\" should be preferred to \"String#replaceAll\"" } diff --git a/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S5411_java.json b/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S5411_java.json index d7d9f440aa7..0203de8b6cd 100644 --- a/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S5411_java.json +++ b/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S5411_java.json @@ -12,5 +12,6 @@ "defaultSeverity": "Minor", "ruleSpecification": "RSPEC-5411", "sqKey": "S5411", - "scope": "All" + "scope": "All", + "quickfix": "partial" } diff --git a/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S5413_java.json b/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S5413_java.json index 66e7520352c..b70b688bce8 100644 --- a/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S5413_java.json +++ b/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S5413_java.json @@ -10,5 +10,6 @@ "defaultSeverity": "Major", "ruleSpecification": "RSPEC-5413", "sqKey": "S5413", - "scope": "All" + "scope": "All", + "quickfix": "unknown" } diff --git a/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S5445_java.json b/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S5445_java.json index b3761edfe80..969a9af22c4 100644 --- a/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S5445_java.json +++ b/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S5445_java.json @@ -22,5 +22,6 @@ "OWASP": [ "A9" ] - } + }, + "quickfix": "unknown" } diff --git a/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S5527_java.json b/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S5527_java.json index 408b8922ca5..17a3452a45e 100644 --- a/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S5527_java.json +++ b/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S5527_java.json @@ -33,5 +33,6 @@ "MASVS": [ "MSTG-NETWORK-3" ] - } + }, + "quickfix": "unknown" } diff --git a/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S5542_java.json b/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S5542_java.json index e6da37e4cc4..9117bf35f98 100644 --- a/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S5542_java.json +++ b/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S5542_java.json @@ -19,22 +19,9 @@ "sqKey": "S5542", "scope": "Main", "securityStandards": { - "CWE": [ - 327, - 780 - ], - "OWASP": [ - "A6", - "A3" - ], - "OWASP Mobile": [ - "M5" - ], - "MASVS": [ - "MSTG-CRYPTO-3" - ], "CERT": [ "MSC61-J." ] - } + }, + "quickfix": "unknown" } diff --git a/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S5547_java.json b/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S5547_java.json index 6f65651a9ce..52b8c71ad0b 100644 --- a/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S5547_java.json +++ b/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S5547_java.json @@ -19,22 +19,9 @@ "sqKey": "S5547", "scope": "Main", "securityStandards": { - "CWE": [ - 327, - 326 - ], - "OWASP": [ - "A3", - "A6" - ], - "OWASP Mobile": [ - "M5" - ], - "MASVS": [ - "MSTG-CRYPTO-3" - ], "CERT": [ "MSC61-J." ] - } + }, + "quickfix": "unknown" } diff --git a/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S5612_java.json b/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S5612_java.json index 8e9e34e7eb8..bfc6b1cbbda 100644 --- a/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S5612_java.json +++ b/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S5612_java.json @@ -10,5 +10,6 @@ "defaultSeverity": "Major", "ruleSpecification": "RSPEC-5612", "sqKey": "S5612", - "scope": "Main" + "scope": "Main", + "quickfix": "unknown" } diff --git a/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S5659_java.json b/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S5659_java.json index 5adfc34335a..b8ed92dc1eb 100644 --- a/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S5659_java.json +++ b/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S5659_java.json @@ -23,5 +23,6 @@ "OWASP": [ "A3" ] - } + }, + "quickfix": "unknown" } diff --git a/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S5663_java.json b/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S5663_java.json index ade9014cd05..66d69159fa5 100644 --- a/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S5663_java.json +++ b/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S5663_java.json @@ -12,5 +12,6 @@ "defaultSeverity": "Minor", "ruleSpecification": "RSPEC-5663", "sqKey": "S5663", - "scope": "All" + "scope": "All", + "quickfix": "unknown" } diff --git a/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S5664_java.json b/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S5664_java.json index c7c430107ef..46373632517 100644 --- a/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S5664_java.json +++ b/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S5664_java.json @@ -12,5 +12,6 @@ "defaultSeverity": "Major", "ruleSpecification": "RSPEC-5664", "sqKey": "S5664", - "scope": "All" + "scope": "All", + "quickfix": "unknown" } diff --git a/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S5665_java.json b/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S5665_java.json index e292467be1d..3e3cb7e6aeb 100644 --- a/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S5665_java.json +++ b/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S5665_java.json @@ -12,5 +12,6 @@ "defaultSeverity": "Minor", "ruleSpecification": "RSPEC-5665", "sqKey": "S5665", - "scope": "All" + "scope": "All", + "quickfix": "unknown" } diff --git a/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S5669_java.json b/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S5669_java.json index 6093d1a2bf7..12683d25790 100644 --- a/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S5669_java.json +++ b/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S5669_java.json @@ -10,5 +10,6 @@ "defaultSeverity": "Major", "ruleSpecification": "RSPEC-5669", "sqKey": "S5669", - "scope": "All" + "scope": "All", + "quickfix": "unknown" } diff --git a/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S5679_java.json b/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S5679_java.json index 850857070c5..1289747b4c2 100644 --- a/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S5679_java.json +++ b/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S5679_java.json @@ -20,5 +20,6 @@ "A9", "A2" ] - } + }, + "quickfix": "unknown" } diff --git a/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S5689_java.json b/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S5689_java.json index 5a06acb264d..471bf9676f8 100644 --- a/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S5689_java.json +++ b/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S5689_java.json @@ -13,7 +13,7 @@ "defaultSeverity": "Minor", "ruleSpecification": "RSPEC-5689", "sqKey": "S5689", - "scope": "All", + "scope": "Main", "securityStandards": { "CWE": [ 200 diff --git a/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S5693_java.json b/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S5693_java.json index c01eb38e6c1..62be21dd6c8 100644 --- a/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S5693_java.json +++ b/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S5693_java.json @@ -14,7 +14,7 @@ "defaultSeverity": "Major", "ruleSpecification": "RSPEC-5693", "sqKey": "S5693", - "scope": "All", + "scope": "Main", "securityStandards": { "CWE": [ 400, diff --git a/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S5738_java.json b/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S5738_java.json index 03b7538e4e0..11d0160bc9f 100644 --- a/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S5738_java.json +++ b/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S5738_java.json @@ -22,5 +22,6 @@ "CERT": [ "MET02-J." ] - } + }, + "quickfix": "unknown" } diff --git a/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S5776_java.json b/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S5776_java.json index 4dabdd0ccf8..fa0dcdde001 100644 --- a/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S5776_java.json +++ b/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S5776_java.json @@ -13,5 +13,6 @@ "defaultSeverity": "Major", "ruleSpecification": "RSPEC-5776", "sqKey": "S5776", - "scope": "Tests" + "scope": "Tests", + "quickfix": "unknown" } diff --git a/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S5777_java.json b/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S5777_java.json index a78f8b6f561..c874377fcd7 100644 --- a/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S5777_java.json +++ b/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S5777_java.json @@ -13,5 +13,6 @@ "defaultSeverity": "Minor", "ruleSpecification": "RSPEC-5777", "sqKey": "S5777", - "scope": "Tests" + "scope": "Tests", + "quickfix": "unknown" } diff --git a/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S5778_java.json b/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S5778_java.json index 3f183912026..27f18a571bb 100644 --- a/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S5778_java.json +++ b/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S5778_java.json @@ -13,5 +13,6 @@ "defaultSeverity": "Major", "ruleSpecification": "RSPEC-5778", "sqKey": "S5778", - "scope": "Tests" + "scope": "Tests", + "quickfix": "unknown" } diff --git a/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S5779_java.json b/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S5779_java.json index 8c1b44de874..259a4e42c32 100644 --- a/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S5779_java.json +++ b/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S5779_java.json @@ -13,5 +13,6 @@ "defaultSeverity": "Critical", "ruleSpecification": "RSPEC-5779", "sqKey": "S5779", - "scope": "Tests" + "scope": "Tests", + "quickfix": "unknown" } diff --git a/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S5783_java.json b/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S5783_java.json index 609b91b9903..48b6a5f88b9 100644 --- a/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S5783_java.json +++ b/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S5783_java.json @@ -13,5 +13,6 @@ "defaultSeverity": "Critical", "ruleSpecification": "RSPEC-5783", "sqKey": "S5783", - "scope": "Tests" + "scope": "Tests", + "quickfix": "unknown" } diff --git a/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S5785_java.json b/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S5785_java.json index 5684b219f82..5c60d523e1b 100644 --- a/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S5785_java.json +++ b/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S5785_java.json @@ -13,5 +13,6 @@ "defaultSeverity": "Major", "ruleSpecification": "RSPEC-5785", "sqKey": "S5785", - "scope": "Tests" + "scope": "Tests", + "quickfix": "unknown" } diff --git a/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S5786_java.json b/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S5786_java.json index 96aa9863184..0546597a031 100644 --- a/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S5786_java.json +++ b/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S5786_java.json @@ -13,5 +13,6 @@ "defaultSeverity": "Info", "ruleSpecification": "RSPEC-5786", "sqKey": "S5786", - "scope": "Tests" + "scope": "Tests", + "quickfix": "covered" } diff --git a/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S5790_java.json b/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S5790_java.json index 5d774b2afd5..bb56df6facf 100644 --- a/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S5790_java.json +++ b/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S5790_java.json @@ -13,5 +13,6 @@ "defaultSeverity": "Critical", "ruleSpecification": "RSPEC-5790", "sqKey": "S5790", - "scope": "Tests" + "scope": "Tests", + "quickfix": "unknown" } diff --git a/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S5793_java.json b/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S5793_java.json index 251c6d07c3c..4c90928c381 100644 --- a/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S5793_java.json +++ b/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S5793_java.json @@ -13,5 +13,6 @@ "defaultSeverity": "Info", "ruleSpecification": "RSPEC-5793", "sqKey": "S5793", - "scope": "Tests" + "scope": "Tests", + "quickfix": "unknown" } diff --git a/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S5803_java.json b/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S5803_java.json index 90ee5f8f0f9..ca46415f096 100644 --- a/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S5803_java.json +++ b/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S5803_java.json @@ -12,5 +12,6 @@ "defaultSeverity": "Critical", "ruleSpecification": "RSPEC-5803", "sqKey": "S5803", - "scope": "Main" + "scope": "Main", + "quickfix": "unknown" } diff --git a/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S5808_java.json b/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S5808_java.json index 1bb434f4d29..4074cba377f 100644 --- a/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S5808_java.json +++ b/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S5808_java.json @@ -21,5 +21,6 @@ "OWASP": [ "A5" ] - } + }, + "quickfix": "unknown" } diff --git a/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S5810_java.json b/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S5810_java.json index f26ebd48299..cf8251bf4cd 100644 --- a/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S5810_java.json +++ b/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S5810_java.json @@ -13,5 +13,6 @@ "defaultSeverity": "Major", "ruleSpecification": "RSPEC-5810", "sqKey": "S5810", - "scope": "Tests" + "scope": "Tests", + "quickfix": "unknown" } diff --git a/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S5826_java.json b/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S5826_java.json index 5e99735f5fa..cfad0fa0e9b 100644 --- a/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S5826_java.json +++ b/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S5826_java.json @@ -13,5 +13,6 @@ "defaultSeverity": "Critical", "ruleSpecification": "RSPEC-5826", "sqKey": "S5826", - "scope": "All" + "scope": "All", + "quickfix": "unknown" } diff --git a/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S5831_java.json b/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S5831_java.json index 7631e048412..58fb9b5ace0 100644 --- a/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S5831_java.json +++ b/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S5831_java.json @@ -13,5 +13,6 @@ "defaultSeverity": "Major", "ruleSpecification": "RSPEC-5831", "sqKey": "S5831", - "scope": "Tests" + "scope": "Tests", + "quickfix": "unknown" } diff --git a/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S5833_java.json b/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S5833_java.json index dff3396d44e..1d591a761b0 100644 --- a/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S5833_java.json +++ b/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S5833_java.json @@ -13,5 +13,6 @@ "defaultSeverity": "Major", "ruleSpecification": "RSPEC-5833", "sqKey": "S5833", - "scope": "Tests" + "scope": "Tests", + "quickfix": "unknown" } diff --git a/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S5838_java.json b/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S5838_java.json index 3e2b6796264..65f96c53f54 100644 --- a/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S5838_java.json +++ b/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S5838_java.json @@ -13,5 +13,6 @@ "defaultSeverity": "Minor", "ruleSpecification": "RSPEC-5838", "sqKey": "S5838", - "scope": "Tests" + "scope": "Tests", + "quickfix": "partial" } diff --git a/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S5841_java.json b/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S5841_java.json index 6fd62e1720b..5132299d1f3 100644 --- a/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S5841_java.json +++ b/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S5841_java.json @@ -13,5 +13,6 @@ "defaultSeverity": "Minor", "ruleSpecification": "RSPEC-5841", "sqKey": "S5841", - "scope": "Tests" + "scope": "Tests", + "quickfix": "unknown" } diff --git a/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S5842_java.json b/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S5842_java.json index ac016035f23..8acf11feffb 100644 --- a/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S5842_java.json +++ b/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S5842_java.json @@ -12,5 +12,6 @@ "defaultSeverity": "Minor", "ruleSpecification": "RSPEC-5842", "sqKey": "S5842", - "scope": "All" + "scope": "Main", + "quickfix": "unknown" } diff --git a/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S5843_java.json b/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S5843_java.json index 293dfde560c..65f1d847327 100644 --- a/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S5843_java.json +++ b/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S5843_java.json @@ -14,5 +14,6 @@ "defaultSeverity": "Major", "ruleSpecification": "RSPEC-5843", "sqKey": "S5843", - "scope": "All" + "scope": "Main", + "quickfix": "unknown" } diff --git a/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S5845_java.json b/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S5845_java.json index 91392fab0c6..9da6514daba 100644 --- a/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S5845_java.json +++ b/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S5845_java.json @@ -12,5 +12,6 @@ "defaultSeverity": "Critical", "ruleSpecification": "RSPEC-5845", "sqKey": "S5845", - "scope": "Tests" + "scope": "Tests", + "quickfix": "unknown" } diff --git a/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S5846_java.json b/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S5846_java.json index 85826690d90..dd3b7a9d91b 100644 --- a/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S5846_java.json +++ b/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S5846_java.json @@ -12,5 +12,6 @@ "defaultSeverity": "Critical", "ruleSpecification": "RSPEC-5846", "sqKey": "S5846", - "scope": "All" + "scope": "All", + "quickfix": "unknown" } diff --git a/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S5850_java.json b/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S5850_java.json index d6b29a4e638..23f9e925bcc 100644 --- a/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S5850_java.json +++ b/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S5850_java.json @@ -12,5 +12,6 @@ "defaultSeverity": "Major", "ruleSpecification": "RSPEC-5850", "sqKey": "S5850", - "scope": "All" + "scope": "Main", + "quickfix": "unknown" } diff --git a/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S5852_java.json b/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S5852_java.json index b97498d145c..d6526057953 100644 --- a/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S5852_java.json +++ b/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S5852_java.json @@ -14,7 +14,7 @@ "defaultSeverity": "Critical", "ruleSpecification": "RSPEC-5852", "sqKey": "S5852", - "scope": "All", + "scope": "Main", "securityStandards": { "CWE": [ 400, diff --git a/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S5853_java.json b/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S5853_java.json index ffb18859f3b..39872edae88 100644 --- a/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S5853_java.json +++ b/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S5853_java.json @@ -13,5 +13,6 @@ "defaultSeverity": "Minor", "ruleSpecification": "RSPEC-5853", "sqKey": "S5853", - "scope": "Tests" + "scope": "Tests", + "quickfix": "unknown" } diff --git a/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S5854_java.json b/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S5854_java.json index bb42d72dff7..d7b84bebb55 100644 --- a/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S5854_java.json +++ b/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S5854_java.json @@ -12,5 +12,6 @@ "defaultSeverity": "Major", "ruleSpecification": "RSPEC-5854", "sqKey": "S5854", - "scope": "All" + "scope": "All", + "quickfix": "unknown" } diff --git a/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S5855_java.json b/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S5855_java.json index 07149b2ca0a..f1eb7ed5751 100644 --- a/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S5855_java.json +++ b/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S5855_java.json @@ -12,5 +12,6 @@ "defaultSeverity": "Major", "ruleSpecification": "RSPEC-5855", "sqKey": "S5855", - "scope": "All" + "scope": "All", + "quickfix": "unknown" } diff --git a/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S5856_java.json b/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S5856_java.json index c7e759a70c0..a8ab3f03627 100644 --- a/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S5856_java.json +++ b/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S5856_java.json @@ -12,5 +12,6 @@ "defaultSeverity": "Critical", "ruleSpecification": "RSPEC-5856", "sqKey": "S5856", - "scope": "All" + "scope": "Main", + "quickfix": "unknown" } diff --git a/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S5857_java.json b/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S5857_java.json index 2376f698990..43008779e68 100644 --- a/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S5857_java.json +++ b/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S5857_java.json @@ -12,5 +12,6 @@ "defaultSeverity": "Minor", "ruleSpecification": "RSPEC-5857", "sqKey": "S5857", - "scope": "All" + "scope": "All", + "quickfix": "unknown" } diff --git a/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S5860_java.json b/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S5860_java.json index 0579775572f..66447cc1bd2 100644 --- a/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S5860_java.json +++ b/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S5860_java.json @@ -12,5 +12,6 @@ "defaultSeverity": "Major", "ruleSpecification": "RSPEC-5860", "sqKey": "S5860", - "scope": "All" + "scope": "Main", + "quickfix": "unknown" } diff --git a/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S5863_java.json b/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S5863_java.json index 6b1f1d021a6..0c268e405c2 100644 --- a/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S5863_java.json +++ b/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S5863_java.json @@ -12,5 +12,6 @@ "defaultSeverity": "Major", "ruleSpecification": "RSPEC-5863", "sqKey": "S5863", - "scope": "Tests" + "scope": "Tests", + "quickfix": "unknown" } diff --git a/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S5866_java.json b/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S5866_java.json index b4e180a920e..b47288aadce 100644 --- a/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S5866_java.json +++ b/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S5866_java.json @@ -12,5 +12,6 @@ "defaultSeverity": "Major", "ruleSpecification": "RSPEC-5866", "sqKey": "S5866", - "scope": "All" + "scope": "All", + "quickfix": "unknown" } diff --git a/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S5867_java.json b/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S5867_java.json index 263e23c3628..f6d01151a12 100644 --- a/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S5867_java.json +++ b/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S5867_java.json @@ -12,5 +12,6 @@ "defaultSeverity": "Minor", "ruleSpecification": "RSPEC-5867", "sqKey": "S5867", - "scope": "All" + "scope": "Main", + "quickfix": "unknown" } diff --git a/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S5868_java.json b/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S5868_java.json index bfd9c2aead1..c52d98649ee 100644 --- a/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S5868_java.json +++ b/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S5868_java.json @@ -12,5 +12,6 @@ "defaultSeverity": "Major", "ruleSpecification": "RSPEC-5868", "sqKey": "S5868", - "scope": "All" + "scope": "Main", + "quickfix": "unknown" } diff --git a/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S5869_java.json b/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S5869_java.json index 5ced50c1f7d..33adeb113c6 100644 --- a/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S5869_java.json +++ b/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S5869_java.json @@ -12,5 +12,6 @@ "defaultSeverity": "Major", "ruleSpecification": "RSPEC-5869", "sqKey": "S5869", - "scope": "All" + "scope": "Main", + "quickfix": "unknown" } diff --git a/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S5876_java.json b/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S5876_java.json index 5745ef6d216..29ffade9300 100644 --- a/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S5876_java.json +++ b/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S5876_java.json @@ -22,5 +22,6 @@ "OWASP": [ "A2" ] - } + }, + "quickfix": "unknown" } diff --git a/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S5917_java.json b/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S5917_java.json index 801deaebcf1..601462634e1 100644 --- a/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S5917_java.json +++ b/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S5917_java.json @@ -10,5 +10,6 @@ "defaultSeverity": "Major", "ruleSpecification": "RSPEC-5917", "sqKey": "S5917", - "scope": "All" + "scope": "All", + "quickfix": "unknown" } diff --git a/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S5958_java.json b/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S5958_java.json index 02951384920..12b55338e1c 100644 --- a/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S5958_java.json +++ b/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S5958_java.json @@ -13,5 +13,6 @@ "defaultSeverity": "Major", "ruleSpecification": "RSPEC-5958", "sqKey": "S5958", - "scope": "Tests" + "scope": "Tests", + "quickfix": "unknown" } diff --git a/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S5960_java.json b/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S5960_java.json index 904faaf910b..5d55bbc25f9 100644 --- a/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S5960_java.json +++ b/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S5960_java.json @@ -10,5 +10,6 @@ "defaultSeverity": "Major", "ruleSpecification": "RSPEC-5960", "sqKey": "S5960", - "scope": "Main" + "scope": "Main", + "quickfix": "unknown" } diff --git a/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S5961_java.json b/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S5961_java.json index 321176c936d..a5981c50548 100644 --- a/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S5961_java.json +++ b/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S5961_java.json @@ -12,5 +12,6 @@ "defaultSeverity": "Major", "ruleSpecification": "RSPEC-5961", "sqKey": "S5961", - "scope": "Tests" + "scope": "Tests", + "quickfix": "unknown" } diff --git a/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S5967_java.json b/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S5967_java.json index 5352df951ad..36fb80d10ae 100644 --- a/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S5967_java.json +++ b/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S5967_java.json @@ -12,5 +12,6 @@ "defaultSeverity": "Major", "ruleSpecification": "RSPEC-5967", "sqKey": "S5967", - "scope": "Tests" + "scope": "Tests", + "quickfix": "unknown" } diff --git a/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S5969_java.json b/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S5969_java.json index a00f281b625..491cf654ef6 100644 --- a/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S5969_java.json +++ b/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S5969_java.json @@ -13,5 +13,6 @@ "defaultSeverity": "Critical", "ruleSpecification": "RSPEC-5969", "sqKey": "S5969", - "scope": "Tests" + "scope": "Tests", + "quickfix": "unknown" } diff --git a/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S5970_java.json b/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S5970_java.json index d4b548eb2f6..068f237d2d5 100644 --- a/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S5970_java.json +++ b/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S5970_java.json @@ -13,5 +13,6 @@ "defaultSeverity": "Major", "ruleSpecification": "RSPEC-5970", "sqKey": "S5970", - "scope": "Tests" + "scope": "Tests", + "quickfix": "unknown" } diff --git a/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S5973_java.json b/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S5973_java.json index 14fa2dbc364..55c48d7ae52 100644 --- a/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S5973_java.json +++ b/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S5973_java.json @@ -14,5 +14,6 @@ "defaultSeverity": "Major", "ruleSpecification": "RSPEC-5973", "sqKey": "S5973", - "scope": "Tests" + "scope": "Tests", + "quickfix": "unknown" } diff --git a/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S5976_java.json b/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S5976_java.json index c58c9966f88..043e6618467 100644 --- a/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S5976_java.json +++ b/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S5976_java.json @@ -14,5 +14,6 @@ "defaultSeverity": "Major", "ruleSpecification": "RSPEC-5976", "sqKey": "S5976", - "scope": "Tests" + "scope": "Tests", + "quickfix": "unknown" } diff --git a/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S5977_java.json b/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S5977_java.json index e0fc0c7bd21..db42df791bc 100644 --- a/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S5977_java.json +++ b/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S5977_java.json @@ -14,5 +14,6 @@ "defaultSeverity": "Major", "ruleSpecification": "RSPEC-5977", "sqKey": "S5977", - "scope": "Tests" + "scope": "Tests", + "quickfix": "unknown" } diff --git a/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S5979_java.json b/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S5979_java.json index 01ee2907594..e6935a8cd9c 100644 --- a/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S5979_java.json +++ b/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S5979_java.json @@ -13,5 +13,6 @@ "defaultSeverity": "Blocker", "ruleSpecification": "RSPEC-5979", "sqKey": "S5979", - "scope": "Tests" + "scope": "Tests", + "quickfix": "unknown" } diff --git a/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S5993_java.json b/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S5993_java.json index 136bb9399db..a32bfbd9989 100644 --- a/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S5993_java.json +++ b/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S5993_java.json @@ -12,5 +12,6 @@ "defaultSeverity": "Major", "ruleSpecification": "RSPEC-5993", "sqKey": "S5993", - "scope": "Main" + "scope": "Main", + "quickfix": "unknown" } diff --git a/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S5994_java.json b/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S5994_java.json index 34fb2f52ca8..cecec52968b 100644 --- a/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S5994_java.json +++ b/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S5994_java.json @@ -12,5 +12,6 @@ "defaultSeverity": "Critical", "ruleSpecification": "RSPEC-5994", "sqKey": "S5994", - "scope": "All" + "scope": "All", + "quickfix": "unknown" } diff --git a/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S5996_java.json b/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S5996_java.json index aade9ec363e..4d7a5b481cc 100644 --- a/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S5996_java.json +++ b/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S5996_java.json @@ -12,5 +12,6 @@ "defaultSeverity": "Critical", "ruleSpecification": "RSPEC-5996", "sqKey": "S5996", - "scope": "Main" + "scope": "Main", + "quickfix": "unknown" } diff --git a/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S5998_java.json b/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S5998_java.json index f43a04b5a9f..ab78639b458 100644 --- a/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S5998_java.json +++ b/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S5998_java.json @@ -12,5 +12,6 @@ "defaultSeverity": "Major", "ruleSpecification": "RSPEC-5998", "sqKey": "S5998", - "scope": "Main" + "scope": "Main", + "quickfix": "unknown" } diff --git a/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S6001_java.json b/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S6001_java.json index f7b7d9aa6e5..c3b02d329e7 100644 --- a/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S6001_java.json +++ b/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S6001_java.json @@ -12,5 +12,6 @@ "defaultSeverity": "Critical", "ruleSpecification": "RSPEC-6001", "sqKey": "S6001", - "scope": "All" + "scope": "All", + "quickfix": "unknown" } diff --git a/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S6002_java.json b/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S6002_java.json index fa5388e5064..4e8e635ef7b 100644 --- a/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S6002_java.json +++ b/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S6002_java.json @@ -12,5 +12,6 @@ "defaultSeverity": "Critical", "ruleSpecification": "RSPEC-6002", "sqKey": "S6002", - "scope": "All" + "scope": "All", + "quickfix": "unknown" } diff --git a/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S6019_java.html b/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S6019_java.html index d8893ae4d3f..aade8583b5d 100644 --- a/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S6019_java.html +++ b/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S6019_java.html @@ -6,12 +6,12 @@

    This is likely a sign that the regex does not work as intended.

    Noncompliant Code Example

    -str.split(".*?x?"); // Noncompliant, this will behave just like "x?"
    -str.matches(".*?"); // Noncompliant, replace with ".*"
    +"start123endstart456".replaceAll("start\\w*?(end)?", "x"); // Noncompliant. In contrast to what one would expect, the result is not "xx".
    +str.matches("\\d*?"); // Noncompliant. Matches the same as "\d*", but will backtrack in every position.
     

    Compliant Solution

    -str.split(".*?x");
    -str.matches(".*");
    +"start123endstart456".replaceAll("start\\w*?(end|$)", "x"); // Result is "xx".
    +str.matches("\\d*");
     
    diff --git a/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S6019_java.json b/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S6019_java.json index 525af9bf829..587edeb433c 100644 --- a/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S6019_java.json +++ b/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S6019_java.json @@ -12,5 +12,6 @@ "defaultSeverity": "Major", "ruleSpecification": "RSPEC-6019", "sqKey": "S6019", - "scope": "All" + "scope": "Main", + "quickfix": "unknown" } diff --git a/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S6035_java.json b/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S6035_java.json index 9ed985e43f1..8e392dd3eda 100644 --- a/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S6035_java.json +++ b/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S6035_java.json @@ -12,5 +12,6 @@ "defaultSeverity": "Major", "ruleSpecification": "RSPEC-6035", "sqKey": "S6035", - "scope": "All" + "scope": "Main", + "quickfix": "unknown" } diff --git a/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S6068_java.json b/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S6068_java.json index df2edb2cf4d..69674321d58 100644 --- a/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S6068_java.json +++ b/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S6068_java.json @@ -14,5 +14,6 @@ "defaultSeverity": "Minor", "ruleSpecification": "RSPEC-6068", "sqKey": "S6068", - "scope": "Tests" + "scope": "Tests", + "quickfix": "unknown" } diff --git a/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S6070_java.json b/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S6070_java.json index b3488347d5c..19753d55e3a 100644 --- a/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S6070_java.json +++ b/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S6070_java.json @@ -12,5 +12,6 @@ "defaultSeverity": "Major", "ruleSpecification": "RSPEC-6070", "sqKey": "S6070", - "scope": "All" + "scope": "All", + "quickfix": "unknown" } diff --git a/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S6073_java.json b/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S6073_java.json index 49fe54dd8bc..8856fc0d668 100644 --- a/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S6073_java.json +++ b/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S6073_java.json @@ -13,5 +13,6 @@ "defaultSeverity": "Major", "ruleSpecification": "RSPEC-6073", "sqKey": "S6073", - "scope": "Tests" + "scope": "Tests", + "quickfix": "unknown" } diff --git a/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S6103_java.json b/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S6103_java.json index 7fb93437c1a..ca1d8c429fc 100644 --- a/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S6103_java.json +++ b/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S6103_java.json @@ -12,5 +12,6 @@ "defaultSeverity": "Major", "ruleSpecification": "RSPEC-6103", "sqKey": "S6103", - "scope": "Tests" + "scope": "Tests", + "quickfix": "unknown" } diff --git a/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S6104_java.json b/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S6104_java.json index cee8de8b87d..f45d6f4d94b 100644 --- a/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S6104_java.json +++ b/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S6104_java.json @@ -10,5 +10,6 @@ "defaultSeverity": "Critical", "ruleSpecification": "RSPEC-6104", "sqKey": "S6104", - "scope": "All" + "scope": "All", + "quickfix": "unknown" } diff --git a/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S6126_java.json b/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S6126_java.json index dba1d43c7cb..2b9c8beeef4 100644 --- a/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S6126_java.json +++ b/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S6126_java.json @@ -12,5 +12,6 @@ "defaultSeverity": "Major", "ruleSpecification": "RSPEC-6126", "sqKey": "S6126", - "scope": "All" + "scope": "All", + "quickfix": "unknown" } diff --git a/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S6201_java.json b/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S6201_java.json index eae2cf97078..ecf9ff8e73c 100644 --- a/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S6201_java.json +++ b/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S6201_java.json @@ -12,5 +12,6 @@ "defaultSeverity": "Minor", "ruleSpecification": "RSPEC-6201", "sqKey": "S6201", - "scope": "Main" + "scope": "Main", + "quickfix": "unknown" } diff --git a/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S6202_java.json b/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S6202_java.json index 8f17207d286..b99fad7db05 100644 --- a/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S6202_java.json +++ b/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S6202_java.json @@ -10,5 +10,6 @@ "defaultSeverity": "Major", "ruleSpecification": "RSPEC-6202", "sqKey": "S6202", - "scope": "Main" + "scope": "Main", + "quickfix": "unknown" } diff --git a/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S6203_java.json b/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S6203_java.json index 31d553edc96..158e55c9eda 100644 --- a/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S6203_java.json +++ b/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S6203_java.json @@ -1,5 +1,4 @@ { - "title": "Text blocks should not be used in complex expressions", "type": "CODE_SMELL", "status": "ready", "remediation": { @@ -10,5 +9,7 @@ "defaultSeverity": "Minor", "ruleSpecification": "RSPEC-6203", "sqKey": "S6203", - "scope": "Main" + "scope": "Main", + "quickfix": "unknown", + "title": "Text blocks should not be used in complex expressions" } diff --git a/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S6204_java.json b/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S6204_java.json index f3e878e22ad..a30727f8aa4 100644 --- a/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S6204_java.json +++ b/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S6204_java.json @@ -12,5 +12,6 @@ "defaultSeverity": "Major", "ruleSpecification": "RSPEC-6204", "sqKey": "S6204", - "scope": "Main" + "scope": "Main", + "quickfix": "unknown" } diff --git a/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S6205_java.json b/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S6205_java.json index de3e99c5e53..976f6fc599d 100644 --- a/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S6205_java.json +++ b/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S6205_java.json @@ -12,5 +12,6 @@ "defaultSeverity": "Minor", "ruleSpecification": "RSPEC-6205", "sqKey": "S6205", - "scope": "Main" + "scope": "Main", + "quickfix": "unknown" } diff --git a/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S6206_java.json b/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S6206_java.json index 5e3692fa869..e0f5be59c4e 100644 --- a/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S6206_java.json +++ b/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S6206_java.json @@ -12,5 +12,6 @@ "defaultSeverity": "Major", "ruleSpecification": "RSPEC-6206", "sqKey": "S6206", - "scope": "Main" + "scope": "Main", + "quickfix": "unknown" } diff --git a/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S6207_java.json b/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S6207_java.json index 3162d571ff9..fb2bd2cf02b 100644 --- a/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S6207_java.json +++ b/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S6207_java.json @@ -1,5 +1,4 @@ { - "title": "Redundant constructors\/methods should be avoided in records", "type": "CODE_SMELL", "status": "ready", "remediation": { @@ -12,5 +11,7 @@ "defaultSeverity": "Major", "ruleSpecification": "RSPEC-6207", "sqKey": "S6207", - "scope": "Main" + "scope": "Main", + "quickfix": "unknown", + "title": "Redundant constructors\/methods should be avoided in records" } diff --git a/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S6208_java.json b/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S6208_java.json index 9282271442f..2eed86765cd 100644 --- a/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S6208_java.json +++ b/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S6208_java.json @@ -12,5 +12,6 @@ "defaultSeverity": "Info", "ruleSpecification": "RSPEC-6208", "sqKey": "S6208", - "scope": "Main" + "scope": "Main", + "quickfix": "unknown" } diff --git a/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S6209_java.json b/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S6209_java.json index 0cc16b38e5f..c78e3b869be 100644 --- a/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S6209_java.json +++ b/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S6209_java.json @@ -12,5 +12,6 @@ "defaultSeverity": "Critical", "ruleSpecification": "RSPEC-6209", "sqKey": "S6209", - "scope": "Main" + "scope": "Main", + "quickfix": "unknown" } diff --git a/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S6211_java.json b/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S6211_java.json index 8ced956a5a5..00cff497afc 100644 --- a/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S6211_java.json +++ b/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S6211_java.json @@ -12,5 +12,6 @@ "defaultSeverity": "Major", "ruleSpecification": "RSPEC-6211", "sqKey": "S6211", - "scope": "Main" + "scope": "Main", + "quickfix": "unknown" } diff --git a/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S6212_java.json b/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S6212_java.json index 4e33e24d451..335bff56cd4 100644 --- a/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S6212_java.json +++ b/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S6212_java.json @@ -12,5 +12,6 @@ "defaultSeverity": "Info", "ruleSpecification": "RSPEC-6212", "sqKey": "S6212", - "scope": "Main" + "scope": "Main", + "quickfix": "unknown" } diff --git a/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S6213_java.json b/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S6213_java.json index aef1060622f..1b10dd25048 100644 --- a/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S6213_java.json +++ b/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S6213_java.json @@ -10,5 +10,6 @@ "defaultSeverity": "Major", "ruleSpecification": "RSPEC-6213", "sqKey": "S6213", - "scope": "Main" + "scope": "Main", + "quickfix": "unknown" } diff --git a/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S6216_java.json b/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S6216_java.json index ff558e6b33c..6ffc7c5e6fa 100644 --- a/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S6216_java.json +++ b/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S6216_java.json @@ -12,5 +12,6 @@ "defaultSeverity": "Major", "ruleSpecification": "RSPEC-6216", "sqKey": "S6216", - "scope": "Main" + "scope": "Main", + "quickfix": "unknown" } diff --git a/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S6218_java.json b/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S6218_java.json index ce9ab3a55e6..e08427373b4 100644 --- a/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S6218_java.json +++ b/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S6218_java.json @@ -1,5 +1,4 @@ { - "title": "Equals method should be overridden in records containing array fields", "type": "BUG", "status": "ready", "remediation": { @@ -12,5 +11,7 @@ "defaultSeverity": "Major", "ruleSpecification": "RSPEC-6218", "sqKey": "S6218", - "scope": "Main" + "scope": "Main", + "quickfix": "unknown", + "title": "Equals method should be overridden in records containing array fields" } diff --git a/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S6219_java.json b/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S6219_java.json index ec878060ada..b336fb42721 100644 --- a/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S6219_java.json +++ b/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S6219_java.json @@ -12,5 +12,6 @@ "defaultSeverity": "Minor", "ruleSpecification": "RSPEC-6219", "sqKey": "S6219", - "scope": "Main" + "scope": "Main", + "quickfix": "unknown" } diff --git a/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S6300_java.html b/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S6300_java.html index 6a0b3b9db91..c82e6431b63 100644 --- a/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S6300_java.html +++ b/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S6300_java.html @@ -8,6 +8,29 @@

    Ask Yourself Whether

    Recommended Secure Coding Practices

    It’s recommended to password-encrypt local files that contain sensitive information. The class EncryptedFile can be used to easily encrypt files.

    +

    Sensitive Code Example

    +
    +Files.write(path, content); // Sensitive
    +
    +FileOutputStream out = new FileOutputStream(file); // Sensitive
    +
    +FileWriter fw = new FileWriter("outfilename", false); // Sensitive
    +
    +

    Compliant Solution

    +
    +String masterKeyAlias = MasterKeys.getOrCreate(MasterKeys.AES256_GCM_SPEC);
    +
    +File file = new File(context.getFilesDir(), "secret_data");
    +EncryptedFile encryptedFile = EncryptedFile.Builder(
    +    file,
    +    context,
    +    masterKeyAlias,
    +    EncryptedFile.FileEncryptionScheme.AES256_GCM_HKDF_4KB
    +).build();
    +
    +// write to the encrypted file
    +FileOutputStream encryptedOutputStream = encryptedFile.openFileOutput();
    +

    See