cve-update-nvd2: ignore rejected CVEs
RFC PATCH 1/1 cve-update-nvd2: ignore rejected CVEs
From: Ross Burton <[email protected]>
We shouldn't consider CVEs which have been marked as rejected or disputed by either NIST or the upstream project.
Signed-off-by Ross Burton <[email protected]>
--- meta/recipes-core/meta/cve-update-nvd2-native.bb | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-)
meta/recipes-core/meta/cve-update-nvd2-native.bb +2 -1
@@ -170,7 +170,8 @@ def update_db_file(db_tmp_file, d, database_time): conn = sqlite3.connect(db_tmp_file) initialize_db(conn) - req_args = {'startIndex' : 0} + req_args = {'startIndex' : 0, + 'noRejected': ''} # The maximum range for time is 120 days # Force a complete update if our range is longer
Signature · 1 line
2.34.1