Replies: 1 comment 1 reply
-
Thanks we will get back to you. |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Description
I'm not exactly sure what's the root problem here, but it seems to be a problem with trivy/defsec/tfsec when I use a module twice and it has a dynamic block which is different for each instance. It might be connected to this issue.
This is a minimal example:
I have 2 buckets, each encrypted with its own key.
What did you expect to happen?
I expect trivy checks about S3 bucket encryption to pass as the buckets are encrypted.
What happened instead?
trivy says the S3 bucket isn't encrypted - only the first bucket.
This has something to do with the fact there are 2 keys and 2 buckets. If I use
key2
for both of them, trivy is happy. If I usekey1
for both, they're both labeled as unencrypted.Output of run with
-debug
:I also ran
defsec
, which has a better debug output for this I believe:Output of
trivy -v
:Beta Was this translation helpful? Give feedback.
All reactions