-
Notifications
You must be signed in to change notification settings - Fork 2.4k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
filesystem scan error (eval_conflict_error: object keys must be unique) #2394
Closed
caiohasouza opened this issue
Jun 23, 2022
· 4 comments
· Fixed by #2400, aquasecurity/defsec#1327 or #4474
Closed
filesystem scan error (eval_conflict_error: object keys must be unique) #2394
caiohasouza opened this issue
Jun 23, 2022
· 4 comments
· Fixed by #2400, aquasecurity/defsec#1327 or #4474
Labels
kind/bug
Categorizes issue or PR as related to a bug.
scan/misconfiguration
Issues relating to misconfiguration scanning
Milestone
Comments
knqyf263
added
the
scan/misconfiguration
Issues relating to misconfiguration scanning
label
Jun 23, 2022
Thanks, this is interesting, it looks like it's the usage of multiple |
Hi @liamg Perfect, thank you! Regards |
liamg
added a commit
that referenced
this issue
Jun 24, 2022
Resolves #2394 Signed-off-by: Liam Galvin <[email protected]>
knqyf263
pushed a commit
that referenced
this issue
Jun 26, 2022
#2400) Resolves #2394 Signed-off-by: Liam Galvin <[email protected]>
I'm experiencing this issue with Trivy v0.34.0. |
simar7
added a commit
to aquasecurity/defsec
that referenced
this issue
May 24, 2023
Fixes: aquasecurity/trivy#2394 Signed-off-by: Simar <[email protected]>
simar7
added a commit
to aquasecurity/defsec
that referenced
this issue
May 24, 2023
Fixes: aquasecurity/trivy#2394 Signed-off-by: Simar <[email protected]>
A simple example to repro: FROM foo
CMD bar
FROM foo
ENTRYPOINT fff
ENTRYPOINT zzz This also happens with multiple healthchecks as well. I've created aquasecurity/defsec#1327 to fix it. |
simar7
added a commit
to aquasecurity/defsec
that referenced
this issue
May 24, 2023
* fix(docker): Support stages with dupe names Fixes: aquasecurity/trivy#2394 Signed-off-by: Simar <[email protected]> * revert opa back Signed-off-by: Simar <[email protected]> * update messaging Signed-off-by: Simar <[email protected]> --------- Signed-off-by: Simar <[email protected]>
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Labels
kind/bug
Categorizes issue or PR as related to a bug.
scan/misconfiguration
Issues relating to misconfiguration scanning
Description
On 0.29.x version i'm receiving an error on run "trivy config", on older versions all works fine.
What did you expect to happen?
The command
trivy config /dockerfilefolder/
works fine.What happened instead?
Error:
Output of run with
-debug
:Output of
trivy -v
:Additional details (base image name, container registry info...):
Dockerfile to simulate error:
The text was updated successfully, but these errors were encountered: