From: Antoine Vigneau Date: Mon, 10 Jun 2024 12:05:37 +0000 (+0200) Subject: SONAR-22366 Fix SSF-571 on LTS X-Git-Tag: 9.9.6.92038~1 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=4c564bb146c51dfb996e68888342d9d98b3e1e79;p=sonarqube.git SONAR-22366 Fix SSF-571 on LTS --- diff --git a/server/sonar-webserver-webapi/src/main/java/org/sonar/server/setting/ws/SetAction.java b/server/sonar-webserver-webapi/src/main/java/org/sonar/server/setting/ws/SetAction.java index db24bf1629d..9a2cffe9c12 100644 --- a/server/sonar-webserver-webapi/src/main/java/org/sonar/server/setting/ws/SetAction.java +++ b/server/sonar-webserver-webapi/src/main/java/org/sonar/server/setting/ws/SetAction.java @@ -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 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;