support/scripts/cpedb.py: new CPE XML helper
authorMatt Weber <matthew.weber@rockwellcollins.com>
Sun, 31 Jan 2021 13:38:15 +0000 (14:38 +0100)
committerArnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
Tue, 2 Feb 2021 19:16:49 +0000 (20:16 +0100)
commitba8e4767d03ac8ecc06536b750399221d7153307
treedaa02865ca95afe37e2ff8629ff9d3b04b75ddc0
parentb9e7adc152b5811b20724d8c05f0f2117254919c
support/scripts/cpedb.py: new CPE XML helper

Python class which consumes a NIST CPE XML and provides helper
functions to access and search the db's data.

 - Defines the CPE as a object with operations / formats
 - Processing of CPE dictionary

Signed-off-by: Matthew Weber <matthew.weber@rockwellcollins.com>
Co-Developed-by: Grégory Clement <gregory.clement@bootlin.com>
Co-Developed-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
support/scripts/cpedb.py [new file with mode: 0644]