mirror of
https://github.com/SAP/jenkins-library.git
synced 2026-06-19 22:58:55 +02:00
fix(detectExecuteScan) Hide repositoryPassword from logs (#4908)
This commit is contained in:
@@ -1044,6 +1044,7 @@ func logConfigInVerboseMode(config detectExecuteScanOptions) {
|
||||
config.Token = "********"
|
||||
config.GithubToken = "********"
|
||||
config.PrivateModulesGitToken = "********"
|
||||
config.RepositoryPassword = "********"
|
||||
debugLog, _ := json.Marshal(config)
|
||||
log.Entry().Debugf("Detect configuration: %v", string(debugLog))
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user