From 98ac462d427aec7ae72f13e038a5280d9685e57c Mon Sep 17 00:00:00 2001
From: Alban Auzeill
Date: Fri, 15 Nov 2024 09:55:16 +0100
Subject: [PATCH] SONARJAVA-5182 Update rule metadata with new code impacts
(#4928)
---
.../org/sonar/l10n/java/rules/java/S1147.json | 2 +-
.../org/sonar/l10n/java/rules/java/S1190.json | 2 +-
.../org/sonar/l10n/java/rules/java/S1219.json | 2 +-
.../org/sonar/l10n/java/rules/java/S128.json | 2 +-
.../org/sonar/l10n/java/rules/java/S1309.json | 2 +-
.../org/sonar/l10n/java/rules/java/S1314.json | 2 +-
.../org/sonar/l10n/java/rules/java/S1451.json | 2 +-
.../org/sonar/l10n/java/rules/java/S1845.json | 2 +-
.../org/sonar/l10n/java/rules/java/S2068.json | 2 +-
.../org/sonar/l10n/java/rules/java/S2096.json | 2 +-
.../org/sonar/l10n/java/rules/java/S2168.json | 2 +-
.../org/sonar/l10n/java/rules/java/S2178.json | 2 +-
.../org/sonar/l10n/java/rules/java/S2187.json | 2 +-
.../org/sonar/l10n/java/rules/java/S2188.json | 2 +-
.../org/sonar/l10n/java/rules/java/S2229.json | 2 +-
.../org/sonar/l10n/java/rules/java/S2236.json | 2 +-
.../org/sonar/l10n/java/rules/java/S2245.html | 36 +++++++++++--------
.../org/sonar/l10n/java/rules/java/S2275.json | 2 +-
.../org/sonar/l10n/java/rules/java/S2276.json | 2 +-
.../org/sonar/l10n/java/rules/java/S2387.json | 2 +-
.../org/sonar/l10n/java/rules/java/S2437.json | 2 +-
.../org/sonar/l10n/java/rules/java/S2693.json | 2 +-
.../org/sonar/l10n/java/rules/java/S2695.json | 2 +-
.../org/sonar/l10n/java/rules/java/S2699.json | 2 +-
.../org/sonar/l10n/java/rules/java/S2970.json | 2 +-
.../org/sonar/l10n/java/rules/java/S2975.json | 2 +-
.../org/sonar/l10n/java/rules/java/S3014.json | 2 +-
.../org/sonar/l10n/java/rules/java/S3046.json | 2 +-
.../org/sonar/l10n/java/rules/java/S3753.json | 2 +-
.../org/sonar/l10n/java/rules/java/S4602.json | 2 +-
.../org/sonar/l10n/java/rules/java/S5786.json | 2 +-
.../org/sonar/l10n/java/rules/java/S5793.json | 2 +-
.../org/sonar/l10n/java/rules/java/S5979.json | 2 +-
.../org/sonar/l10n/java/rules/java/S6208.json | 2 +-
.../org/sonar/l10n/java/rules/java/S6212.json | 2 +-
.../org/sonar/l10n/java/rules/java/S6418.json | 2 +-
.../org/sonar/l10n/java/rules/java/S6539.json | 2 +-
.../org/sonar/l10n/java/rules/java/S6541.json | 2 +-
.../org/sonar/l10n/java/rules/java/S6548.json | 2 +-
.../org/sonar/l10n/java/rules/java/S923.json | 2 +-
sonarpedia.json | 2 +-
41 files changed, 62 insertions(+), 54 deletions(-)
diff --git a/sonar-java-plugin/src/main/resources/org/sonar/l10n/java/rules/java/S1147.json b/sonar-java-plugin/src/main/resources/org/sonar/l10n/java/rules/java/S1147.json
index c8efaa81cdd..2a4b2a46516 100644
--- a/sonar-java-plugin/src/main/resources/org/sonar/l10n/java/rules/java/S1147.json
+++ b/sonar-java-plugin/src/main/resources/org/sonar/l10n/java/rules/java/S1147.json
@@ -3,7 +3,7 @@
"type": "CODE_SMELL",
"code": {
"impacts": {
- "MAINTAINABILITY": "HIGH"
+ "MAINTAINABILITY": "BLOCKER"
},
"attribute": "CONVENTIONAL"
},
diff --git a/sonar-java-plugin/src/main/resources/org/sonar/l10n/java/rules/java/S1190.json b/sonar-java-plugin/src/main/resources/org/sonar/l10n/java/rules/java/S1190.json
index 686367cf705..df87e2bc506 100644
--- a/sonar-java-plugin/src/main/resources/org/sonar/l10n/java/rules/java/S1190.json
+++ b/sonar-java-plugin/src/main/resources/org/sonar/l10n/java/rules/java/S1190.json
@@ -3,7 +3,7 @@
"type": "CODE_SMELL",
"code": {
"impacts": {
- "MAINTAINABILITY": "HIGH"
+ "MAINTAINABILITY": "BLOCKER"
},
"attribute": "CONVENTIONAL"
},
diff --git a/sonar-java-plugin/src/main/resources/org/sonar/l10n/java/rules/java/S1219.json b/sonar-java-plugin/src/main/resources/org/sonar/l10n/java/rules/java/S1219.json
index 9f4cb308be9..cba9f46942a 100644
--- a/sonar-java-plugin/src/main/resources/org/sonar/l10n/java/rules/java/S1219.json
+++ b/sonar-java-plugin/src/main/resources/org/sonar/l10n/java/rules/java/S1219.json
@@ -3,7 +3,7 @@
"type": "CODE_SMELL",
"code": {
"impacts": {
- "MAINTAINABILITY": "HIGH"
+ "MAINTAINABILITY": "BLOCKER"
},
"attribute": "CLEAR"
},
diff --git a/sonar-java-plugin/src/main/resources/org/sonar/l10n/java/rules/java/S128.json b/sonar-java-plugin/src/main/resources/org/sonar/l10n/java/rules/java/S128.json
index 20c6f398cd9..7566bd8568f 100644
--- a/sonar-java-plugin/src/main/resources/org/sonar/l10n/java/rules/java/S128.json
+++ b/sonar-java-plugin/src/main/resources/org/sonar/l10n/java/rules/java/S128.json
@@ -3,7 +3,7 @@
"type": "CODE_SMELL",
"code": {
"impacts": {
- "MAINTAINABILITY": "HIGH"
+ "MAINTAINABILITY": "BLOCKER"
},
"attribute": "CLEAR"
},
diff --git a/sonar-java-plugin/src/main/resources/org/sonar/l10n/java/rules/java/S1309.json b/sonar-java-plugin/src/main/resources/org/sonar/l10n/java/rules/java/S1309.json
index c6e5f596c30..1576e9d3fc4 100644
--- a/sonar-java-plugin/src/main/resources/org/sonar/l10n/java/rules/java/S1309.json
+++ b/sonar-java-plugin/src/main/resources/org/sonar/l10n/java/rules/java/S1309.json
@@ -3,7 +3,7 @@
"type": "CODE_SMELL",
"code": {
"impacts": {
- "MAINTAINABILITY": "LOW"
+ "MAINTAINABILITY": "INFO"
},
"attribute": "CLEAR"
},
diff --git a/sonar-java-plugin/src/main/resources/org/sonar/l10n/java/rules/java/S1314.json b/sonar-java-plugin/src/main/resources/org/sonar/l10n/java/rules/java/S1314.json
index 17e37467df9..4e3d6c56680 100644
--- a/sonar-java-plugin/src/main/resources/org/sonar/l10n/java/rules/java/S1314.json
+++ b/sonar-java-plugin/src/main/resources/org/sonar/l10n/java/rules/java/S1314.json
@@ -3,7 +3,7 @@
"type": "CODE_SMELL",
"code": {
"impacts": {
- "MAINTAINABILITY": "HIGH"
+ "MAINTAINABILITY": "BLOCKER"
},
"attribute": "CLEAR"
},
diff --git a/sonar-java-plugin/src/main/resources/org/sonar/l10n/java/rules/java/S1451.json b/sonar-java-plugin/src/main/resources/org/sonar/l10n/java/rules/java/S1451.json
index 06b1ba15376..5d760dce4d0 100644
--- a/sonar-java-plugin/src/main/resources/org/sonar/l10n/java/rules/java/S1451.json
+++ b/sonar-java-plugin/src/main/resources/org/sonar/l10n/java/rules/java/S1451.json
@@ -3,7 +3,7 @@
"type": "CODE_SMELL",
"code": {
"impacts": {
- "MAINTAINABILITY": "HIGH"
+ "MAINTAINABILITY": "BLOCKER"
},
"attribute": "LAWFUL"
},
diff --git a/sonar-java-plugin/src/main/resources/org/sonar/l10n/java/rules/java/S1845.json b/sonar-java-plugin/src/main/resources/org/sonar/l10n/java/rules/java/S1845.json
index 8f64fd60034..2fd5ad461eb 100644
--- a/sonar-java-plugin/src/main/resources/org/sonar/l10n/java/rules/java/S1845.json
+++ b/sonar-java-plugin/src/main/resources/org/sonar/l10n/java/rules/java/S1845.json
@@ -3,7 +3,7 @@
"type": "CODE_SMELL",
"code": {
"impacts": {
- "MAINTAINABILITY": "HIGH"
+ "MAINTAINABILITY": "BLOCKER"
},
"attribute": "IDENTIFIABLE"
},
diff --git a/sonar-java-plugin/src/main/resources/org/sonar/l10n/java/rules/java/S2068.json b/sonar-java-plugin/src/main/resources/org/sonar/l10n/java/rules/java/S2068.json
index 0a0af9ecfd5..3bd134f5666 100644
--- a/sonar-java-plugin/src/main/resources/org/sonar/l10n/java/rules/java/S2068.json
+++ b/sonar-java-plugin/src/main/resources/org/sonar/l10n/java/rules/java/S2068.json
@@ -3,7 +3,7 @@
"type": "SECURITY_HOTSPOT",
"code": {
"impacts": {
- "SECURITY": "HIGH"
+ "SECURITY": "BLOCKER"
},
"attribute": "TRUSTWORTHY"
},
diff --git a/sonar-java-plugin/src/main/resources/org/sonar/l10n/java/rules/java/S2096.json b/sonar-java-plugin/src/main/resources/org/sonar/l10n/java/rules/java/S2096.json
index e38005d1570..758c6e5aa61 100644
--- a/sonar-java-plugin/src/main/resources/org/sonar/l10n/java/rules/java/S2096.json
+++ b/sonar-java-plugin/src/main/resources/org/sonar/l10n/java/rules/java/S2096.json
@@ -3,7 +3,7 @@
"type": "CODE_SMELL",
"code": {
"impacts": {
- "MAINTAINABILITY": "HIGH"
+ "MAINTAINABILITY": "BLOCKER"
},
"attribute": "CLEAR"
},
diff --git a/sonar-java-plugin/src/main/resources/org/sonar/l10n/java/rules/java/S2168.json b/sonar-java-plugin/src/main/resources/org/sonar/l10n/java/rules/java/S2168.json
index f9b9979ef05..fd541644774 100644
--- a/sonar-java-plugin/src/main/resources/org/sonar/l10n/java/rules/java/S2168.json
+++ b/sonar-java-plugin/src/main/resources/org/sonar/l10n/java/rules/java/S2168.json
@@ -3,7 +3,7 @@
"type": "BUG",
"code": {
"impacts": {
- "RELIABILITY": "HIGH"
+ "RELIABILITY": "BLOCKER"
},
"attribute": "COMPLETE"
},
diff --git a/sonar-java-plugin/src/main/resources/org/sonar/l10n/java/rules/java/S2178.json b/sonar-java-plugin/src/main/resources/org/sonar/l10n/java/rules/java/S2178.json
index 15ef97570bb..89f268c345f 100644
--- a/sonar-java-plugin/src/main/resources/org/sonar/l10n/java/rules/java/S2178.json
+++ b/sonar-java-plugin/src/main/resources/org/sonar/l10n/java/rules/java/S2178.json
@@ -3,7 +3,7 @@
"type": "CODE_SMELL",
"code": {
"impacts": {
- "MAINTAINABILITY": "HIGH"
+ "MAINTAINABILITY": "BLOCKER"
},
"attribute": "LOGICAL"
},
diff --git a/sonar-java-plugin/src/main/resources/org/sonar/l10n/java/rules/java/S2187.json b/sonar-java-plugin/src/main/resources/org/sonar/l10n/java/rules/java/S2187.json
index a15a960d7d0..9f787772b2f 100644
--- a/sonar-java-plugin/src/main/resources/org/sonar/l10n/java/rules/java/S2187.json
+++ b/sonar-java-plugin/src/main/resources/org/sonar/l10n/java/rules/java/S2187.json
@@ -3,7 +3,7 @@
"type": "CODE_SMELL",
"code": {
"impacts": {
- "MAINTAINABILITY": "HIGH"
+ "MAINTAINABILITY": "BLOCKER"
},
"attribute": "TESTED"
},
diff --git a/sonar-java-plugin/src/main/resources/org/sonar/l10n/java/rules/java/S2188.json b/sonar-java-plugin/src/main/resources/org/sonar/l10n/java/rules/java/S2188.json
index 08ab1b5a50d..583ee20cea5 100644
--- a/sonar-java-plugin/src/main/resources/org/sonar/l10n/java/rules/java/S2188.json
+++ b/sonar-java-plugin/src/main/resources/org/sonar/l10n/java/rules/java/S2188.json
@@ -3,7 +3,7 @@
"type": "CODE_SMELL",
"code": {
"impacts": {
- "MAINTAINABILITY": "HIGH"
+ "MAINTAINABILITY": "BLOCKER"
},
"attribute": "COMPLETE"
},
diff --git a/sonar-java-plugin/src/main/resources/org/sonar/l10n/java/rules/java/S2229.json b/sonar-java-plugin/src/main/resources/org/sonar/l10n/java/rules/java/S2229.json
index 6a0c421c97e..3c41fb43eeb 100644
--- a/sonar-java-plugin/src/main/resources/org/sonar/l10n/java/rules/java/S2229.json
+++ b/sonar-java-plugin/src/main/resources/org/sonar/l10n/java/rules/java/S2229.json
@@ -3,7 +3,7 @@
"type": "BUG",
"code": {
"impacts": {
- "RELIABILITY": "HIGH"
+ "RELIABILITY": "BLOCKER"
},
"attribute": "CONVENTIONAL"
},
diff --git a/sonar-java-plugin/src/main/resources/org/sonar/l10n/java/rules/java/S2236.json b/sonar-java-plugin/src/main/resources/org/sonar/l10n/java/rules/java/S2236.json
index b6c81fde9bb..e9ddb7040ab 100644
--- a/sonar-java-plugin/src/main/resources/org/sonar/l10n/java/rules/java/S2236.json
+++ b/sonar-java-plugin/src/main/resources/org/sonar/l10n/java/rules/java/S2236.json
@@ -3,7 +3,7 @@
"type": "BUG",
"code": {
"impacts": {
- "RELIABILITY": "HIGH"
+ "RELIABILITY": "BLOCKER"
},
"attribute": "LOGICAL"
},
diff --git a/sonar-java-plugin/src/main/resources/org/sonar/l10n/java/rules/java/S2245.html b/sonar-java-plugin/src/main/resources/org/sonar/l10n/java/rules/java/S2245.html
index 169adbaf386..a89697950e9 100644
--- a/sonar-java-plugin/src/main/resources/org/sonar/l10n/java/rules/java/S2245.html
+++ b/sonar-java-plugin/src/main/resources/org/sonar/l10n/java/rules/java/S2245.html
@@ -1,26 +1,35 @@
-Using pseudorandom number generators (PRNGs) is security-sensitive. For example, it has led in the past to the following vulnerabilities:
+PRNGs are algorithms that produce sequences of numbers that only approximate true randomness. While they are suitable for applications like
+simulations or modeling, they are not appropriate for security-sensitive contexts because their outputs can be predictable if the internal state is
+known.
+In contrast, cryptographically secure pseudorandom number generators (CSPRNGs) are designed to be secure against prediction attacks. CSPRNGs use
+cryptographic algorithms to ensure that the generated sequences are not only random but also unpredictable, even if part of the sequence or the
+internal state becomes known. This unpredictability is crucial for security-related tasks such as generating encryption keys, tokens, or any other
+values that must remain confidential and resistant to guessing attacks.
+For example, the use of non-cryptographic PRNGs has led to vulnerabilities such as:
When software generates predictable values in a context requiring unpredictability, it may be possible for an attacker to guess the next value that
-will be generated, and use this guess to impersonate another user or access sensitive information.
-As the java.util.Random
class relies on a pseudorandom number generator, this class and relating java.lang.Math.random()
-method should not be used for security-critical applications or for protecting sensitive data. In such context, the
-java.security.SecureRandom
class which relies on a cryptographically strong random number generator (RNG) should be used in place.
+will be generated, and use this guess to impersonate another user or access sensitive information. Therefore, it is critical to use CSPRNGs in any
+security-sensitive application to ensure the robustness and security of the system.
+As the java.util.Random
class relies on a non-cryptographic pseudorandom number generator, this class and relating
+java.lang.Math.random()
method should not be used for security-critical applications or for protecting sensitive data. In such context,
+the java.security.SecureRandom
class which relies on a CSPRNG should be used in place.
Ask Yourself Whether
- the code using the generated value requires it to be unpredictable. It is the case for all encryption mechanisms or when a secret value, such
as a password, is hashed.
- - the function you use generates a value which can be predicted (pseudo-random).
+ - the function you use is a non-cryptographic PRNG.
- the generated value is used multiple times.
- an attacker can access the generated value.
There is a risk if you answered yes to any of those questions.
Recommended Secure Coding Practices
- - Use a cryptographically strong random number generator (RNG) like "java.security.SecureRandom" in place of this PRNG.
+ - Use a cryptographically secure pseudo random number generator (CSPRNG) like "java.security.SecureRandom" in place of a non-cryptographic PRNG.
+
- Use the generated random values only once.
- You should not expose the generated random value. If you have to store it, make sure that the database or file is secure.
@@ -32,12 +41,14 @@ Sensitive Code Example
Compliant Solution
-SecureRandom random = new SecureRandom(); // Compliant for security-sensitive use cases
+SecureRandom random = new SecureRandom();
byte bytes[] = new byte[20];
random.nextBytes(bytes);
See
diff --git a/sonar-java-plugin/src/main/resources/org/sonar/l10n/java/rules/java/S2275.json b/sonar-java-plugin/src/main/resources/org/sonar/l10n/java/rules/java/S2275.json
index b1c767abf25..cc97c2b52ce 100644
--- a/sonar-java-plugin/src/main/resources/org/sonar/l10n/java/rules/java/S2275.json
+++ b/sonar-java-plugin/src/main/resources/org/sonar/l10n/java/rules/java/S2275.json
@@ -3,7 +3,7 @@
"type": "BUG",
"code": {
"impacts": {
- "RELIABILITY": "HIGH"
+ "RELIABILITY": "BLOCKER"
},
"attribute": "LOGICAL"
},
diff --git a/sonar-java-plugin/src/main/resources/org/sonar/l10n/java/rules/java/S2276.json b/sonar-java-plugin/src/main/resources/org/sonar/l10n/java/rules/java/S2276.json
index 9beb47d36f4..9a2d3896842 100644
--- a/sonar-java-plugin/src/main/resources/org/sonar/l10n/java/rules/java/S2276.json
+++ b/sonar-java-plugin/src/main/resources/org/sonar/l10n/java/rules/java/S2276.json
@@ -3,7 +3,7 @@
"type": "BUG",
"code": {
"impacts": {
- "RELIABILITY": "HIGH"
+ "RELIABILITY": "BLOCKER"
},
"attribute": "LOGICAL"
},
diff --git a/sonar-java-plugin/src/main/resources/org/sonar/l10n/java/rules/java/S2387.json b/sonar-java-plugin/src/main/resources/org/sonar/l10n/java/rules/java/S2387.json
index 92536efc3cd..394edc4a3f2 100644
--- a/sonar-java-plugin/src/main/resources/org/sonar/l10n/java/rules/java/S2387.json
+++ b/sonar-java-plugin/src/main/resources/org/sonar/l10n/java/rules/java/S2387.json
@@ -3,7 +3,7 @@
"type": "CODE_SMELL",
"code": {
"impacts": {
- "MAINTAINABILITY": "HIGH"
+ "MAINTAINABILITY": "BLOCKER"
},
"attribute": "CLEAR"
},
diff --git a/sonar-java-plugin/src/main/resources/org/sonar/l10n/java/rules/java/S2437.json b/sonar-java-plugin/src/main/resources/org/sonar/l10n/java/rules/java/S2437.json
index e6c10d8a7f4..e34641851b5 100644
--- a/sonar-java-plugin/src/main/resources/org/sonar/l10n/java/rules/java/S2437.json
+++ b/sonar-java-plugin/src/main/resources/org/sonar/l10n/java/rules/java/S2437.json
@@ -3,7 +3,7 @@
"type": "CODE_SMELL",
"code": {
"impacts": {
- "MAINTAINABILITY": "HIGH"
+ "MAINTAINABILITY": "BLOCKER"
},
"attribute": "LOGICAL"
},
diff --git a/sonar-java-plugin/src/main/resources/org/sonar/l10n/java/rules/java/S2693.json b/sonar-java-plugin/src/main/resources/org/sonar/l10n/java/rules/java/S2693.json
index 661c701be72..db61b0d8def 100644
--- a/sonar-java-plugin/src/main/resources/org/sonar/l10n/java/rules/java/S2693.json
+++ b/sonar-java-plugin/src/main/resources/org/sonar/l10n/java/rules/java/S2693.json
@@ -3,7 +3,7 @@
"type": "CODE_SMELL",
"code": {
"impacts": {
- "MAINTAINABILITY": "HIGH"
+ "MAINTAINABILITY": "BLOCKER"
},
"attribute": "FOCUSED"
},
diff --git a/sonar-java-plugin/src/main/resources/org/sonar/l10n/java/rules/java/S2695.json b/sonar-java-plugin/src/main/resources/org/sonar/l10n/java/rules/java/S2695.json
index 6914853423c..cda87dc3d4e 100644
--- a/sonar-java-plugin/src/main/resources/org/sonar/l10n/java/rules/java/S2695.json
+++ b/sonar-java-plugin/src/main/resources/org/sonar/l10n/java/rules/java/S2695.json
@@ -3,7 +3,7 @@
"type": "BUG",
"code": {
"impacts": {
- "RELIABILITY": "HIGH"
+ "RELIABILITY": "BLOCKER"
},
"attribute": "LOGICAL"
},
diff --git a/sonar-java-plugin/src/main/resources/org/sonar/l10n/java/rules/java/S2699.json b/sonar-java-plugin/src/main/resources/org/sonar/l10n/java/rules/java/S2699.json
index 6886cfe1c0f..473a296157a 100644
--- a/sonar-java-plugin/src/main/resources/org/sonar/l10n/java/rules/java/S2699.json
+++ b/sonar-java-plugin/src/main/resources/org/sonar/l10n/java/rules/java/S2699.json
@@ -3,7 +3,7 @@
"type": "CODE_SMELL",
"code": {
"impacts": {
- "MAINTAINABILITY": "HIGH"
+ "MAINTAINABILITY": "BLOCKER"
},
"attribute": "TESTED"
},
diff --git a/sonar-java-plugin/src/main/resources/org/sonar/l10n/java/rules/java/S2970.json b/sonar-java-plugin/src/main/resources/org/sonar/l10n/java/rules/java/S2970.json
index 96fa76eb578..842a6266e26 100644
--- a/sonar-java-plugin/src/main/resources/org/sonar/l10n/java/rules/java/S2970.json
+++ b/sonar-java-plugin/src/main/resources/org/sonar/l10n/java/rules/java/S2970.json
@@ -3,7 +3,7 @@
"type": "CODE_SMELL",
"code": {
"impacts": {
- "MAINTAINABILITY": "HIGH"
+ "MAINTAINABILITY": "BLOCKER"
},
"attribute": "TESTED"
},
diff --git a/sonar-java-plugin/src/main/resources/org/sonar/l10n/java/rules/java/S2975.json b/sonar-java-plugin/src/main/resources/org/sonar/l10n/java/rules/java/S2975.json
index 6ac09592606..612f8c6dc81 100644
--- a/sonar-java-plugin/src/main/resources/org/sonar/l10n/java/rules/java/S2975.json
+++ b/sonar-java-plugin/src/main/resources/org/sonar/l10n/java/rules/java/S2975.json
@@ -3,7 +3,7 @@
"type": "CODE_SMELL",
"code": {
"impacts": {
- "MAINTAINABILITY": "HIGH"
+ "MAINTAINABILITY": "BLOCKER"
},
"attribute": "CONVENTIONAL"
},
diff --git a/sonar-java-plugin/src/main/resources/org/sonar/l10n/java/rules/java/S3014.json b/sonar-java-plugin/src/main/resources/org/sonar/l10n/java/rules/java/S3014.json
index 46a086b443c..bd6cfbc832a 100644
--- a/sonar-java-plugin/src/main/resources/org/sonar/l10n/java/rules/java/S3014.json
+++ b/sonar-java-plugin/src/main/resources/org/sonar/l10n/java/rules/java/S3014.json
@@ -3,7 +3,7 @@
"type": "CODE_SMELL",
"code": {
"impacts": {
- "MAINTAINABILITY": "HIGH"
+ "MAINTAINABILITY": "BLOCKER"
},
"attribute": "CONVENTIONAL"
},
diff --git a/sonar-java-plugin/src/main/resources/org/sonar/l10n/java/rules/java/S3046.json b/sonar-java-plugin/src/main/resources/org/sonar/l10n/java/rules/java/S3046.json
index d63be1daea0..30959ce8218 100644
--- a/sonar-java-plugin/src/main/resources/org/sonar/l10n/java/rules/java/S3046.json
+++ b/sonar-java-plugin/src/main/resources/org/sonar/l10n/java/rules/java/S3046.json
@@ -3,7 +3,7 @@
"type": "BUG",
"code": {
"impacts": {
- "RELIABILITY": "HIGH"
+ "RELIABILITY": "BLOCKER"
},
"attribute": "COMPLETE"
},
diff --git a/sonar-java-plugin/src/main/resources/org/sonar/l10n/java/rules/java/S3753.json b/sonar-java-plugin/src/main/resources/org/sonar/l10n/java/rules/java/S3753.json
index 3fc277b55d9..cef2b883c7b 100644
--- a/sonar-java-plugin/src/main/resources/org/sonar/l10n/java/rules/java/S3753.json
+++ b/sonar-java-plugin/src/main/resources/org/sonar/l10n/java/rules/java/S3753.json
@@ -3,7 +3,7 @@
"type": "BUG",
"code": {
"impacts": {
- "RELIABILITY": "HIGH"
+ "RELIABILITY": "BLOCKER"
},
"attribute": "COMPLETE"
},
diff --git a/sonar-java-plugin/src/main/resources/org/sonar/l10n/java/rules/java/S4602.json b/sonar-java-plugin/src/main/resources/org/sonar/l10n/java/rules/java/S4602.json
index e7ca1b4a78d..d73ff5976e9 100644
--- a/sonar-java-plugin/src/main/resources/org/sonar/l10n/java/rules/java/S4602.json
+++ b/sonar-java-plugin/src/main/resources/org/sonar/l10n/java/rules/java/S4602.json
@@ -3,7 +3,7 @@
"type": "BUG",
"code": {
"impacts": {
- "RELIABILITY": "HIGH"
+ "RELIABILITY": "BLOCKER"
},
"attribute": "LOGICAL"
},
diff --git a/sonar-java-plugin/src/main/resources/org/sonar/l10n/java/rules/java/S5786.json b/sonar-java-plugin/src/main/resources/org/sonar/l10n/java/rules/java/S5786.json
index 7b60a158cb7..2b1d3ea2f89 100644
--- a/sonar-java-plugin/src/main/resources/org/sonar/l10n/java/rules/java/S5786.json
+++ b/sonar-java-plugin/src/main/resources/org/sonar/l10n/java/rules/java/S5786.json
@@ -3,7 +3,7 @@
"type": "CODE_SMELL",
"code": {
"impacts": {
- "MAINTAINABILITY": "LOW"
+ "MAINTAINABILITY": "INFO"
},
"attribute": "CLEAR"
},
diff --git a/sonar-java-plugin/src/main/resources/org/sonar/l10n/java/rules/java/S5793.json b/sonar-java-plugin/src/main/resources/org/sonar/l10n/java/rules/java/S5793.json
index eacfbd2e623..c6bbb2aee50 100644
--- a/sonar-java-plugin/src/main/resources/org/sonar/l10n/java/rules/java/S5793.json
+++ b/sonar-java-plugin/src/main/resources/org/sonar/l10n/java/rules/java/S5793.json
@@ -3,7 +3,7 @@
"type": "CODE_SMELL",
"code": {
"impacts": {
- "MAINTAINABILITY": "LOW"
+ "MAINTAINABILITY": "INFO"
},
"attribute": "CONVENTIONAL"
},
diff --git a/sonar-java-plugin/src/main/resources/org/sonar/l10n/java/rules/java/S5979.json b/sonar-java-plugin/src/main/resources/org/sonar/l10n/java/rules/java/S5979.json
index c71266afbb0..e8ff9bf75fc 100644
--- a/sonar-java-plugin/src/main/resources/org/sonar/l10n/java/rules/java/S5979.json
+++ b/sonar-java-plugin/src/main/resources/org/sonar/l10n/java/rules/java/S5979.json
@@ -3,7 +3,7 @@
"type": "BUG",
"code": {
"impacts": {
- "RELIABILITY": "HIGH"
+ "RELIABILITY": "BLOCKER"
},
"attribute": "LOGICAL"
},
diff --git a/sonar-java-plugin/src/main/resources/org/sonar/l10n/java/rules/java/S6208.json b/sonar-java-plugin/src/main/resources/org/sonar/l10n/java/rules/java/S6208.json
index f688edf8815..ed7fcd466c2 100644
--- a/sonar-java-plugin/src/main/resources/org/sonar/l10n/java/rules/java/S6208.json
+++ b/sonar-java-plugin/src/main/resources/org/sonar/l10n/java/rules/java/S6208.json
@@ -3,7 +3,7 @@
"type": "CODE_SMELL",
"code": {
"impacts": {
- "MAINTAINABILITY": "LOW"
+ "MAINTAINABILITY": "INFO"
},
"attribute": "CLEAR"
},
diff --git a/sonar-java-plugin/src/main/resources/org/sonar/l10n/java/rules/java/S6212.json b/sonar-java-plugin/src/main/resources/org/sonar/l10n/java/rules/java/S6212.json
index 331d93666d1..ae245c8c0a6 100644
--- a/sonar-java-plugin/src/main/resources/org/sonar/l10n/java/rules/java/S6212.json
+++ b/sonar-java-plugin/src/main/resources/org/sonar/l10n/java/rules/java/S6212.json
@@ -3,7 +3,7 @@
"type": "CODE_SMELL",
"code": {
"impacts": {
- "MAINTAINABILITY": "LOW"
+ "MAINTAINABILITY": "INFO"
},
"attribute": "CLEAR"
},
diff --git a/sonar-java-plugin/src/main/resources/org/sonar/l10n/java/rules/java/S6418.json b/sonar-java-plugin/src/main/resources/org/sonar/l10n/java/rules/java/S6418.json
index 4ce13b59602..57beee81dad 100644
--- a/sonar-java-plugin/src/main/resources/org/sonar/l10n/java/rules/java/S6418.json
+++ b/sonar-java-plugin/src/main/resources/org/sonar/l10n/java/rules/java/S6418.json
@@ -3,7 +3,7 @@
"type": "SECURITY_HOTSPOT",
"code": {
"impacts": {
- "SECURITY": "HIGH"
+ "SECURITY": "BLOCKER"
},
"attribute": "TRUSTWORTHY"
},
diff --git a/sonar-java-plugin/src/main/resources/org/sonar/l10n/java/rules/java/S6539.json b/sonar-java-plugin/src/main/resources/org/sonar/l10n/java/rules/java/S6539.json
index 9044843c97b..307f7b01812 100644
--- a/sonar-java-plugin/src/main/resources/org/sonar/l10n/java/rules/java/S6539.json
+++ b/sonar-java-plugin/src/main/resources/org/sonar/l10n/java/rules/java/S6539.json
@@ -3,7 +3,7 @@
"type": "CODE_SMELL",
"code": {
"impacts": {
- "MAINTAINABILITY": "LOW"
+ "MAINTAINABILITY": "INFO"
},
"attribute": "MODULAR"
},
diff --git a/sonar-java-plugin/src/main/resources/org/sonar/l10n/java/rules/java/S6541.json b/sonar-java-plugin/src/main/resources/org/sonar/l10n/java/rules/java/S6541.json
index 2348f474c86..4c5120c50ed 100644
--- a/sonar-java-plugin/src/main/resources/org/sonar/l10n/java/rules/java/S6541.json
+++ b/sonar-java-plugin/src/main/resources/org/sonar/l10n/java/rules/java/S6541.json
@@ -3,7 +3,7 @@
"type": "CODE_SMELL",
"code": {
"impacts": {
- "MAINTAINABILITY": "LOW"
+ "MAINTAINABILITY": "INFO"
},
"attribute": "FOCUSED"
},
diff --git a/sonar-java-plugin/src/main/resources/org/sonar/l10n/java/rules/java/S6548.json b/sonar-java-plugin/src/main/resources/org/sonar/l10n/java/rules/java/S6548.json
index 260ab17f822..1b542e6b989 100644
--- a/sonar-java-plugin/src/main/resources/org/sonar/l10n/java/rules/java/S6548.json
+++ b/sonar-java-plugin/src/main/resources/org/sonar/l10n/java/rules/java/S6548.json
@@ -3,7 +3,7 @@
"type": "CODE_SMELL",
"code": {
"impacts": {
- "MAINTAINABILITY": "LOW"
+ "MAINTAINABILITY": "INFO"
},
"attribute": "MODULAR"
},
diff --git a/sonar-java-plugin/src/main/resources/org/sonar/l10n/java/rules/java/S923.json b/sonar-java-plugin/src/main/resources/org/sonar/l10n/java/rules/java/S923.json
index abb799852c3..e7f67393f9e 100644
--- a/sonar-java-plugin/src/main/resources/org/sonar/l10n/java/rules/java/S923.json
+++ b/sonar-java-plugin/src/main/resources/org/sonar/l10n/java/rules/java/S923.json
@@ -3,7 +3,7 @@
"type": "CODE_SMELL",
"code": {
"impacts": {
- "MAINTAINABILITY": "LOW"
+ "MAINTAINABILITY": "INFO"
},
"attribute": "CLEAR"
},
diff --git a/sonarpedia.json b/sonarpedia.json
index e54110091c1..5a08922ae0c 100644
--- a/sonarpedia.json
+++ b/sonarpedia.json
@@ -3,7 +3,7 @@
"languages": [
"JAVA"
],
- "latest-update": "2024-10-14T17:37:54.062619Z",
+ "latest-update": "2024-11-14T17:12:42.152244Z",
"options": {
"no-language-in-filenames": true,
"preserve-filenames": false