Find, verify, and analyze leaked credentials
Go credentialsdevsecopsdynamic-analysisprecommitscanningsecretsecret-managementsecretssecuritysecurity-toolstrufflehogverification
Dont return in loop. (#1589)
ahrav78d06658caa0
diff --git a/pkg/sources/s3/s3.go b/pkg/sources/s3/s3.goindex 2693169a7..b7971ae4e 100644--- a/pkg/sources/s3/s3.go+++ b/pkg/sources/s3/s3.go@@ -229,19 +229,19 @@ func (s *Source) pageChunker(ctx context.Context, client *s3.S3, chunksChan chan// ignore large filesif *obj.Size > s.maxObjectSize {s.log.V(3).Info("Skipping %d byte file (over maxObjectSize limit)", "object", *obj.Key)- return+ continue}// file empty fileif *obj.Size == 0 {s.log.V(5).Info("Skipping 0 byte file", "object", *obj.Key)- return+ continue}// skip incompatible extensionsif common.SkipFile(*obj.Key) {s.log.V(5).Info("Skipping file with incompatible extension", "object", *obj.Key)- return+ continue}s.jobPool.Go(func() error {