Replies: 2 comments
-
hi @fl0pp5 I'll retest Trivy with v1.31.1 where the new type was added. |
Beta Was this translation helpful? Give feedback.
0 replies
-
@fl0pp5 thanks a lot. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Description
I have a problem with scanning on k8s v1.31.1
Trivy freezes when trying to scan
Research:
Problem:
https://github.com/aquasecurity/trivy-kubernetes/blob/b070991579cacd7634052dee2e250350d6e493e8/pkg/jobs/runnable_job.go#L68
On v1.31.1
condition.Type == batchv1.JobSuccessCriteriaMet
but we awaitbatchv1.JobComplete
Solution:
Result:
Success scan
Desired Behavior
Success scan
Actual Behavior
2024-10-10T10:52:50+03:00 DEBUG No plugins loaded
2024-10-10T10:52:50+03:00 DEBUG Default config file "file_path=trivy.yaml" not found, using built in values
2024-10-10T10:52:50+03:00 DEBUG Cache dir dir="/root/.cache/trivy"
2024-10-10T10:52:50+03:00 DEBUG Cache dir dir="/root/.cache/trivy"
2024-10-10T10:52:50+03:00 DEBUG Parsed severities severities=[UNKNOWN LOW MEDIUM HIGH CRITICAL]
2024-10-10T10:52:50+03:00 DEBUG Ignore statuses statuses=[]
Reproduction Steps
Target
Kubernetes
Scanner
None
Output Format
Table
Mode
Standalone
Debug Output
Operating System
ALT Linux
Version
Checklist
trivy clean --all
Beta Was this translation helpful? Give feedback.
All reactions