Skip to content

Commit 117a5de

Browse files
committed
fix: update test_cyclonedx_vex
Update test_cyclonedx_vex to make it work with lib4sbom 0.9.0 Fix #5406 Signed-off-by: Fabrice Fontaine <[email protected]>
1 parent 259bf9b commit 117a5de

File tree

2 files changed

+6
-3
lines changed

2 files changed

+6
-3
lines changed

requirements.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ importlib_metadata>=3.6; python_version < "3.10"
99
importlib_resources; python_version < "3.9"
1010
jinja2>=2.11.3
1111
jsonschema>=3.0.2
12-
lib4sbom>=0.8.7
12+
lib4sbom>=0.9.0
1313
lib4vex>=0.2.0
1414
packageurl-python
1515
packaging>=22.0

test/vex/test_cyclonedx_vex.json

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
2-
"$schema": "http://cyclonedx.org/schema/bom-1.6.schema.json",
2+
"$schema": "http://cyclonedx.org/schema/bom-1.7.schema.json",
33
"bomFormat": "CycloneDX",
4-
"specVersion": "1.6",
4+
"specVersion": "1.7",
55
"serialNumber": "urn:uuid:9dbd4a19-324a-4ac6-b29b-37202d2bcd90",
66
"version": 1,
77
"metadata": {
@@ -29,6 +29,9 @@
2929
"version": "1.0",
3030
"bom-ref": "CDXRef-DOCUMENT",
3131
"name": "dummy-product"
32+
},
33+
"distributionConstraints": {
34+
"tlp": "CLEAR"
3235
}
3336
},
3437
"vulnerabilities": [

0 commit comments

Comments
 (0)