Find, verify, and analyze leaked credentials
Go credentialsdevsecopsdynamic-analysisprecommitscanningsecretsecret-managementsecretssecuritysecurity-toolstrufflehogverification
Suppress AWS SDK checksum skip warnings for S3 (#4324)
Peter Christian Fraedrichcb1b3b72fb25
diff --git a/pkg/sources/s3/s3.go b/pkg/sources/s3/s3.goindex 782171318..f708376aa 100644--- a/pkg/sources/s3/s3.go+++ b/pkg/sources/s3/s3.go@@ -182,7 +182,9 @@ func (s *Source) newClient(ctx context.Context, region, roleArn string) (*s3.Clireturn nil, err}- return s3.NewFromConfig(cfg), nil+ return s3.NewFromConfig(cfg, func(options *s3.Options) {+ options.DisableLogOutputChecksumValidationSkipped = true+ }), nil}// getBucketsToScan returns a list of S3 buckets to scan.