aquasecurity / trivy-operator

Kubernetes-native security toolkit
https://aquasecurity.github.io/trivy-operator/latest
Apache License 2.0
1.29k stars 214 forks source link

fix: vuln scan success criteria met #2292

Closed badgerspoke closed 1 week ago

badgerspoke commented 1 month ago

Description

Scan jobs on k8s 1.31 (certainly on EKS at least) fail to be processed leading to no vulnerability reports. Could it be as simple as this?

Related issues

Remove this section if you don't have related PRs.

Checklist

nikpivkin commented 1 week ago

Similar fix in trivy-kubernetes https://github.com/aquasecurity/trivy-kubernetes/pull/403

/cc @afdesk

afdesk commented 1 week ago

Similar fix in trivy-kubernetes aquasecurity/trivy-kubernetes#403

/cc @afdesk

we'll retest it and will add new test cases here. I believe this approach should work correctly for trivy-operator

afdesk commented 1 week ago

@badgerspoke thanks for the contribution