clair-scanner
clair-scanner copied to clipboard
Add second method of whitelisting two CVEs for one system lib and container
Currently if a single image and its single library (e.g. glibc) has multiple CVE's on the whitelist, only one of these CVE's will be considered by clair-scanner unless you put all these CVEs under a single image-based key, like this:
mirekphd/ml-mariadb:
CVE-2019-25013: glibc
CVE-2021-33574: glibc
while this method won't work (the first of these CVE's will not be whitelisted):
mirekphd/ml-mariadb:
CVE-2019-25013: glibc
mirekphd/ml-mariadb:
CVE-2021-33574: glibc
May I suggest adding the support for the latter method as well?