Find, verify, and analyze leaked credentials
Go credentialsdevsecopsdynamic-analysisprecommitscanningsecretsecret-managementsecretssecuritysecurity-toolstrufflehogverification
verbosity updates to s3 source (#1750)
Mike Vanbuskirkde540652cb3a
diff --git a/pkg/sources/s3/s3.go b/pkg/sources/s3/s3.goindex a9f80732e..7a7e7a985 100644--- a/pkg/sources/s3/s3.go+++ b/pkg/sources/s3/s3.go@@ -198,7 +198,7 @@ func (s *Source) scanBuckets(ctx context.Context, client *s3.S3, role string, bu}s.SetProgressComplete(i, len(bucketsToScan), fmt.Sprintf("Bucket: %s", bucket), "")- logger.Info("Scanning bucket")+ logger.V(3).Info("Scanning bucket")regionalClient, err := s.getRegionalClientForBucket(ctx, client, role, bucket)if err != nil {@@ -278,7 +278,7 @@ 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)+ s.log.V(5).Info("Skipping %d byte file (over maxObjectSize limit)", "object", *obj.Key)continue}