kube-trivy-exporter icon indicating copy to clipboard operation
kube-trivy-exporter copied to clipboard

kube-trivy-exporter dose not give trivy_vulnerabilities

Open devopstales opened this issue 3 years ago • 3 comments

I build the image from master branch. There is multiple image in my cluster from my private registry and public docker.io. In the log I see only the failed image. I think it would be nice if it logs the sucesfull scans too. I mounted my config.json as #3 shows, but i did not get any trivy_vulnerabilities at the prometheus endpoint.

Failed to detect vulnerability at quay.io/external_storage/rbd-provisioner:v1.0.0-k8s1.10: failed to execute trivy: exit status 1
Failed to detect vulnerability at quay.io/coreos/kube-state-metrics:v1.8.0: failed to execute trivy: exit status 1
Failed to detect vulnerability at quay.io/external_storage/rbd-provisioner:v1.0.0-k8s1.10: failed to execute trivy: exit status 1
Failed to detect vulnerability at quay.io/coreos/kube-state-metrics:v1.8.0: failed to execute trivy: exit status 1
Failed to detect vulnerability at quay.io/external_storage/rbd-provisioner:v1.0.0-k8s1.10: failed to execute trivy: exit status 1
Failed to detect vulnerability at quay.io/coreos/kube-state-metrics:v1.8.0: failed to execute trivy: exit status 1
Failed to detect vulnerability at quay.io/external_storage/rbd-provisioner:v1.0.0-k8s1.10: failed to execute trivy: exit status 1

devopstales avatar Apr 23 '21 06:04 devopstales