]> source.dussan.org Git - sonarqube.git/commitdiff
SONAR-22366 Fix SSF-571 on LTS
authorAntoine Vigneau <antoine.vigneau@sonarsource.com>
Mon, 10 Jun 2024 12:05:37 +0000 (14:05 +0200)
committersonartech <sonartech@sonarsource.com>
Mon, 17 Jun 2024 20:02:33 +0000 (20:02 +0000)
server/sonar-webserver-webapi/src/main/java/org/sonar/server/setting/ws/SetAction.java

index db24bf1629d3c108d94dce7d17b45cc589bba91c..9a2cffe9c12f25e94dd3143138a4750a350c3471 100644 (file)
@@ -71,7 +71,9 @@ public class SetAction implements SettingsWsAction {
   private static final String MSG_NO_EMPTY_VALUE = "A non empty value must be provided";
   private static final int VALUE_MAXIMUM_LENGTH = 4000;
   static final Map<String, String> KEY_CONSTRAINTS = Map.of(
-    "sonar.auth.gitlab.url", "sonar.auth.gitlab.secret.secured"
+    "sonar.auth.gitlab.url", "sonar.auth.gitlab.secret.secured",
+    "sonar.auth.github.webUrl", "sonar.auth.github.clientSecret.secured",
+    "sonar.auth.github.apiUrl", "sonar.auth.github.clientSecret.secured"
   );
 
   private final PropertyDefinitions propertyDefinitions;