Find, verify, and analyze leaked credentials
Go credentialsdevsecopsdynamic-analysisprecommitscanningsecretsecret-managementsecretssecuritysecurity-toolstrufflehogverification
update jenkins err message (#3855)
Cody Rosed509097384d2
diff --git a/pkg/sources/jenkins/jenkins.go b/pkg/sources/jenkins/jenkins.goindex 704208d5f..a843ad5f6 100644--- a/pkg/sources/jenkins/jenkins.go+++ b/pkg/sources/jenkins/jenkins.go@@ -123,7 +123,7 @@ func (s *Source) Init(aCtx context.Context, name string, jobId sources.JobID, socase *sourcespb.Jenkins_Unauthenticated:unparsedURL = conn.Endpointdefault:- return errors.Errorf("Invalid configuration given for source. Name: %s, Type: %s", name, s.Type())+ return errors.Errorf("unknown or unspecified authentication method provided for Jenkins source %q (unauthenticated scans must be explicitly configured)", name)}s.url, err = url.Parse(unparsedURL)