mirror of
https://github.com/prowler-cloud/prowler.git
synced 2026-10-04 02:04:06 +00:00
When DJANGO_OUTPUT_S3_AWS_DEFAULT_REGION is set, get_s3_presign_client() signs download URLs with SigV4, path-style, against the regional host, so SSE-KMS buckets no longer reject them with InvalidArgument. Without a region or a public endpoint, URLs are signed as before, and get_s3_client() is unchanged. Fixes #12734
251 B
251 B
Scan report downloads from an S3 bucket with default SSE-KMS encryption no longer fail with an InvalidArgument error: when DJANGO_OUTPUT_S3_AWS_DEFAULT_REGION is set, presigned download URLs are signed with AWS Signature Version 4 for that region