google / osv-scanner

Vulnerability scanner written in Go which uses the data provided by https://osv.dev
https://google.github.io/osv-scanner/
Apache License 2.0
6.01k stars 337 forks source link

Add a client to fetch vulnerabilities from osv.dev #1048

Open cuixq opened 1 week ago

cuixq commented 1 week ago

Something like internal/resolution/client/osv_client.go

This will be helpful for testing (mocking the client instead of fetching directly from OSV.dev API).