@@ -254,10 +254,10 @@ func TestMarshaler_MarshalReport(t *testing.T) {
254
254
},
255
255
},
256
256
want : & cdx.BOM {
257
- XMLNS : "http://cyclonedx.org/schema/bom/1.5 " ,
257
+ XMLNS : "http://cyclonedx.org/schema/bom/1.6 " ,
258
258
BOMFormat : "CycloneDX" ,
259
- SpecVersion : cdx .SpecVersion1_5 ,
260
- JSONSchema : "http://cyclonedx.org/schema/bom-1.5 .schema.json" ,
259
+ SpecVersion : cdx .SpecVersion1_6 ,
260
+ JSONSchema : "http://cyclonedx.org/schema/bom-1.6 .schema.json" ,
261
261
SerialNumber : "urn:uuid:3ff14136-e09f-4df9-80ea-000000000014" ,
262
262
Version : 1 ,
263
263
Metadata : & cdx.Metadata {
@@ -909,10 +909,10 @@ func TestMarshaler_MarshalReport(t *testing.T) {
909
909
},
910
910
},
911
911
want : & cdx.BOM {
912
- XMLNS : "http://cyclonedx.org/schema/bom/1.5 " ,
912
+ XMLNS : "http://cyclonedx.org/schema/bom/1.6 " ,
913
913
BOMFormat : "CycloneDX" ,
914
- SpecVersion : cdx .SpecVersion1_5 ,
915
- JSONSchema : "http://cyclonedx.org/schema/bom-1.5 .schema.json" ,
914
+ SpecVersion : cdx .SpecVersion1_6 ,
915
+ JSONSchema : "http://cyclonedx.org/schema/bom-1.6 .schema.json" ,
916
916
SerialNumber : "urn:uuid:3ff14136-e09f-4df9-80ea-000000000007" ,
917
917
Version : 1 ,
918
918
Metadata : & cdx.Metadata {
@@ -1293,10 +1293,10 @@ func TestMarshaler_MarshalReport(t *testing.T) {
1293
1293
},
1294
1294
},
1295
1295
want : & cdx.BOM {
1296
- XMLNS : "http://cyclonedx.org/schema/bom/1.5 " ,
1296
+ XMLNS : "http://cyclonedx.org/schema/bom/1.6 " ,
1297
1297
BOMFormat : "CycloneDX" ,
1298
- SpecVersion : cdx .SpecVersion1_5 ,
1299
- JSONSchema : "http://cyclonedx.org/schema/bom-1.5 .schema.json" ,
1298
+ SpecVersion : cdx .SpecVersion1_6 ,
1299
+ JSONSchema : "http://cyclonedx.org/schema/bom-1.6 .schema.json" ,
1300
1300
SerialNumber : "urn:uuid:3ff14136-e09f-4df9-80ea-000000000007" ,
1301
1301
Version : 1 ,
1302
1302
Metadata : & cdx.Metadata {
@@ -1518,10 +1518,10 @@ func TestMarshaler_MarshalReport(t *testing.T) {
1518
1518
BOM : testSBOM ,
1519
1519
},
1520
1520
want : & cdx.BOM {
1521
- XMLNS : "http://cyclonedx.org/schema/bom/1.5 " ,
1521
+ XMLNS : "http://cyclonedx.org/schema/bom/1.6 " ,
1522
1522
BOMFormat : "CycloneDX" ,
1523
- SpecVersion : cdx .SpecVersion1_5 ,
1524
- JSONSchema : "http://cyclonedx.org/schema/bom-1.5 .schema.json" ,
1523
+ SpecVersion : cdx .SpecVersion1_6 ,
1524
+ JSONSchema : "http://cyclonedx.org/schema/bom-1.6 .schema.json" ,
1525
1525
SerialNumber : "urn:uuid:3ff14136-e09f-4df9-80ea-000000000002" ,
1526
1526
Version : 1 ,
1527
1527
Metadata : & cdx.Metadata {
@@ -1770,10 +1770,10 @@ func TestMarshaler_MarshalReport(t *testing.T) {
1770
1770
},
1771
1771
},
1772
1772
want : & cdx.BOM {
1773
- XMLNS : "http://cyclonedx.org/schema/bom/1.5 " ,
1773
+ XMLNS : "http://cyclonedx.org/schema/bom/1.6 " ,
1774
1774
BOMFormat : "CycloneDX" ,
1775
- SpecVersion : cdx .SpecVersion1_5 ,
1776
- JSONSchema : "http://cyclonedx.org/schema/bom-1.5 .schema.json" ,
1775
+ SpecVersion : cdx .SpecVersion1_6 ,
1776
+ JSONSchema : "http://cyclonedx.org/schema/bom-1.6 .schema.json" ,
1777
1777
SerialNumber : "urn:uuid:3ff14136-e09f-4df9-80ea-000000000004" ,
1778
1778
Version : 1 ,
1779
1779
Metadata : & cdx.Metadata {
@@ -1956,10 +1956,10 @@ func TestMarshaler_MarshalReport(t *testing.T) {
1956
1956
},
1957
1957
},
1958
1958
want : & cdx.BOM {
1959
- XMLNS : "http://cyclonedx.org/schema/bom/1.5 " ,
1959
+ XMLNS : "http://cyclonedx.org/schema/bom/1.6 " ,
1960
1960
BOMFormat : "CycloneDX" ,
1961
- SpecVersion : cdx .SpecVersion1_5 ,
1962
- JSONSchema : "http://cyclonedx.org/schema/bom-1.5 .schema.json" ,
1961
+ SpecVersion : cdx .SpecVersion1_6 ,
1962
+ JSONSchema : "http://cyclonedx.org/schema/bom-1.6 .schema.json" ,
1963
1963
SerialNumber : "urn:uuid:3ff14136-e09f-4df9-80ea-000000000003" ,
1964
1964
Version : 1 ,
1965
1965
Metadata : & cdx.Metadata {
@@ -2044,10 +2044,10 @@ func TestMarshaler_MarshalReport(t *testing.T) {
2044
2044
Results : types.Results {},
2045
2045
},
2046
2046
want : & cdx.BOM {
2047
- XMLNS : "http://cyclonedx.org/schema/bom/1.5 " ,
2047
+ XMLNS : "http://cyclonedx.org/schema/bom/1.6 " ,
2048
2048
BOMFormat : "CycloneDX" ,
2049
- SpecVersion : cdx .SpecVersion1_5 ,
2050
- JSONSchema : "http://cyclonedx.org/schema/bom-1.5 .schema.json" ,
2049
+ SpecVersion : cdx .SpecVersion1_6 ,
2050
+ JSONSchema : "http://cyclonedx.org/schema/bom-1.6 .schema.json" ,
2051
2051
SerialNumber : "urn:uuid:3ff14136-e09f-4df9-80ea-000000000002" ,
2052
2052
Version : 1 ,
2053
2053
Metadata : & cdx.Metadata {
0 commit comments