From 5f9cdd532b35ba1ffcf2f9d078307719abade518 Mon Sep 17 00:00:00 2001 From: attiasas Date: Tue, 28 Jan 2025 18:16:27 +0200 Subject: [PATCH] add ignore for frogbot false positive sast --- utils/gitutils/gitmanager.go | 1 + 1 file changed, 1 insertion(+) diff --git a/utils/gitutils/gitmanager.go b/utils/gitutils/gitmanager.go index d9d9d373..7c9d45a9 100644 --- a/utils/gitutils/gitmanager.go +++ b/utils/gitutils/gitmanager.go @@ -176,6 +176,7 @@ func getRemoteUrl(remote *goGit.Remote) (remoteUrl string, err error) { // Normalize the URL by removing protocol prefix and any trailing ".git" func normalizeGitUrl(url string) string { + // jfrog-ignore - false positive, not used for communication url = strings.TrimPrefix(url, "http://") url = strings.TrimPrefix(url, "https://") url = strings.TrimPrefix(url, "ssh://")