From c0ad2fc83796c312d8ff10803a2feb0140faa71a Mon Sep 17 00:00:00 2001 From: Belen Pruvost Date: Thu, 28 Apr 2022 11:52:25 +0200 Subject: [PATCH] SONAR-16259 - Docs about %reqAttribute{TOKEN_NAME} --- server/sonar-docs/src/pages/setup/sonar-properties.md | 2 ++ 1 file changed, 2 insertions(+) diff --git a/server/sonar-docs/src/pages/setup/sonar-properties.md b/server/sonar-docs/src/pages/setup/sonar-properties.md index 6d7ab42c308..d822316c39e 100644 --- a/server/sonar-docs/src/pages/setup/sonar-properties.md +++ b/server/sonar-docs/src/pages/setup/sonar-properties.md @@ -337,6 +337,8 @@ Possible values are: The login of authenticated user is not implemented with "%u" but with "%reqAttribute{LOGIN}" (since version 6.1). The value displayed for anonymous users is "-". +The token name used for requests will be added to the access log if the "%reqAttribute{TOKEN_NAME}" is added (since version 9.5). + The SonarQube's HTTP request ID can be added to the pattern with "%reqAttribute{ID}" (since version 6.2). If SonarQube is behind a reverse proxy, then the following value allows to display the correct remote IP address: -- 2.39.5