trivy-operator: error failed to apply the policy: #1984
Closed
KateFiroozi
started this conversation in
Development
Replies: 2 comments 2 replies
-
@KateFiroozi can you please share you configuration.
|
Beta Was this translation helpful? Give feedback.
2 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
trivvy-operator logs following error messages:
filter error: filtering error: unable to filter vulnerabilities: failed to apply the policy: unable to prepare for eval: 1 error occurred: trivy.rego:0: rego_parse_error: empty module
Looks like ConfigMap trivy-operator-trivy-config is not correctly mounted on trivy scan jobs.
Using helm chart v. 0.21.3
Config from values file:
It seems to work properly after removing all ignorePolicy.* from values file and additionally removing all sbomreports from the cluster.
Is ignorePolicy not supported anymore?
Beta Was this translation helpful? Give feedback.
All reactions