Find, verify, and analyze leaked credentials
Go credentialsdevsecopsdynamic-analysisprecommitscanningsecretsecret-managementsecretssecuritysecurity-toolstrufflehogverification
fix(portainertoken): remove stray fmt.Printf on invalid URL (#5334)
Shadow676648b58d3bf3f0
diff --git a/pkg/detectors/portainertoken/portainertoken.go b/pkg/detectors/portainertoken/portainertoken.goindex 2f706141f..1895d1d69 100644--- a/pkg/detectors/portainertoken/portainertoken.go+++ b/pkg/detectors/portainertoken/portainertoken.go@@ -48,7 +48,6 @@ func (s Scanner) FromData(ctx context.Context, verify bool, data []byte) (resultu, err := detectors.ParseURLAndStripPathAndParams(resEndpointMatch)if err != nil {- fmt.Printf("\nINVALID URL\n")// if the URL is invalid just move onto the next onecontinue}