diff --git a/javascript-checks/src/main/resources/org/sonar/l10n/javascript/rules/javascript/S4125.json b/javascript-checks/src/main/resources/org/sonar/l10n/javascript/rules/javascript/S4125.json index 33eb0413212..34e7a333897 100644 --- a/javascript-checks/src/main/resources/org/sonar/l10n/javascript/rules/javascript/S4125.json +++ b/javascript-checks/src/main/resources/org/sonar/l10n/javascript/rules/javascript/S4125.json @@ -13,5 +13,6 @@ "scope": "All", "quickfix": "unknown", "compatibleLanguages": [ - "JAVASCRIPT" ] + "JAVASCRIPT" + ] } diff --git a/javascript-checks/src/main/resources/org/sonar/l10n/javascript/rules/javascript/S5542.html b/javascript-checks/src/main/resources/org/sonar/l10n/javascript/rules/javascript/S5542.html index fddde791294..24db10f5913 100644 --- a/javascript-checks/src/main/resources/org/sonar/l10n/javascript/rules/javascript/S5542.html +++ b/javascript-checks/src/main/resources/org/sonar/l10n/javascript/rules/javascript/S5542.html @@ -1,15 +1,16 @@ -
Encryption operation mode and the padding scheme should be chosen appropriately to guarantee data confidentiality, integrity and authenticity:
+Encryption operations should use a secure mode and padding scheme so that confidentiality and integrity can be guaranteed.
-"a[b]c" -"[\\^]" +/a[b]c/ +/[\^]/
-"abc" -"\\^" -"a[*]c" // Compliant, see Exceptions +/abc/ +/\^/ +/a[*]c/ // Compliant, see Exceptions
This rule does not raise when the character inside the class is a metacharacter. This notation is sometimes used to avoid escaping (e.g., diff --git a/sonarpedia.json b/sonarpedia.json index 3cf98f2910e..87746c8fd2a 100644 --- a/sonarpedia.json +++ b/sonarpedia.json @@ -3,7 +3,7 @@ "languages": [ "JS" ], - "latest-update": "2022-05-30T09:13:12.414059Z", + "latest-update": "2022-06-24T11:52:42.803533300Z", "options": { "no-language-in-filenames": true, "preserve-filenames": true