kaidotdev / kube-trivy-exporter

KubeTrivyExporter is Prometheus Exporter that collects all vulnerabilities detected by aquasecurity/trivy in the kubernetes cluster.
MIT License
52 stars 15 forks source link

Scanning images from quay.io #4

Open blacs30 opened 4 years ago

blacs30 commented 4 years ago

Quay images like quay.io/coreos/prometheus-operator are not scannable directly with trivy because quay doesn't support the v2.2 manifest schema see also this github issue in the trivy repo A workaround is to pull the image manually and then run trivy - this doesn't seem to make sense in a pod which shouldn't run the docker daemon.

Another option I see is to download the image as a file without docker/crictl involved and then run trivy scan against that file.

Are there other possibilities or is there already a workaround to scan quay images?

sbkg0002 commented 4 years ago

Is there a possible solution?