diff options
author | Katawann <quent_55@hotmail.com> | 2024-09-19 22:33:05 +0200 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2024-10-18 15:01:04 +0100 |
commit | d32bab0137fac9bdfad64aac64274ab41402cc56 (patch) | |
tree | f65c470b33c27705cfbffdb2b166357bad746b38 /meta/classes | |
parent | 066108377dbbfb8705b7bbaf6effcfbe23adeec7 (diff) | |
download | poky-d32bab0137fac9bdfad64aac64274ab41402cc56.tar.gz |
cve-check: add field "modified" to JSON report
Added the "modified" field to the JSON export in the
cve-check.class. This field captures the last modification date of each
CVE, providing more detailed information on changes and updates within
the exported data.
(From OE-Core rev: 740b8a0b23c4021d07c3714420e3ea8b46e61454)
Signed-off-by: Katawann <quent_55@hotmail.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/classes')
-rw-r--r-- | meta/classes/cve-check.bbclass | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/meta/classes/cve-check.bbclass b/meta/classes/cve-check.bbclass index a5104f210b..6245594dd7 100644 --- a/meta/classes/cve-check.bbclass +++ b/meta/classes/cve-check.bbclass | |||
@@ -534,6 +534,7 @@ def cve_write_data_json(d, cve_data, cve_status): | |||
534 | cve_item["summary"] = cve_data[cve]["NVD-summary"] | 534 | cve_item["summary"] = cve_data[cve]["NVD-summary"] |
535 | cve_item["scorev2"] = cve_data[cve]["NVD-scorev2"] | 535 | cve_item["scorev2"] = cve_data[cve]["NVD-scorev2"] |
536 | cve_item["scorev3"] = cve_data[cve]["NVD-scorev3"] | 536 | cve_item["scorev3"] = cve_data[cve]["NVD-scorev3"] |
537 | cve_item["modified"] = cve_data[cve]["NVD-modified"] | ||
537 | cve_item["vector"] = cve_data[cve]["NVD-vector"] | 538 | cve_item["vector"] = cve_data[cve]["NVD-vector"] |
538 | cve_item["vectorString"] = cve_data[cve]["NVD-vectorString"] | 539 | cve_item["vectorString"] = cve_data[cve]["NVD-vectorString"] |
539 | if 'status' in cve_data[cve]: | 540 | if 'status' in cve_data[cve]: |