Skip to content

bug(aws): Trivy can't connect to IMDS to get credentials #9437

@DmitriyLewen

Description

@DmitriyLewen

Description

We started using xhttp.Client for aws config in #9322 to add the Insecure option.

But with this client, the aws-sdk cannot connect to IMDS to get credentials.

Solution

Use the aws BuildableClient with the Insecure option.

Discussed in #9429

Metadata

Metadata

Assignees

Labels

kind/bugCategorizes issue or PR as related to a bug.

Type

Projects

Status

No status

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions