From b18f8578d0b3a5a8750638151749ddf149cd2240 Mon Sep 17 00:00:00 2001 From: Andrei Kireev Date: Fri, 26 Apr 2024 09:43:23 +0200 Subject: [PATCH] fix(detectExecuteScan) Hide repositoryPassword from logs (#4908) --- cmd/detectExecuteScan.go | 1 + 1 file changed, 1 insertion(+) diff --git a/cmd/detectExecuteScan.go b/cmd/detectExecuteScan.go index 8f6301969..90602722a 100644 --- a/cmd/detectExecuteScan.go +++ b/cmd/detectExecuteScan.go @@ -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)) }