From 0d389bdf418a15754f8c01b150883c8a000c3cfb Mon Sep 17 00:00:00 2001 From: mastersans Date: Mon, 3 Jun 2024 23:07:15 +0530 Subject: [PATCH] fix: error due to wrong lib4vex version --- requirements.csv | 1 + test/vex/test_cyclonedx_vex.json | 25 ++++++++++--------------- 2 files changed, 11 insertions(+), 15 deletions(-) diff --git a/requirements.csv b/requirements.csv index 3ac40cc600..290d50fb71 100644 --- a/requirements.csv +++ b/requirements.csv @@ -21,5 +21,6 @@ python_not_in_db,packaging python_not_in_db,importlib_resources vsajip_not_in_db,python-gnupg anthonyharrison_not_in_db,lib4sbom +anthonyharrison_not_in_db, lib4vex the_purl_authors_not_in_db,packageurl-python h2non,filetype diff --git a/test/vex/test_cyclonedx_vex.json b/test/vex/test_cyclonedx_vex.json index 389a19e937..55cd29e41e 100644 --- a/test/vex/test_cyclonedx_vex.json +++ b/test/vex/test_cyclonedx_vex.json @@ -2,10 +2,10 @@ "$schema": "http://cyclonedx.org/schema/bom-1.6.schema.json", "bomFormat": "CycloneDX", "specVersion": "1.6", - "serialNumber": "urn:uuid:798bfdb2-6bb6-47b0-9b23-3c924d0cf48e", + "serialNumber": "urn:uuid:42a327e4-1a37-437f-8a99-fb9912919438", "version": 1, "metadata": { - "timestamp": "2024-06-03T21:16:55Z", + "timestamp": "2024-06-03T23:03:38Z", "tools": { "components": [ { @@ -15,10 +15,6 @@ } ] }, - "authors": { - "name": "dummy-vendor", - "email": "" - }, "properties": [ { "name": "Revision_1", @@ -27,7 +23,6 @@ ], "component": { "type": "application", - "version": "1.0", "bom-ref": "CDXRef-DOCUMENT", "name": "dummy-product" } @@ -41,8 +36,8 @@ "url": "https://nvd.nist.gov/vuln/detail/CVE-1234-1004" }, "description": "", - "published": "2024-06-03T21:16:55Z", - "updated": "2024-06-03T21:16:55Z", + "published": "2024-06-03T23:03:38Z", + "updated": "2024-06-03T23:03:38Z", "analysis": { "state": "in_triage", "detail": "" @@ -64,8 +59,8 @@ "url": "https://nvd.nist.gov/vuln/detail/CVE-1234-1005" }, "description": "", - "published": "2024-06-03T21:16:55Z", - "updated": "2024-06-03T21:16:55Z", + "published": "2024-06-03T23:03:38Z", + "updated": "2024-06-03T23:03:38Z", "analysis": { "state": "not_affected", "detail": "Detail field populated.", @@ -88,8 +83,8 @@ "url": "https://nvd.nist.gov/vuln/detail/CVE-1234-1007" }, "description": "", - "published": "2024-06-03T21:16:55Z", - "updated": "2024-06-03T21:16:55Z", + "published": "2024-06-03T23:03:38Z", + "updated": "2024-06-03T23:03:38Z", "analysis": { "state": "resolved", "detail": "Data field populated." @@ -111,8 +106,8 @@ "url": "https://nvd.nist.gov/vuln/detail/CVE-1234-1008" }, "description": "", - "published": "2024-06-03T21:16:55Z", - "updated": "2024-06-03T21:16:55Z", + "published": "2024-06-03T23:03:38Z", + "updated": "2024-06-03T23:03:38Z", "analysis": { "state": "in_triage", "detail": ""