From 4c564bb146c51dfb996e68888342d9d98b3e1e79 Mon Sep 17 00:00:00 2001 From: Antoine Vigneau Date: Mon, 10 Jun 2024 14:05:37 +0200 Subject: SONAR-22366 Fix SSF-571 on LTS --- .../src/main/java/org/sonar/server/setting/ws/SetAction.java | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) 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; -- cgit v1.2.3