mirror of
https://github.com/SAP/jenkins-library.git
synced 2024-12-10 10:50:11 +02:00
fix(detectExecuteScan) Hide repositoryPassword from logs (#4908)
This commit is contained in:
parent
9bb306adad
commit
b18f8578d0
@ -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))
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user