Relative Content

Tag Archive for kubernetessecuritycontainersmalware-detection

Container Image Scanning via code (Programmatic) using tools like Trivy, Grype or Clair

I am looking for a solution to programmatically scan container images for vulnerability using any open source tools like Trivy, Grype, Clair or others. Do any of these open source container scanning tools provide an SDK or API interfaces to initiate scan via code and get results via code? I could see that Clair provides an API for results, notification etc but not to initate a scan. The need is to initiate this scanning (on-demand) by invoking an api that will be exposed to internal clients.