From: Belen Pruvost Date: Thu, 28 Apr 2022 09:52:25 +0000 (+0200) Subject: SONAR-16259 - Docs about %reqAttribute{TOKEN_NAME} X-Git-Tag: 9.5.0.56709~187 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=c0ad2fc83796c312d8ff10803a2feb0140faa71a;p=sonarqube.git SONAR-16259 - Docs about %reqAttribute{TOKEN_NAME} --- 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: