Skip to content

Commit

Permalink
Audit trail. Hide the JWT join token (#648)
Browse files Browse the repository at this point in the history
The JWT join token is a sensible value: we must obfuscate it before writing the
audit trail.
  • Loading branch information
DavidePrincipi committed Jun 24, 2024
1 parent dd8b6ee commit 331b1bb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion core/api-server/configuration/configuration.go
Original file line number Diff line number Diff line change
Expand Up @@ -93,6 +93,6 @@ func Init() {
if os.Getenv("SENSITIVE_LIST") != "" {
Config.SensitiveList = strings.Split(os.Getenv("SENSITIVE_LIST"), ",")
} else {
Config.SensitiveList = []string{"password", "secret", "token"}
Config.SensitiveList = []string{"password", "secret", "token", "jwt"}
}
}

0 comments on commit 331b1bb

Please sign in to comment.