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
-
|
yes |
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
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
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 moduleLooks 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