fix(aws): use correct signing region when the endpoint is overridden #4883
Labels
kind/bug
Categorizes issue or PR as related to a bug.
scan/misconfiguration
Issues relating to misconfiguration scanning
target/cloud
Issues relating to cloud account scanning
Milestone
Trivy cannot get website configuration for a bucket, because an incorrect region is used.
Steps to reproduce:
Replace defsec (fixed configuration for local bucket)
replace github.com/aquasecurity/defsec => github.com/nikpivkin/defsec v0.0.0-20230727120552-23eac5dc734b
Run localstack
Create a bucket:
Run Trivy:
The text was updated successfully, but these errors were encountered: