OWASP Top 10 2017 Category A6 - Security
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 471bf9676f8..f23992c730d 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,13 +13,16 @@
"defaultSeverity": "Minor",
"ruleSpecification": "RSPEC-5689",
"sqKey": "S5689",
- "scope": "Main",
+ "scope": "All",
"securityStandards": {
"CWE": [
200
],
"OWASP": [
"A6"
+ ],
+ "OWASP Top 10 2021": [
+ "A5"
]
}
}
diff --git a/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S5693_java.html b/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S5693_java.html
index b6832cb6234..c52ef2f81e7 100644
--- a/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S5693_java.html
+++ b/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S5693_java.html
@@ -50,11 +50,12 @@ Compliant Solution
See
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 62be21dd6c8..f8bc9593dc7 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": "Main",
+ "scope": "All",
"securityStandards": {
"CWE": [
400,
@@ -22,6 +22,9 @@
],
"OWASP": [
"A6"
+ ],
+ "OWASP Top 10 2021": [
+ "A5"
]
}
}
diff --git a/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S5738_java.html b/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S5738_java.html
index f8451035085..f8aeb000e8f 100644
--- a/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S5738_java.html
+++ b/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S5738_java.html
@@ -49,7 +49,7 @@ Noncompliant Code Example
See
diff --git a/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S5804_java.html b/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S5804_java.html
index f7fc97b46e0..3f5e831f5fa 100644
--- a/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S5804_java.html
+++ b/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S5804_java.html
@@ -93,6 +93,7 @@ Compliant Solution
See
+ - OWASP Top 10 2021 Category A1 - Broken Access Control
- OWASP Top 10 2017 Category A2 -
Broken Authentication
- MITRE, CWE-200 - Exposure of Sensitive Information to an Unauthorized Actor
diff --git a/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S5804_java.json b/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S5804_java.json
index aea7c3b7996..50267aa8d2e 100644
--- a/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S5804_java.json
+++ b/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S5804_java.json
@@ -21,6 +21,9 @@
],
"OWASP": [
"A2"
+ ],
+ "OWASP Top 10 2021": [
+ "A1"
]
}
}
diff --git a/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S5808_java.html b/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S5808_java.html
index d43239691d5..c7b98544813 100644
--- a/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S5808_java.html
+++ b/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S5808_java.html
@@ -89,6 +89,7 @@ Compliant Solution
See
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 4074cba377f..3434e0b2a3e 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
@@ -20,6 +20,9 @@
],
"OWASP": [
"A5"
+ ],
+ "OWASP Top 10 2021": [
+ "A1"
]
},
"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 8acf11feffb..2e72d4bcdb9 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,6 +12,6 @@
"defaultSeverity": "Minor",
"ruleSpecification": "RSPEC-5842",
"sqKey": "S5842",
- "scope": "Main",
+ "scope": "All",
"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 65f1d847327..afdf38846af 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,6 +14,6 @@
"defaultSeverity": "Major",
"ruleSpecification": "RSPEC-5843",
"sqKey": "S5843",
- "scope": "Main",
+ "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 23f9e925bcc..2064e7ba7aa 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,6 +12,6 @@
"defaultSeverity": "Major",
"ruleSpecification": "RSPEC-5850",
"sqKey": "S5850",
- "scope": "Main",
+ "scope": "All",
"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 d6526057953..b97498d145c 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": "Main",
+ "scope": "All",
"securityStandards": {
"CWE": [
400,
diff --git a/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S5856_java.html b/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S5856_java.html
index 9f99f918e38..2a9e971233f 100644
--- a/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S5856_java.html
+++ b/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S5856_java.html
@@ -2,8 +2,8 @@
they are given a regular expression that does not conform to that syntax.
To avoid syntax errors, special characters should be escaped with backslashes when they are intended to be matched literally and references to
capturing groups should use the correctly spelled name or number of the group.
-To match a literal string, rather than a regular expression, either all special characters should be escaped or the Pattern.LITERAL
-flag or methods that don’t use regular expressions should be used.
+To match a literal string instead of a regular expression, either all special characters should be escaped, the Pattern.LITERAL
flag
+or methods that don’t use regular expressions should be used.
Noncompliant Code Example
Pattern.compile("([");
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 a8ab3f03627..ccb1fd05b08 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,6 +12,6 @@
"defaultSeverity": "Critical",
"ruleSpecification": "RSPEC-5856",
"sqKey": "S5856",
- "scope": "Main",
+ "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 66447cc1bd2..fd4e6896bf5 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,6 +12,6 @@
"defaultSeverity": "Major",
"ruleSpecification": "RSPEC-5860",
"sqKey": "S5860",
- "scope": "Main",
+ "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 f6d01151a12..809ef8c6532 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,6 +12,6 @@
"defaultSeverity": "Minor",
"ruleSpecification": "RSPEC-5867",
"sqKey": "S5867",
- "scope": "Main",
+ "scope": "All",
"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 c52d98649ee..d85a51caedd 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,6 +12,6 @@
"defaultSeverity": "Major",
"ruleSpecification": "RSPEC-5868",
"sqKey": "S5868",
- "scope": "Main",
+ "scope": "All",
"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 33adeb113c6..f79ce26d85d 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,6 +12,6 @@
"defaultSeverity": "Major",
"ruleSpecification": "RSPEC-5869",
"sqKey": "S5869",
- "scope": "Main",
+ "scope": "All",
"quickfix": "unknown"
}
diff --git a/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S5876_java.html b/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S5876_java.html
index bcc3906ef49..f7d73b2bb03 100644
--- a/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S5876_java.html
+++ b/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S5876_java.html
@@ -27,6 +27,8 @@ Compliant Solution
See
+ - OWASP Top 10 2021 Category A7 - Identification and
+ Authentication Failures
- OWASP Top 10 2017 Category A2 -
Broken Authentication
- OWASP Sesssion Fixation
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 29ffade9300..c7947c4311c 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
@@ -21,6 +21,9 @@
],
"OWASP": [
"A2"
+ ],
+ "OWASP Top 10 2021": [
+ "A7"
]
},
"quickfix": "unknown"
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 587edeb433c..dbe20d53fc2 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,6 +12,6 @@
"defaultSeverity": "Major",
"ruleSpecification": "RSPEC-6019",
"sqKey": "S6019",
- "scope": "Main",
+ "scope": "All",
"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 8e392dd3eda..9b49b87ec67 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,6 +12,6 @@
"defaultSeverity": "Major",
"ruleSpecification": "RSPEC-6035",
"sqKey": "S6035",
- "scope": "Main",
+ "scope": "All",
"quickfix": "unknown"
}
diff --git a/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S6288_java.html b/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S6288_java.html
index 38907a8ce23..179e8a7d632 100644
--- a/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S6288_java.html
+++ b/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S6288_java.html
@@ -40,6 +40,7 @@ Compliant Solution
See
+ - OWASP Top 10 2021 Category A4 - Insecure Design
- developer.android.com - Android keystore system
- developer.android.com - Require user authentication
for key use
diff --git a/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S6288_java.json b/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S6288_java.json
index 9511a6dadef..7d891572863 100644
--- a/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S6288_java.json
+++ b/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S6288_java.json
@@ -24,6 +24,9 @@
],
"MASVS": [
"MSTG-AUTH-1"
+ ],
+ "OWASP Top 10 2021": [
+ "A4"
]
}
}
diff --git a/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S6291_java.html b/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S6291_java.html
index 5379ee0ae00..c4c9972f8c0 100644
--- a/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S6291_java.html
+++ b/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S6291_java.html
@@ -54,6 +54,9 @@ Compliant Solution
See
+ - OWASP Top 10 2021 Category A2 - Cryptographic Failures
+ - OWASP Top 10 2021 Category A4 - Insecure Design
+ - OWASP Top 10 2021 Category A5 - Security Misconfiguration
- Mobile AppSec
Verification Standard - Data Storage and Privacy Requirements
- OWASP Mobile Top 10 2016 Category M2 - Insecure
diff --git a/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S6291_java.json b/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S6291_java.json
index 0704432cb38..db85861f4ef 100644
--- a/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S6291_java.json
+++ b/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S6291_java.json
@@ -30,6 +30,11 @@
],
"MASVS": [
"MSTG-STORAGE-14"
+ ],
+ "OWASP Top 10 2021": [
+ "A2",
+ "A4",
+ "A5"
]
}
}
diff --git a/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S6293_java.html b/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S6293_java.html
index 70b6130932a..38e07c2f9b0 100644
--- a/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S6293_java.html
+++ b/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S6293_java.html
@@ -31,6 +31,8 @@
Compliant Solution
See
+ - OWASP Top 10 2021 Category A7 - Identification and
+ Authentication Failures
- developer.android.com - Use a cryptographic solution that depends
on authentication
- OWASP Mobile Top 10 Category M4 - Insecure
diff --git a/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S6293_java.json b/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S6293_java.json
index 225337c2bfa..1cec66bc478 100644
--- a/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S6293_java.json
+++ b/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S6293_java.json
@@ -23,6 +23,9 @@
],
"MASVS": [
"MSTG-AUTH-8"
+ ],
+ "OWASP Top 10 2021": [
+ "A7"
]
}
}
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 c82e6431b63..77268359fc5 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
@@ -33,6 +33,7 @@
Compliant Solution
See
+ - OWASP Top 10 2021 Category A4 - Insecure Design
- Mobile AppSec
Verification Standard - Data Storage and Privacy Requirements
- OWASP Mobile Top 10 2016 Category M2 - Insecure
diff --git a/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S6300_java.json b/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S6300_java.json
index 26860d76828..f407d37af3c 100644
--- a/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S6300_java.json
+++ b/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S6300_java.json
@@ -30,6 +30,9 @@
],
"MASVS": [
"MSTG-STORAGE-14"
+ ],
+ "OWASP Top 10 2021": [
+ "A4"
]
}
}
diff --git a/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S6301_java.html b/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S6301_java.html
index 53251c712df..74c0078a3c1 100644
--- a/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S6301_java.html
+++ b/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S6301_java.html
@@ -37,6 +37,8 @@
Compliant Solution
See
diff --git a/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S6301_java.json b/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S6301_java.json
index 47b092ba0ff..1ba43c0d9bd 100644
--- a/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S6301_java.json
+++ b/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S6301_java.json
@@ -19,7 +19,8 @@
"scope": "All",
"securityStandards": {
"CWE": [
- 311
+ 311,
+ 321
],
"OWASP": [
"A3",
@@ -30,6 +31,10 @@
],
"MASVS": [
"MSTG-STORAGE-14"
+ ],
+ "OWASP Top 10 2021": [
+ "A2",
+ "A4"
]
},
"quickfix": "unknown"
diff --git a/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S6362_java.html b/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S6362_java.html
index 9df4315d666..cf66169f86a 100644
--- a/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S6362_java.html
+++ b/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S6362_java.html
@@ -28,6 +28,7 @@ Compliant Solution
See
+ - OWASP Top 10 2021 Category A3 - Injection
- OWASP Top 10 2017 Category A6 - Security
Misconfiguration
- OWASP Top 10 2017 Category A7 - Cross-Site
diff --git a/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S6362_java.json b/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S6362_java.json
index b4aa313e023..01cdab5b20e 100644
--- a/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S6362_java.json
+++ b/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S6362_java.json
@@ -26,6 +26,9 @@
],
"MASVS": [
"MSTG-PLATFORM-2"
+ ],
+ "OWASP Top 10 2021": [
+ "A3"
]
}
}
diff --git a/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S6363_java.html b/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S6363_java.html
index fc760434435..95b23448df0 100644
--- a/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S6363_java.html
+++ b/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S6363_java.html
@@ -28,6 +28,7 @@
Compliant Solution
See
+ - OWASP Top 10 2021 Category A3 - Injection
- OWASP Top 10 2017 Category A6 - Security
Misconfiguration
- OWASP Top 10 2017 Category A7 - Cross-Site
diff --git a/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S6363_java.json b/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S6363_java.json
index 71aa149d192..2fb0d35824b 100644
--- a/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S6363_java.json
+++ b/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S6363_java.json
@@ -26,6 +26,9 @@
],
"MASVS": [
"MSTG-PLATFORM-2"
+ ],
+ "OWASP Top 10 2021": [
+ "A3"
]
},
"quickfix": "unknown"
diff --git a/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S864_java.html b/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S864_java.html
index 9f585481730..4c5b626649e 100644
--- a/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S864_java.html
+++ b/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S864_java.html
@@ -89,6 +89,6 @@
See
diff --git a/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S864_java.json b/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S864_java.json
index ced43393301..3f1452ec935 100644
--- a/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S864_java.json
+++ b/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S864_java.json
@@ -19,6 +19,9 @@
"EXP00-C.",
"EXP00-CPP.",
"EXP53-J."
+ ],
+ "CWE": [
+ 783
]
},
"quickfix": "unknown"
diff --git a/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S881_java.json b/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S881_java.json
index 355ba8c8e76..2ed4089090c 100644
--- a/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S881_java.json
+++ b/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S881_java.json
@@ -12,7 +12,7 @@
"defaultSeverity": "Major",
"ruleSpecification": "RSPEC-881",
"sqKey": "S881",
- "scope": "Main",
+ "scope": "All",
"quickfix": "unknown",
"securityStandards": {
"CERT": [
diff --git a/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S888_java.html b/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S888_java.html
index e0f4abcdac6..4ba23f0b158 100644
--- a/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S888_java.html
+++ b/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S888_java.html
@@ -33,7 +33,7 @@ Exceptions
See
diff --git a/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S888_java.json b/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S888_java.json
index 21b85f21578..1c9cdc4aa66 100644
--- a/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S888_java.json
+++ b/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S888_java.json
@@ -14,10 +14,13 @@
"defaultSeverity": "Critical",
"ruleSpecification": "RSPEC-888",
"sqKey": "S888",
- "scope": "Main",
+ "scope": "All",
"securityStandards": {
"CERT": [
"MSC21-C."
+ ],
+ "CWE": [
+ 835
]
},
"quickfix": "unknown"
diff --git a/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S899_java.html b/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S899_java.html
index fcad25e4027..3b1b30a9506 100644
--- a/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S899_java.html
+++ b/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S899_java.html
@@ -34,6 +34,6 @@ See
diff --git a/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S899_java.json b/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S899_java.json
index c4fb6fec9e8..210f8103935 100644
--- a/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S899_java.json
+++ b/java-checks/src/main/resources/org/sonar/l10n/java/rules/java/S899_java.json
@@ -22,6 +22,9 @@
"FIO02-J.",
"ERR33-C.",
"POS54-C."
+ ],
+ "CWE": [
+ 754
]
},
"quickfix": "unknown"
diff --git a/sonarpedia.json b/sonarpedia.json
index 17866cbfb0c..982a4b313a2 100644
--- a/sonarpedia.json
+++ b/sonarpedia.json
@@ -3,7 +3,7 @@
"languages": [
"JAVA"
],
- "latest-update": "2021-10-18T07:51:32.391539600Z",
+ "latest-update": "2021-11-12T14:11:50.317565Z",
"options": {
"no-language-in-filenames": false,
"preserve-filenames": false