support/scripts/pkg-stats: check CPE existence in CPE dictionnary
authorThomas Petazzoni <thomas.petazzoni@bootlin.com>
Sun, 31 Jan 2021 13:38:16 +0000 (14:38 +0100)
committerArnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
Tue, 2 Feb 2021 19:16:59 +0000 (20:16 +0100)
commit201e74bf9daecab9b93f23f78b29ea031652bdb4
tree6e33b58cad2aafe97b890aa5bfa95ea61d95bcab
parentba8e4767d03ac8ecc06536b750399221d7153307
support/scripts/pkg-stats: check CPE existence in CPE dictionnary

This commit extends pkg-stats to leverage the recently introduced
CPEDB class to verify that the CPEs provided by Buildroot packages are
indeed known in the official CPE dictionnary provided by NVD.

Co-Developed-by: Grégory Clement <gregory.clement@bootlin.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
support/scripts/pkg-stats