1
0
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:
Andrei Kireev 2024-04-26 09:43:23 +02:00 committed by GitHub
parent 9bb306adad
commit b18f8578d0
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -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))
}