aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAntoine Vigneau <antoine.vigneau@sonarsource.com>2024-06-10 14:05:37 +0200
committersonartech <sonartech@sonarsource.com>2024-06-17 20:02:33 +0000
commit4c564bb146c51dfb996e68888342d9d98b3e1e79 (patch)
tree7fb195aefd39c935eb13d35af7481d6a485756a7
parent03ad2c680af7fe81ab75070fffdf38533ffc4faf (diff)
downloadsonarqube-4c564bb146c51dfb996e68888342d9d98b3e1e79.tar.gz
sonarqube-4c564bb146c51dfb996e68888342d9d98b3e1e79.zip
SONAR-22366 Fix SSF-571 on LTS
-rw-r--r--server/sonar-webserver-webapi/src/main/java/org/sonar/server/setting/ws/SetAction.java4
1 files changed, 3 insertions, 1 deletions
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<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;