trivy aws : support for --profile flag #6419
Closed
vishnukumarkvs
started this conversation in
Ideas
Replies: 1 comment 3 replies
-
Hi @vishnukumarkvs ! You can set the |
Beta Was this translation helpful? Give feedback.
3 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Description
Requesting support for
--profile
flag for trivy aws CLI tool.The
--profile
support would enable users to specify named profiles containing the necessary credentials and settings for authenticating against AWS services.Proposed Changes
I am able to add aws profile support in my local codebase. This requires changes to two packages.
As trivy uses trivy-aws for scanner, I first added aws profie support to trivy-aws package and then was able to add profile support to trivy
Benefits
Contribution
I'm excited to contribute to this enhancement and have already made the necessary changes. Let me know if I can create a pull request.
Screenshots
Without profile. Uses default profile.
With --profile flag
Looking forward to your input and collaboration!
Target
AWS
Scanner
None
Beta Was this translation helpful? Give feedback.
All reactions