Open chen-keinan opened 7 months ago
@vintury is this has been running in ci pipeline ? I have made a simple test on local cluster (kind) and it did respect timeout
trivy k8s cluster --report summary --timeout 0m5s
Do you mind doing the same test on local cluster and let me know the results ?
# trivy k8s cluster --report summary --timeout 0m5s
2024-03-26T20:49:19.388+0300 FATAL get k8s artifacts with node info error: .spec.template.spec.initContainers accessor error: <nil> is of the type <nil>, expected []interface{}
but I think this is not related to my problem
# trivy k8s cluster --report summary --timeout 0m5s 2024-03-26T20:49:19.388+0300 FATAL get k8s artifacts with node info error: .spec.template.spec.initContainers accessor error: <nil> is of the type <nil>, expected []interface{}
but I think this is not related to my problem
this issue should be fixed with latest trivy
Discussed in https://github.com/aquasecurity/trivy/discussions/6260