You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm toying with a little trivy container (based on the official aquasec/trivy image) which I would like to use to scan kubernetes clusters, save the output in a json format, then upload it to an S3 bucket. All the customization from my side is done (a simple python script that executes trivy scan just like one would from any shell) and works fine outside of the cluster, however, once I deploy it inside the k8s cluster it fails with a nasty panic. Since I have quite a unique situation, I can't use the operator.
Very similar to this older issue: #2174
Desired Behavior
The container is capable of scanning the cluster from within the cluster.
kind/bugCategorizes issue or PR as related to a bug.target/kubernetesIssues relating to kubernetes cluster scanning
2 participants
Heading
Bold
Italic
Quote
Code
Link
Numbered list
Unordered list
Task list
Attach files
Mention
Reference
Menu
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
Description
Hi,
I'm toying with a little trivy container (based on the official aquasec/trivy image) which I would like to use to scan kubernetes clusters, save the output in a
json
format, then upload it to an S3 bucket. All the customization from my side is done (a simple python script that executes trivy scan just like one would from any shell) and works fine outside of the cluster, however, once I deploy it inside the k8s cluster it fails with a nasty panic. Since I have quite a unique situation, I can't use the operator.Very similar to this older issue: #2174
Desired Behavior
The container is capable of scanning the cluster from within the cluster.
Actual Behavior
I received the following error:
Reproduction Steps
Target
Kubernetes
Scanner
None
Output Format
JSON
Mode
Standalone
Debug Output
Operating System
k3s 1.27 and kind 1.25
Version
Checklist
trivy image --reset
Beta Was this translation helpful? Give feedback.
All reactions