From 3b61970bfa354777c177dd143e5c839fc4367de8 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Leandro=20Ant=C3=B4nio=20Farias=20Machado?= <83298718+leandrofars@users.noreply.github.com> Date: Tue, 24 Sep 2024 08:14:58 -0300 Subject: [PATCH] Fix code scanning alert no. 17: Clear-text logging of sensitive information Co-authored-by: Copilot Autofix powered by AI <62310815+github-advanced-security[bot]@users.noreply.github.com> --- backend/services/acs/internal/config/config.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/backend/services/acs/internal/config/config.go b/backend/services/acs/internal/config/config.go index 1f5fd5e..2545182 100644 --- a/backend/services/acs/internal/config/config.go +++ b/backend/services/acs/internal/config/config.go @@ -83,7 +83,7 @@ func NewConfig() *Config { ctx := context.TODO() - log.Printf("Connection Request User: %q and Password: %q", *connReqUser, *connReqPasswd) + log.Printf("Connection Request User: %q", *connReqUser) return &Config{ Nats: Nats{