Merge commit from fork

Signed-off-by: Jan Larwig <jan@larwig.com>
Co-authored-by: blakeroberts-wk <blake.roberts@workiva.com>
This commit is contained in:
Jan Larwig
2026-10-01 09:26:22 +02:00
committed by GitHub
co-authored by blakeroberts-wk
parent f2d9dddea3
commit 6c6ca0c87d
3 changed files with 142 additions and 9 deletions
+2 -2
View File
@@ -361,7 +361,7 @@ Logging of requests to the `/ping` endpoint (or using `--ping-user-agent`) and t
## Auth Log Format
Authentication logs are logs which are guaranteed to contain a username or email address of a user attempting to authenticate. These logs are output by default in the below format:
Authentication logs describe authentication attempts. They include the user's username or email address when known, or `-` otherwise. OAuth callback diagnostics for missing or invalid CSRF cookies are authentication logs, controlled by `--auth-logging`, and include cookie names but not cookie values. These logs are output by default in the below format:
```
<REMOTE_ADDRESS> - <REQUEST ID> - <user@domain.com> [2015/03/19 17:20:19] [<STATUS>] <MESSAGE>
@@ -392,7 +392,7 @@ Available variables for auth logging:
| RequestMethod | GET | The request method. |
| Timestamp | 2015/03/19 17:20:19 | The date and time of the logging event. |
| UserAgent | - | The full user agent as reported by the requesting client. |
| Username | username@email.com | The email or username of the auth request. |
| Username | username@email.com | The email or username of the auth request, or `-` if not yet known. |
| Status | AuthSuccess | The status of the auth request. See above for details. |
## Request Log Format