vulsio / go-cve-dictionary

Build a local copy of CVE (NVD and Japanese JVN). Server mode for easy querying.
Apache License 2.0
368 stars 109 forks source link

feat(db): add GetCveIDsByProduct #400

Open Deadlyelder opened 2 months ago

Deadlyelder commented 2 months ago

What did you implement:

The commit extends the DB interface to make it possible to query by product name which would cover packages that are maintained in snap and flatpak by different Linux distributions.

Fixes #399

Type of change

How Has This Been Tested?

Tested with proposed changes to the vuls (PR #2017 and #2018). Not yet merged as dependent on this PR.

Checklist:

Is this ready for review?: Yes