Skip to content

Commit

Permalink
fix(detectExecuteScan) Hide repositoryPassword from logs (#4908)
Browse files Browse the repository at this point in the history
  • Loading branch information
andrew-kireev authored Apr 26, 2024
1 parent 9bb306a commit b18f857
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions cmd/detectExecuteScan.go
Original file line number Diff line number Diff line change
Expand Up @@ -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))
}

0 comments on commit b18f857

Please sign in to comment.