@@ -326,10 +326,10 @@ func TestMarshaler_MarshalReport(t *testing.T) {
326326 },
327327 },
328328 want : & cdx.BOM {
329- XMLNS : "http://cyclonedx.org/schema/bom/1.6 " ,
329+ XMLNS : "http://cyclonedx.org/schema/bom/1.7 " ,
330330 BOMFormat : "CycloneDX" ,
331- SpecVersion : cdx .SpecVersion1_6 ,
332- JSONSchema : "http://cyclonedx.org/schema/bom-1.6 .schema.json" ,
331+ SpecVersion : cdx .SpecVersion1_7 ,
332+ JSONSchema : "http://cyclonedx.org/schema/bom-1.7 .schema.json" ,
333333 SerialNumber : "urn:uuid:3ff14136-e09f-4df9-80ea-000000000014" ,
334334 Version : 1 ,
335335 Metadata : & cdx.Metadata {
@@ -965,10 +965,10 @@ func TestMarshaler_MarshalReport(t *testing.T) {
965965 },
966966 },
967967 want : & cdx.BOM {
968- XMLNS : "http://cyclonedx.org/schema/bom/1.6 " ,
968+ XMLNS : "http://cyclonedx.org/schema/bom/1.7 " ,
969969 BOMFormat : "CycloneDX" ,
970- SpecVersion : cdx .SpecVersion1_6 ,
971- JSONSchema : "http://cyclonedx.org/schema/bom-1.6 .schema.json" ,
970+ SpecVersion : cdx .SpecVersion1_7 ,
971+ JSONSchema : "http://cyclonedx.org/schema/bom-1.7 .schema.json" ,
972972 SerialNumber : "urn:uuid:3ff14136-e09f-4df9-80ea-000000000007" ,
973973 Version : 1 ,
974974 Metadata : & cdx.Metadata {
@@ -1353,10 +1353,10 @@ func TestMarshaler_MarshalReport(t *testing.T) {
13531353 },
13541354 },
13551355 want : & cdx.BOM {
1356- XMLNS : "http://cyclonedx.org/schema/bom/1.6 " ,
1356+ XMLNS : "http://cyclonedx.org/schema/bom/1.7 " ,
13571357 BOMFormat : "CycloneDX" ,
1358- SpecVersion : cdx .SpecVersion1_6 ,
1359- JSONSchema : "http://cyclonedx.org/schema/bom-1.6 .schema.json" ,
1358+ SpecVersion : cdx .SpecVersion1_7 ,
1359+ JSONSchema : "http://cyclonedx.org/schema/bom-1.7 .schema.json" ,
13601360 SerialNumber : "urn:uuid:3ff14136-e09f-4df9-80ea-000000000007" ,
13611361 Version : 1 ,
13621362 Metadata : & cdx.Metadata {
@@ -1585,10 +1585,10 @@ func TestMarshaler_MarshalReport(t *testing.T) {
15851585 BOM : testSBOM (),
15861586 },
15871587 want : & cdx.BOM {
1588- XMLNS : "http://cyclonedx.org/schema/bom/1.6 " ,
1588+ XMLNS : "http://cyclonedx.org/schema/bom/1.7 " ,
15891589 BOMFormat : "CycloneDX" ,
1590- SpecVersion : cdx .SpecVersion1_6 ,
1591- JSONSchema : "http://cyclonedx.org/schema/bom-1.6 .schema.json" ,
1590+ SpecVersion : cdx .SpecVersion1_7 ,
1591+ JSONSchema : "http://cyclonedx.org/schema/bom-1.7 .schema.json" ,
15921592 SerialNumber : "urn:uuid:3ff14136-e09f-4df9-80ea-000000000001" ,
15931593 Version : 1 ,
15941594 Metadata : & cdx.Metadata {
@@ -1853,10 +1853,10 @@ func TestMarshaler_MarshalReport(t *testing.T) {
18531853 },
18541854 },
18551855 want : & cdx.BOM {
1856- XMLNS : "http://cyclonedx.org/schema/bom/1.6 " ,
1856+ XMLNS : "http://cyclonedx.org/schema/bom/1.7 " ,
18571857 BOMFormat : "CycloneDX" ,
1858- SpecVersion : cdx .SpecVersion1_6 ,
1859- JSONSchema : "http://cyclonedx.org/schema/bom-1.6 .schema.json" ,
1858+ SpecVersion : cdx .SpecVersion1_7 ,
1859+ JSONSchema : "http://cyclonedx.org/schema/bom-1.7 .schema.json" ,
18601860 SerialNumber : "urn:uuid:3ff14136-e09f-4df9-80ea-000000000004" ,
18611861 Version : 1 ,
18621862 Metadata : & cdx.Metadata {
@@ -2043,10 +2043,10 @@ func TestMarshaler_MarshalReport(t *testing.T) {
20432043 },
20442044 },
20452045 want : & cdx.BOM {
2046- XMLNS : "http://cyclonedx.org/schema/bom/1.6 " ,
2046+ XMLNS : "http://cyclonedx.org/schema/bom/1.7 " ,
20472047 BOMFormat : "CycloneDX" ,
2048- SpecVersion : cdx .SpecVersion1_6 ,
2049- JSONSchema : "http://cyclonedx.org/schema/bom-1.6 .schema.json" ,
2048+ SpecVersion : cdx .SpecVersion1_7 ,
2049+ JSONSchema : "http://cyclonedx.org/schema/bom-1.7 .schema.json" ,
20502050 SerialNumber : "urn:uuid:3ff14136-e09f-4df9-80ea-000000000003" ,
20512051 Version : 1 ,
20522052 Metadata : & cdx.Metadata {
@@ -2134,10 +2134,10 @@ func TestMarshaler_MarshalReport(t *testing.T) {
21342134 Results : types.Results {},
21352135 },
21362136 want : & cdx.BOM {
2137- XMLNS : "http://cyclonedx.org/schema/bom/1.6 " ,
2137+ XMLNS : "http://cyclonedx.org/schema/bom/1.7 " ,
21382138 BOMFormat : "CycloneDX" ,
2139- SpecVersion : cdx .SpecVersion1_6 ,
2140- JSONSchema : "http://cyclonedx.org/schema/bom-1.6 .schema.json" ,
2139+ SpecVersion : cdx .SpecVersion1_7 ,
2140+ JSONSchema : "http://cyclonedx.org/schema/bom-1.7 .schema.json" ,
21412141 SerialNumber : "urn:uuid:3ff14136-e09f-4df9-80ea-000000000002" ,
21422142 Version : 1 ,
21432143 Metadata : & cdx.Metadata {
@@ -2187,10 +2187,10 @@ func TestMarshaler_MarshalReport(t *testing.T) {
21872187 BOM : testSBOMWithoutRoot (),
21882188 },
21892189 want : & cdx.BOM {
2190- XMLNS : "http://cyclonedx.org/schema/bom/1.6 " ,
2190+ XMLNS : "http://cyclonedx.org/schema/bom/1.7 " ,
21912191 BOMFormat : "CycloneDX" ,
2192- SpecVersion : cdx .SpecVersion1_6 ,
2193- JSONSchema : "http://cyclonedx.org/schema/bom-1.6 .schema.json" ,
2192+ SpecVersion : cdx .SpecVersion1_7 ,
2193+ JSONSchema : "http://cyclonedx.org/schema/bom-1.7 .schema.json" ,
21942194 SerialNumber : "urn:uuid:3ff14136-e09f-4df9-80ea-000000000001" ,
21952195 Version : 1 ,
21962196 Metadata : & cdx.Metadata {
0 commit comments