Replies: 2 comments 10 replies
-
@afdesk could you take a look? |
Beta Was this translation helpful? Give feedback.
0 replies
-
@jkroepke thanks for the report. |
Beta Was this translation helpful? Give feedback.
10 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Description
I'm coming from #6653 however, since the discussion is closed, I have to create a new one
I'm running trivy 0.54.1 as developer with reduced permissions. I would like to scan all my workload once.
Trivy has the Kubernetes Role "view" which give trivy access to all workloads
Here is my command line call
Trivy report that it can not access roles, however in
--include-kinds deploy,sts,ds
, there is no role defined. It also reports an errorcannot list resource \"nodes\" in API group
whiledisable-node-collector
is set.Desired Behavior
The trivy 0.50 behavior where I could set
--components workload
and everything works as expected.Actual Behavior
To my surprise, trivy exit with exit code 0. The report is empty, but I there are vulnerabilities. (trivy 0.50 scan confirms this)
Reproduction Steps
Target
Kubernetes
Scanner
Vulnerability
Output Format
Table
Mode
Standalone
Debug Output
Operating System
Linux
Version
Checklist
trivy clean --all
Beta Was this translation helpful? Give feedback.
All reactions