From 8830217934291a07189a09d3b0d404832bfd1aeb Mon Sep 17 00:00:00 2001 From: Michal Zgliczynski Date: Thu, 19 Dec 2024 11:08:56 +0100 Subject: [PATCH 1/2] Update rule-api jar for release --- css-sonarpedia/sonarpedia.json | 2 +- .../org/sonar/l10n/javascript/rules/javascript/S5742.html | 1 + .../org/sonar/l10n/javascript/rules/javascript/S5742.json | 2 +- sonarpedia.json | 2 +- 4 files changed, 4 insertions(+), 3 deletions(-) diff --git a/css-sonarpedia/sonarpedia.json b/css-sonarpedia/sonarpedia.json index d9cf7117372..2804906f284 100644 --- a/css-sonarpedia/sonarpedia.json +++ b/css-sonarpedia/sonarpedia.json @@ -3,7 +3,7 @@ "languages": [ "CSS" ], - "latest-update": "2024-12-05T14:43:14.216690Z", + "latest-update": "2024-12-19T10:07:22.737305Z", "options": { "no-language-in-filenames": true } diff --git a/sonar-plugin/javascript-checks/src/main/resources/org/sonar/l10n/javascript/rules/javascript/S5742.html b/sonar-plugin/javascript-checks/src/main/resources/org/sonar/l10n/javascript/rules/javascript/S5742.html index 130d21a7926..45f321c2563 100644 --- a/sonar-plugin/javascript-checks/src/main/resources/org/sonar/l10n/javascript/rules/javascript/S5742.html +++ b/sonar-plugin/javascript-checks/src/main/resources/org/sonar/l10n/javascript/rules/javascript/S5742.html @@ -1,3 +1,4 @@ +

This rule is deprecated, and will eventually be removed.

Certificate Transparency (CT) is an open-framework to protect against identity theft when certificates are issued. Certificate Authorities (CA) electronically sign certificate after verifying the identify of the certificate owner. Attackers use, among other things, social engineering diff --git a/sonar-plugin/javascript-checks/src/main/resources/org/sonar/l10n/javascript/rules/javascript/S5742.json b/sonar-plugin/javascript-checks/src/main/resources/org/sonar/l10n/javascript/rules/javascript/S5742.json index 0eb5a487c57..51f8fdea384 100644 --- a/sonar-plugin/javascript-checks/src/main/resources/org/sonar/l10n/javascript/rules/javascript/S5742.json +++ b/sonar-plugin/javascript-checks/src/main/resources/org/sonar/l10n/javascript/rules/javascript/S5742.json @@ -7,7 +7,7 @@ }, "attribute": "COMPLETE" }, - "status": "ready", + "status": "deprecated", "remediation": { "func": "Constant\/Issue", "constantCost": "30min" diff --git a/sonarpedia.json b/sonarpedia.json index ed2c5c47a4e..58ae254be77 100644 --- a/sonarpedia.json +++ b/sonarpedia.json @@ -3,7 +3,7 @@ "languages": [ "JS" ], - "latest-update": "2024-12-05T14:54:02.136624Z", + "latest-update": "2024-12-19T10:06:43.381969Z", "options": { "no-language-in-filenames": true, "preserve-filenames": true From ba90919ddb3918df5d9a21f00c62ab2da3cc9d4e Mon Sep 17 00:00:00 2001 From: Michal Zgliczynski Date: Thu, 19 Dec 2024 11:18:51 +0100 Subject: [PATCH 2/2] Remove from sonar way --- .../l10n/javascript/rules/javascript/Sonar_way_profile.json | 1 - 1 file changed, 1 deletion(-) diff --git a/sonar-plugin/javascript-checks/src/main/resources/org/sonar/l10n/javascript/rules/javascript/Sonar_way_profile.json b/sonar-plugin/javascript-checks/src/main/resources/org/sonar/l10n/javascript/rules/javascript/Sonar_way_profile.json index 6bdf859b050..66ee3b33b48 100644 --- a/sonar-plugin/javascript-checks/src/main/resources/org/sonar/l10n/javascript/rules/javascript/Sonar_way_profile.json +++ b/sonar-plugin/javascript-checks/src/main/resources/org/sonar/l10n/javascript/rules/javascript/Sonar_way_profile.json @@ -188,7 +188,6 @@ "S5734", "S5736", "S5739", - "S5742", "S5757", "S5759", "S5842",