path: root/bin/backup_db.sh
diff options
authorDavid Reyna <David.Reyna@windriver.com>2019-01-12 10:48:17 -0800
committerDavid Reyna <David.Reyna@windriver.com>2019-01-12 10:48:17 -0800
commitce03c55b2425fcb0efba606c539c071e9efcc2f8 (patch)
tree317b77e3d7f7b97b27358d81413bc1f68340aad6 /bin/backup_db.sh
parent98b5bc41ed75b57de4376757a575458e72bf44c3 (diff)
srtool: improve CVE status assignments, add CVE 2019
1. Add the CVE 2019 data soures for MITRE and NIST. 2. Improve the CVE default status assignment system: * During the "Init" phase all CVEs default to HISTORICAL, unless they are within the CVE_INIT_NEW_DELTA date range. The value CVE_INIT_NEW_DELTA is defined in "bin/common/datasource.json", and is an out-of-box courtesy to provide some CVEs for triage in newly initialized systems. Changing the default value to '0' disabled this. * During the "Update" phase, CVEs default to NEW (and thus primed for triage) * Better separate the Init versus Update functions in "srtool_mitre.py" and "srtool_nist.py", and their respective datasource files. * Remove the post-process "preset_new()" in "srtool_common.py" in favor of directly computing the values in get_cve_default_status() in "srtool_mitre.py" and "srtool_nist.py", for speed and consistency. [YOCTO #13134] [YOCTO #13135] Signed-off-by: David Reyna <David.Reyna@windriver.com>
Diffstat (limited to 'bin/backup_db.sh')
0 files changed, 0 insertions, 0 deletions