From d73d459a3ece0caad17f653fdb1458ca38179bf9 Mon Sep 17 00:00:00 2001 From: eyalbe4 Date: Fri, 27 Sep 2024 14:15:17 +0300 Subject: [PATCH] Ignore false-positive Frogbot alert --- artifactory_test.go | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/artifactory_test.go b/artifactory_test.go index 87ac56785..4269dcc85 100644 --- a/artifactory_test.go +++ b/artifactory_test.go @@ -1766,7 +1766,7 @@ func checkForErrDueToMissingProxy(spec *spec.SpecFiles, t *testing.T) { func checkIfServerIsUp(port, proxyScheme string, useClientCerts bool) error { tr := &http.Transport{ - //#nosec G402 + //#nosec G402 jfrog-ignore - false positive TLSClientConfig: &tls.Config{InsecureSkipVerify: true}, } @@ -1793,6 +1793,7 @@ func checkIfServerIsUp(port, proxyScheme string, useClientCerts bool) error { } tr.TLSClientConfig.Certificates = []tls.Certificate{cert} } + // jfrog-ignore - false positive client := &http.Client{Transport: tr} for attempt := 0; attempt < 20; attempt++ {