Add found CVE details to vulnerability alerts #2450
Unanswered
EHJ-52n
asked this question in
Help & Support
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I want to use the trivy-operator metrics to provide alerts to my users for each image that has at least one HIGH or one CRITICAL CVE in it including the CVE details.
Atm, I am able to send alerts without the CVE details with the following alerting expression:
In the kube-prometheus-stack values.yaml, I am able to group these alerts by
image_registry
,image_repository
, andimage_tag
.How can I enrich these alerts with the output of the metric
trivy_vulnerability_id
?I tried the
on
join withgroup_left
, but the problem is, that PromQL won't let me execute joins withmany-to-may
results.Beta Was this translation helpful? Give feedback.
All reactions