]> code.ossystems Code Review - openembedded-core.git/commit
classes/cve-check: Move get_patches_cves to library
authorJoshua Watt <JPEWhacker@gmail.com>
Wed, 11 Aug 2021 14:51:58 +0000 (09:51 -0500)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Fri, 13 Aug 2021 13:44:02 +0000 (14:44 +0100)
commit75d34259a715120be1d023e4fd7b6b4b125f2443
tree256df01e82b923a727a3471fa48cf870527c887d
parentc595d6040d2e0ef94d7da043b41226e90dddf318
classes/cve-check: Move get_patches_cves to library

Moving the function will allow other classes to capture which CVEs have
been patched, in particular SBoM generation.

Also add a function to capture the CPE ID from the CVE Product and
Version

Signed-off-by: Joshua Watt <JPEWhacker@gmail.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
meta/classes/cve-check.bbclass
meta/lib/oe/cve_check.py