Skip to content

Commit b70fb04

Browse files
authored
fix: update test_cyclonedx_vex (#5407)
Update test_cyclonedx_vex to make it work with lib4sbom 0.9.0 Fix #5406 Signed-off-by: Fabrice Fontaine <[email protected]>
1 parent 6c39c7f commit b70fb04

File tree

2 files changed

+8
-5
lines changed

2 files changed

+8
-5
lines changed

requirements.txt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,8 +9,8 @@ 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
13-
lib4vex>=0.2.0
12+
lib4sbom>=0.9.0
13+
lib4vex>=0.2.1
1414
packageurl-python
1515
packaging>=22.0
1616
plotly

test/vex/test_cyclonedx_vex.json

Lines changed: 6 additions & 3 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": {
@@ -10,7 +10,7 @@
1010
"components": [
1111
{
1212
"name": "lib4vex",
13-
"version": "0.2.0",
13+
"version": "0.2.1",
1414
"type": "application"
1515
}
1616
]
@@ -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)