simar7
simar7
hello @osaretin23 - I took a brief look at this and it seems this case will take place if there's an invalid rego check being loaded. We have a test...
I took another look at this and I observed that this condition seems odd to me https://github.com/aquasecurity/trivy-operator/blame/28771727b9800cecf93b3babf7673400b8ae984c/pkg/policy/policy.go#L213-L215 It will always be true since err will always be nil on this...
hi @keliansb - thanks for the report, we'll take a look.
hi @lukasboettcher - thanks for the PR but I'm a little concerned about implementing this in the operator given potential performance degradation. Trivy operator has a many critical hot paths...
hi @Effaceurs - does this only happen in GKE? Trivy OSS does not make any guarantees when running on managed Kubernetes on cloud providers. For that, you can look into...