-
Notifications
You must be signed in to change notification settings - Fork 272
Description
Is your feature request related to a problem? Please describe.
OSV.dev is OpenSource vulnerability database integrated with various tools (like Renovate Bot for example). Currently it lacks data about container image/helm chart vulnerabilities.
Artifacthub.io runs trivy to scan container images1, would be great to be able to see vulnerability information collected by Artifacthub in osv.dev.
Describe the solution you'd like
OSV.dev has multiple ways to contribute vulnerability information 2. ArtifactHub could publish results of trivy scans to the database. As per REST API datasource example, implementation will require two new endpoints, one to list all available CVEs and one to get CVE details:
// Security
r.With(compress).Route("/security", func(r chi.Router) {
r.Route("/osv/", func(r chi.Router) {
r.Get("/all.json", h.Security.GetAllVulnerabilities)
r.Get("/{cveID}.json", h.Security.GetCVEDetails)
})
})Vulnerabilities should be formatted in OSV Schema3
Describe alternatives you've considered
N/A
Additional context