From 0ba04965ce8c5df710eb2a1cae1e7546ffb6321b Mon Sep 17 00:00:00 2001 From: nscuro Date: Tue, 27 Jun 2023 22:05:10 +0200 Subject: [PATCH] feat(spec1-5): bump schema to 1.5 for round-trip tests Signed-off-by: nscuro --- roundtrip_test.go | 4 ++-- .../cyclonedx-go-TestRoundTripJSON-func1-valid-assembly.json | 2 +- .../cyclonedx-go-TestRoundTripJSON-func1-valid-bom.json | 2 +- ...edx-go-TestRoundTripJSON-func1-valid-component-hashes.json | 2 +- ...lonedx-go-TestRoundTripJSON-func1-valid-component-ref.json | 2 +- ...-go-TestRoundTripJSON-func1-valid-component-swid-full.json | 2 +- ...onedx-go-TestRoundTripJSON-func1-valid-component-swid.json | 2 +- ...nedx-go-TestRoundTripJSON-func1-valid-component-types.json | 2 +- ...clonedx-go-TestRoundTripJSON-func1-valid-compositions.json | 2 +- ...cyclonedx-go-TestRoundTripJSON-func1-valid-dependency.json | 2 +- ...edx-go-TestRoundTripJSON-func1-valid-empty-components.json | 2 +- .../cyclonedx-go-TestRoundTripJSON-func1-valid-evidence.json | 2 +- ...x-go-TestRoundTripJSON-func1-valid-external-reference.json | 2 +- ...x-go-TestRoundTripJSON-func1-valid-license-expression.json | 2 +- ...cyclonedx-go-TestRoundTripJSON-func1-valid-license-id.json | 2 +- ...clonedx-go-TestRoundTripJSON-func1-valid-license-name.json | 2 +- ...nedx-go-TestRoundTripJSON-func1-valid-metadata-author.json | 2 +- ...edx-go-TestRoundTripJSON-func1-valid-metadata-license.json | 2 +- ...go-TestRoundTripJSON-func1-valid-metadata-manufacture.json | 2 +- ...dx-go-TestRoundTripJSON-func1-valid-metadata-supplier.json | 2 +- ...x-go-TestRoundTripJSON-func1-valid-metadata-timestamp.json | 2 +- ...lonedx-go-TestRoundTripJSON-func1-valid-metadata-tool.json | 2 +- ...onedx-go-TestRoundTripJSON-func1-valid-minimal-viable.json | 2 +- .../cyclonedx-go-TestRoundTripJSON-func1-valid-patch.json | 2 +- ...cyclonedx-go-TestRoundTripJSON-func1-valid-properties.json | 2 +- ...lonedx-go-TestRoundTripJSON-func1-valid-release-notes.json | 2 +- ...o-TestRoundTripJSON-func1-valid-service-empty-objects.json | 2 +- .../cyclonedx-go-TestRoundTripJSON-func1-valid-service.json | 2 +- ...lonedx-go-TestRoundTripJSON-func1-valid-vulnerability.json | 2 +- .../cyclonedx-go-TestRoundTripXML-func1-valid-assembly.xml | 2 +- .../cyclonedx-go-TestRoundTripXML-func1-valid-bom.xml | 2 +- ...onedx-go-TestRoundTripXML-func1-valid-component-hashes.xml | 2 +- ...yclonedx-go-TestRoundTripXML-func1-valid-component-ref.xml | 2 +- ...dx-go-TestRoundTripXML-func1-valid-component-swid-full.xml | 2 +- ...clonedx-go-TestRoundTripXML-func1-valid-component-swid.xml | 2 +- ...lonedx-go-TestRoundTripXML-func1-valid-component-types.xml | 2 +- ...cyclonedx-go-TestRoundTripXML-func1-valid-compositions.xml | 2 +- .../cyclonedx-go-TestRoundTripXML-func1-valid-dependency.xml | 2 +- ...onedx-go-TestRoundTripXML-func1-valid-empty-components.xml | 2 +- .../cyclonedx-go-TestRoundTripXML-func1-valid-evidence.xml | 2 +- ...edx-go-TestRoundTripXML-func1-valid-external-reference.xml | 2 +- ...edx-go-TestRoundTripXML-func1-valid-license-expression.xml | 2 +- .../cyclonedx-go-TestRoundTripXML-func1-valid-license-id.xml | 2 +- ...cyclonedx-go-TestRoundTripXML-func1-valid-license-name.xml | 2 +- ...lonedx-go-TestRoundTripXML-func1-valid-metadata-author.xml | 2 +- ...onedx-go-TestRoundTripXML-func1-valid-metadata-license.xml | 2 +- ...x-go-TestRoundTripXML-func1-valid-metadata-manufacture.xml | 2 +- ...nedx-go-TestRoundTripXML-func1-valid-metadata-supplier.xml | 2 +- ...edx-go-TestRoundTripXML-func1-valid-metadata-timestamp.xml | 2 +- ...yclonedx-go-TestRoundTripXML-func1-valid-metadata-tool.xml | 2 +- ...clonedx-go-TestRoundTripXML-func1-valid-minimal-viable.xml | 2 +- .../cyclonedx-go-TestRoundTripXML-func1-valid-patch.xml | 2 +- .../cyclonedx-go-TestRoundTripXML-func1-valid-properties.xml | 2 +- ...yclonedx-go-TestRoundTripXML-func1-valid-release-notes.xml | 2 +- ...-go-TestRoundTripXML-func1-valid-service-empty-objects.xml | 2 +- .../cyclonedx-go-TestRoundTripXML-func1-valid-service.xml | 2 +- ...yclonedx-go-TestRoundTripXML-func1-valid-vulnerability.xml | 2 +- testdata/valid-assembly.json | 2 +- testdata/valid-assembly.xml | 2 +- testdata/valid-bom.json | 2 +- testdata/valid-bom.xml | 2 +- testdata/valid-component-hashes.json | 2 +- testdata/valid-component-hashes.xml | 2 +- testdata/valid-component-ref.json | 2 +- testdata/valid-component-ref.xml | 2 +- testdata/valid-component-swid-full.json | 2 +- testdata/valid-component-swid-full.xml | 2 +- testdata/valid-component-swid.json | 2 +- testdata/valid-component-swid.xml | 2 +- testdata/valid-component-types.json | 2 +- testdata/valid-component-types.xml | 2 +- testdata/valid-compositions.json | 2 +- testdata/valid-compositions.xml | 2 +- testdata/valid-dependency.json | 2 +- testdata/valid-dependency.xml | 2 +- testdata/valid-empty-components.json | 2 +- testdata/valid-empty-components.xml | 2 +- testdata/valid-evidence.json | 2 +- testdata/valid-evidence.xml | 2 +- testdata/valid-external-reference.json | 2 +- testdata/valid-external-reference.xml | 2 +- testdata/valid-license-expression.json | 2 +- testdata/valid-license-expression.xml | 2 +- testdata/valid-license-id.json | 2 +- testdata/valid-license-id.xml | 2 +- testdata/valid-license-name.json | 2 +- testdata/valid-license-name.xml | 2 +- testdata/valid-metadata-author.json | 2 +- testdata/valid-metadata-author.xml | 2 +- testdata/valid-metadata-license.json | 2 +- testdata/valid-metadata-license.xml | 2 +- testdata/valid-metadata-manufacture.json | 2 +- testdata/valid-metadata-manufacture.xml | 2 +- testdata/valid-metadata-supplier.json | 2 +- testdata/valid-metadata-supplier.xml | 2 +- testdata/valid-metadata-timestamp.json | 2 +- testdata/valid-metadata-timestamp.xml | 2 +- testdata/valid-metadata-tool.json | 2 +- testdata/valid-metadata-tool.xml | 2 +- testdata/valid-minimal-viable.json | 2 +- testdata/valid-minimal-viable.xml | 2 +- testdata/valid-patch.json | 2 +- testdata/valid-patch.xml | 2 +- testdata/valid-properties.json | 2 +- testdata/valid-properties.xml | 2 +- testdata/valid-release-notes.json | 2 +- testdata/valid-release-notes.xml | 2 +- testdata/valid-service-empty-objects.json | 2 +- testdata/valid-service-empty-objects.xml | 2 +- testdata/valid-service.json | 2 +- testdata/valid-service.xml | 2 +- testdata/valid-vulnerability.json | 2 +- testdata/valid-vulnerability.xml | 2 +- 113 files changed, 114 insertions(+), 114 deletions(-) diff --git a/roundtrip_test.go b/roundtrip_test.go index ed4e6c1..8fa9dc7 100644 --- a/roundtrip_test.go +++ b/roundtrip_test.go @@ -52,7 +52,7 @@ func TestRoundTripJSON(t *testing.T) { require.NoError(t, err) // Sanity checks: BOM has to be valid - assertValidBOM(t, buf.Bytes(), BOMFileFormatJSON, SpecVersion1_4) + assertValidBOM(t, buf.Bytes(), BOMFileFormatJSON, SpecVersion1_5) // Compare with snapshot assert.NoError(t, snapShooter.SnapshotMulti(filepath.Base(bomFilePath), buf.String())) @@ -85,7 +85,7 @@ func TestRoundTripXML(t *testing.T) { require.NoError(t, err) // Sanity check: BOM has to be valid - assertValidBOM(t, buf.Bytes(), BOMFileFormatXML, SpecVersion1_4) + assertValidBOM(t, buf.Bytes(), BOMFileFormatXML, SpecVersion1_5) // Compare with snapshot assert.NoError(t, snapShooter.SnapshotMulti(filepath.Base(bomFilePath), buf.String())) diff --git a/testdata/snapshots/cyclonedx-go-TestRoundTripJSON-func1-valid-assembly.json b/testdata/snapshots/cyclonedx-go-TestRoundTripJSON-func1-valid-assembly.json index 67aa5b4..7824237 100644 --- a/testdata/snapshots/cyclonedx-go-TestRoundTripJSON-func1-valid-assembly.json +++ b/testdata/snapshots/cyclonedx-go-TestRoundTripJSON-func1-valid-assembly.json @@ -1,6 +1,6 @@ { "bomFormat": "CycloneDX", - "specVersion": "1.4", + "specVersion": "1.5", "serialNumber": "urn:uuid:3e671687-395b-41f5-a30f-a58921a69b79", "version": 1, "components": [ diff --git a/testdata/snapshots/cyclonedx-go-TestRoundTripJSON-func1-valid-bom.json b/testdata/snapshots/cyclonedx-go-TestRoundTripJSON-func1-valid-bom.json index 1cdfef1..353a4e7 100644 --- a/testdata/snapshots/cyclonedx-go-TestRoundTripJSON-func1-valid-bom.json +++ b/testdata/snapshots/cyclonedx-go-TestRoundTripJSON-func1-valid-bom.json @@ -1,6 +1,6 @@ { "bomFormat": "CycloneDX", - "specVersion": "1.4", + "specVersion": "1.5", "serialNumber": "urn:uuid:3e671687-395b-41f5-a30f-a58921a69b79", "version": 1, "metadata": { diff --git a/testdata/snapshots/cyclonedx-go-TestRoundTripJSON-func1-valid-component-hashes.json b/testdata/snapshots/cyclonedx-go-TestRoundTripJSON-func1-valid-component-hashes.json index 4d9334e..527577e 100644 --- a/testdata/snapshots/cyclonedx-go-TestRoundTripJSON-func1-valid-component-hashes.json +++ b/testdata/snapshots/cyclonedx-go-TestRoundTripJSON-func1-valid-component-hashes.json @@ -1,6 +1,6 @@ { "bomFormat": "CycloneDX", - "specVersion": "1.4", + "specVersion": "1.5", "serialNumber": "urn:uuid:3e671687-395b-41f5-a30f-a58921a69b79", "version": 1, "components": [ diff --git a/testdata/snapshots/cyclonedx-go-TestRoundTripJSON-func1-valid-component-ref.json b/testdata/snapshots/cyclonedx-go-TestRoundTripJSON-func1-valid-component-ref.json index d0b990a..99307aa 100644 --- a/testdata/snapshots/cyclonedx-go-TestRoundTripJSON-func1-valid-component-ref.json +++ b/testdata/snapshots/cyclonedx-go-TestRoundTripJSON-func1-valid-component-ref.json @@ -1,6 +1,6 @@ { "bomFormat": "CycloneDX", - "specVersion": "1.4", + "specVersion": "1.5", "serialNumber": "urn:uuid:3e671687-395b-41f5-a30f-a58921a69b79", "version": 1, "components": [ diff --git a/testdata/snapshots/cyclonedx-go-TestRoundTripJSON-func1-valid-component-swid-full.json b/testdata/snapshots/cyclonedx-go-TestRoundTripJSON-func1-valid-component-swid-full.json index c713120..33b727a 100644 --- a/testdata/snapshots/cyclonedx-go-TestRoundTripJSON-func1-valid-component-swid-full.json +++ b/testdata/snapshots/cyclonedx-go-TestRoundTripJSON-func1-valid-component-swid-full.json @@ -1,6 +1,6 @@ { "bomFormat": "CycloneDX", - "specVersion": "1.4", + "specVersion": "1.5", "serialNumber": "urn:uuid:3e671687-395b-41f5-a30f-a58921a69b79", "version": 1, "components": [ diff --git a/testdata/snapshots/cyclonedx-go-TestRoundTripJSON-func1-valid-component-swid.json b/testdata/snapshots/cyclonedx-go-TestRoundTripJSON-func1-valid-component-swid.json index 6233df3..37565aa 100644 --- a/testdata/snapshots/cyclonedx-go-TestRoundTripJSON-func1-valid-component-swid.json +++ b/testdata/snapshots/cyclonedx-go-TestRoundTripJSON-func1-valid-component-swid.json @@ -1,6 +1,6 @@ { "bomFormat": "CycloneDX", - "specVersion": "1.4", + "specVersion": "1.5", "serialNumber": "urn:uuid:3e671687-395b-41f5-a30f-a58921a69b79", "version": 1, "components": [ diff --git a/testdata/snapshots/cyclonedx-go-TestRoundTripJSON-func1-valid-component-types.json b/testdata/snapshots/cyclonedx-go-TestRoundTripJSON-func1-valid-component-types.json index 6bdc3c1..29abae2 100644 --- a/testdata/snapshots/cyclonedx-go-TestRoundTripJSON-func1-valid-component-types.json +++ b/testdata/snapshots/cyclonedx-go-TestRoundTripJSON-func1-valid-component-types.json @@ -1,6 +1,6 @@ { "bomFormat": "CycloneDX", - "specVersion": "1.4", + "specVersion": "1.5", "serialNumber": "urn:uuid:3e671687-395b-41f5-a30f-a58921a69b79", "version": 1, "components": [ diff --git a/testdata/snapshots/cyclonedx-go-TestRoundTripJSON-func1-valid-compositions.json b/testdata/snapshots/cyclonedx-go-TestRoundTripJSON-func1-valid-compositions.json index 5f99afc..0bb37e0 100644 --- a/testdata/snapshots/cyclonedx-go-TestRoundTripJSON-func1-valid-compositions.json +++ b/testdata/snapshots/cyclonedx-go-TestRoundTripJSON-func1-valid-compositions.json @@ -1,6 +1,6 @@ { "bomFormat": "CycloneDX", - "specVersion": "1.4", + "specVersion": "1.5", "serialNumber": "urn:uuid:3e671687-395b-41f5-a30f-a58921a69b79", "version": 1, "metadata": { diff --git a/testdata/snapshots/cyclonedx-go-TestRoundTripJSON-func1-valid-dependency.json b/testdata/snapshots/cyclonedx-go-TestRoundTripJSON-func1-valid-dependency.json index a908a7b..67a6f51 100644 --- a/testdata/snapshots/cyclonedx-go-TestRoundTripJSON-func1-valid-dependency.json +++ b/testdata/snapshots/cyclonedx-go-TestRoundTripJSON-func1-valid-dependency.json @@ -1,6 +1,6 @@ { "bomFormat": "CycloneDX", - "specVersion": "1.4", + "specVersion": "1.5", "serialNumber": "urn:uuid:3e671687-395b-41f5-a30f-a58921a69b79", "version": 1, "components": [ diff --git a/testdata/snapshots/cyclonedx-go-TestRoundTripJSON-func1-valid-empty-components.json b/testdata/snapshots/cyclonedx-go-TestRoundTripJSON-func1-valid-empty-components.json index 663008b..58678b8 100644 --- a/testdata/snapshots/cyclonedx-go-TestRoundTripJSON-func1-valid-empty-components.json +++ b/testdata/snapshots/cyclonedx-go-TestRoundTripJSON-func1-valid-empty-components.json @@ -1,6 +1,6 @@ { "bomFormat": "CycloneDX", - "specVersion": "1.4", + "specVersion": "1.5", "serialNumber": "urn:uuid:3e671687-395b-41f5-a30f-a58921a69b79", "version": 1, "components": [] diff --git a/testdata/snapshots/cyclonedx-go-TestRoundTripJSON-func1-valid-evidence.json b/testdata/snapshots/cyclonedx-go-TestRoundTripJSON-func1-valid-evidence.json index faf1012..9d8c347 100644 --- a/testdata/snapshots/cyclonedx-go-TestRoundTripJSON-func1-valid-evidence.json +++ b/testdata/snapshots/cyclonedx-go-TestRoundTripJSON-func1-valid-evidence.json @@ -1,6 +1,6 @@ { "bomFormat": "CycloneDX", - "specVersion": "1.4", + "specVersion": "1.5", "serialNumber": "urn:uuid:3e671687-395b-41f5-a30f-a58921a69b79", "version": 1, "components": [ diff --git a/testdata/snapshots/cyclonedx-go-TestRoundTripJSON-func1-valid-external-reference.json b/testdata/snapshots/cyclonedx-go-TestRoundTripJSON-func1-valid-external-reference.json index fa1829e..a54a326 100644 --- a/testdata/snapshots/cyclonedx-go-TestRoundTripJSON-func1-valid-external-reference.json +++ b/testdata/snapshots/cyclonedx-go-TestRoundTripJSON-func1-valid-external-reference.json @@ -1,6 +1,6 @@ { "bomFormat": "CycloneDX", - "specVersion": "1.4", + "specVersion": "1.5", "serialNumber": "urn:uuid:3e671687-395b-41f5-a30f-a58921a69b79", "version": 1, "components": [ diff --git a/testdata/snapshots/cyclonedx-go-TestRoundTripJSON-func1-valid-license-expression.json b/testdata/snapshots/cyclonedx-go-TestRoundTripJSON-func1-valid-license-expression.json index 52b61d6..cbda94a 100644 --- a/testdata/snapshots/cyclonedx-go-TestRoundTripJSON-func1-valid-license-expression.json +++ b/testdata/snapshots/cyclonedx-go-TestRoundTripJSON-func1-valid-license-expression.json @@ -1,6 +1,6 @@ { "bomFormat": "CycloneDX", - "specVersion": "1.4", + "specVersion": "1.5", "serialNumber": "urn:uuid:3e671687-395b-41f5-a30f-a58921a69b79", "version": 1, "components": [ diff --git a/testdata/snapshots/cyclonedx-go-TestRoundTripJSON-func1-valid-license-id.json b/testdata/snapshots/cyclonedx-go-TestRoundTripJSON-func1-valid-license-id.json index 8d8d385..0f508a5 100644 --- a/testdata/snapshots/cyclonedx-go-TestRoundTripJSON-func1-valid-license-id.json +++ b/testdata/snapshots/cyclonedx-go-TestRoundTripJSON-func1-valid-license-id.json @@ -1,6 +1,6 @@ { "bomFormat": "CycloneDX", - "specVersion": "1.4", + "specVersion": "1.5", "serialNumber": "urn:uuid:3e671687-395b-41f5-a30f-a58921a69b79", "version": 1, "components": [ diff --git a/testdata/snapshots/cyclonedx-go-TestRoundTripJSON-func1-valid-license-name.json b/testdata/snapshots/cyclonedx-go-TestRoundTripJSON-func1-valid-license-name.json index cb3749f..fede9a3 100644 --- a/testdata/snapshots/cyclonedx-go-TestRoundTripJSON-func1-valid-license-name.json +++ b/testdata/snapshots/cyclonedx-go-TestRoundTripJSON-func1-valid-license-name.json @@ -1,6 +1,6 @@ { "bomFormat": "CycloneDX", - "specVersion": "1.4", + "specVersion": "1.5", "serialNumber": "urn:uuid:3e671687-395b-41f5-a30f-a58921a69b79", "version": 1, "components": [ diff --git a/testdata/snapshots/cyclonedx-go-TestRoundTripJSON-func1-valid-metadata-author.json b/testdata/snapshots/cyclonedx-go-TestRoundTripJSON-func1-valid-metadata-author.json index 4da2a32..c83f25b 100644 --- a/testdata/snapshots/cyclonedx-go-TestRoundTripJSON-func1-valid-metadata-author.json +++ b/testdata/snapshots/cyclonedx-go-TestRoundTripJSON-func1-valid-metadata-author.json @@ -1,6 +1,6 @@ { "bomFormat": "CycloneDX", - "specVersion": "1.4", + "specVersion": "1.5", "serialNumber": "urn:uuid:3e671687-395b-41f5-a30f-a58921a69b79", "version": 1, "metadata": { diff --git a/testdata/snapshots/cyclonedx-go-TestRoundTripJSON-func1-valid-metadata-license.json b/testdata/snapshots/cyclonedx-go-TestRoundTripJSON-func1-valid-metadata-license.json index be875c9..b6f925c 100644 --- a/testdata/snapshots/cyclonedx-go-TestRoundTripJSON-func1-valid-metadata-license.json +++ b/testdata/snapshots/cyclonedx-go-TestRoundTripJSON-func1-valid-metadata-license.json @@ -1,6 +1,6 @@ { "bomFormat": "CycloneDX", - "specVersion": "1.4", + "specVersion": "1.5", "serialNumber": "urn:uuid:3e671687-395b-41f5-a30f-a58921a69b79", "version": 1, "metadata": { diff --git a/testdata/snapshots/cyclonedx-go-TestRoundTripJSON-func1-valid-metadata-manufacture.json b/testdata/snapshots/cyclonedx-go-TestRoundTripJSON-func1-valid-metadata-manufacture.json index 83df049..1922730 100644 --- a/testdata/snapshots/cyclonedx-go-TestRoundTripJSON-func1-valid-metadata-manufacture.json +++ b/testdata/snapshots/cyclonedx-go-TestRoundTripJSON-func1-valid-metadata-manufacture.json @@ -1,6 +1,6 @@ { "bomFormat": "CycloneDX", - "specVersion": "1.4", + "specVersion": "1.5", "serialNumber": "urn:uuid:3e671687-395b-41f5-a30f-a58921a69b79", "version": 1, "metadata": { diff --git a/testdata/snapshots/cyclonedx-go-TestRoundTripJSON-func1-valid-metadata-supplier.json b/testdata/snapshots/cyclonedx-go-TestRoundTripJSON-func1-valid-metadata-supplier.json index 4653ddb..e10022e 100644 --- a/testdata/snapshots/cyclonedx-go-TestRoundTripJSON-func1-valid-metadata-supplier.json +++ b/testdata/snapshots/cyclonedx-go-TestRoundTripJSON-func1-valid-metadata-supplier.json @@ -1,6 +1,6 @@ { "bomFormat": "CycloneDX", - "specVersion": "1.4", + "specVersion": "1.5", "serialNumber": "urn:uuid:3e671687-395b-41f5-a30f-a58921a69b79", "version": 1, "metadata": { diff --git a/testdata/snapshots/cyclonedx-go-TestRoundTripJSON-func1-valid-metadata-timestamp.json b/testdata/snapshots/cyclonedx-go-TestRoundTripJSON-func1-valid-metadata-timestamp.json index 824df34..4c53dd3 100644 --- a/testdata/snapshots/cyclonedx-go-TestRoundTripJSON-func1-valid-metadata-timestamp.json +++ b/testdata/snapshots/cyclonedx-go-TestRoundTripJSON-func1-valid-metadata-timestamp.json @@ -1,6 +1,6 @@ { "bomFormat": "CycloneDX", - "specVersion": "1.4", + "specVersion": "1.5", "serialNumber": "urn:uuid:3e671687-395b-41f5-a30f-a58921a69b79", "version": 1, "metadata": { diff --git a/testdata/snapshots/cyclonedx-go-TestRoundTripJSON-func1-valid-metadata-tool.json b/testdata/snapshots/cyclonedx-go-TestRoundTripJSON-func1-valid-metadata-tool.json index 941eb6f..f31655f 100644 --- a/testdata/snapshots/cyclonedx-go-TestRoundTripJSON-func1-valid-metadata-tool.json +++ b/testdata/snapshots/cyclonedx-go-TestRoundTripJSON-func1-valid-metadata-tool.json @@ -1,6 +1,6 @@ { "bomFormat": "CycloneDX", - "specVersion": "1.4", + "specVersion": "1.5", "serialNumber": "urn:uuid:3e671687-395b-41f5-a30f-a58921a69b79", "version": 1, "metadata": { diff --git a/testdata/snapshots/cyclonedx-go-TestRoundTripJSON-func1-valid-minimal-viable.json b/testdata/snapshots/cyclonedx-go-TestRoundTripJSON-func1-valid-minimal-viable.json index 1ddb9dc..31d47d1 100644 --- a/testdata/snapshots/cyclonedx-go-TestRoundTripJSON-func1-valid-minimal-viable.json +++ b/testdata/snapshots/cyclonedx-go-TestRoundTripJSON-func1-valid-minimal-viable.json @@ -1,6 +1,6 @@ { "bomFormat": "CycloneDX", - "specVersion": "1.4", + "specVersion": "1.5", "serialNumber": "urn:uuid:3e671687-395b-41f5-a30f-a58921a69b79", "version": 1, "components": [ diff --git a/testdata/snapshots/cyclonedx-go-TestRoundTripJSON-func1-valid-patch.json b/testdata/snapshots/cyclonedx-go-TestRoundTripJSON-func1-valid-patch.json index d659295..5b00b79 100644 --- a/testdata/snapshots/cyclonedx-go-TestRoundTripJSON-func1-valid-patch.json +++ b/testdata/snapshots/cyclonedx-go-TestRoundTripJSON-func1-valid-patch.json @@ -1,6 +1,6 @@ { "bomFormat": "CycloneDX", - "specVersion": "1.4", + "specVersion": "1.5", "serialNumber": "urn:uuid:3e671687-395b-41f5-a30f-a58921a69b79", "version": 1, "components": [ diff --git a/testdata/snapshots/cyclonedx-go-TestRoundTripJSON-func1-valid-properties.json b/testdata/snapshots/cyclonedx-go-TestRoundTripJSON-func1-valid-properties.json index 677b802..7ac4f9f 100644 --- a/testdata/snapshots/cyclonedx-go-TestRoundTripJSON-func1-valid-properties.json +++ b/testdata/snapshots/cyclonedx-go-TestRoundTripJSON-func1-valid-properties.json @@ -1,6 +1,6 @@ { "bomFormat": "CycloneDX", - "specVersion": "1.4", + "specVersion": "1.5", "serialNumber": "urn:uuid:3e671687-395b-41f5-a30f-a58921a69b79", "version": 1, "metadata": { diff --git a/testdata/snapshots/cyclonedx-go-TestRoundTripJSON-func1-valid-release-notes.json b/testdata/snapshots/cyclonedx-go-TestRoundTripJSON-func1-valid-release-notes.json index b42fdd5..792ad55 100644 --- a/testdata/snapshots/cyclonedx-go-TestRoundTripJSON-func1-valid-release-notes.json +++ b/testdata/snapshots/cyclonedx-go-TestRoundTripJSON-func1-valid-release-notes.json @@ -1,6 +1,6 @@ { "bomFormat": "CycloneDX", - "specVersion": "1.4", + "specVersion": "1.5", "serialNumber": "urn:uuid:3e671687-395b-41f5-a30f-a58921a69b79", "version": 1, "components": [ diff --git a/testdata/snapshots/cyclonedx-go-TestRoundTripJSON-func1-valid-service-empty-objects.json b/testdata/snapshots/cyclonedx-go-TestRoundTripJSON-func1-valid-service-empty-objects.json index 65363a3..a2357bb 100644 --- a/testdata/snapshots/cyclonedx-go-TestRoundTripJSON-func1-valid-service-empty-objects.json +++ b/testdata/snapshots/cyclonedx-go-TestRoundTripJSON-func1-valid-service-empty-objects.json @@ -1,6 +1,6 @@ { "bomFormat": "CycloneDX", - "specVersion": "1.4", + "specVersion": "1.5", "serialNumber": "urn:uuid:3e671687-395b-41f5-a30f-a58921a69b79", "version": 1, "services": [ diff --git a/testdata/snapshots/cyclonedx-go-TestRoundTripJSON-func1-valid-service.json b/testdata/snapshots/cyclonedx-go-TestRoundTripJSON-func1-valid-service.json index df65858..5f0a4c2 100644 --- a/testdata/snapshots/cyclonedx-go-TestRoundTripJSON-func1-valid-service.json +++ b/testdata/snapshots/cyclonedx-go-TestRoundTripJSON-func1-valid-service.json @@ -1,6 +1,6 @@ { "bomFormat": "CycloneDX", - "specVersion": "1.4", + "specVersion": "1.5", "serialNumber": "urn:uuid:3e671687-395b-41f5-a30f-a58921a69b79", "version": 1, "components": [ diff --git a/testdata/snapshots/cyclonedx-go-TestRoundTripJSON-func1-valid-vulnerability.json b/testdata/snapshots/cyclonedx-go-TestRoundTripJSON-func1-valid-vulnerability.json index 9258923..a74f87c 100644 --- a/testdata/snapshots/cyclonedx-go-TestRoundTripJSON-func1-valid-vulnerability.json +++ b/testdata/snapshots/cyclonedx-go-TestRoundTripJSON-func1-valid-vulnerability.json @@ -1,6 +1,6 @@ { "bomFormat": "CycloneDX", - "specVersion": "1.4", + "specVersion": "1.5", "serialNumber": "urn:uuid:3e671687-395b-41f5-a30f-a58921a69b79", "version": 1, "components": [ diff --git a/testdata/snapshots/cyclonedx-go-TestRoundTripXML-func1-valid-assembly.xml b/testdata/snapshots/cyclonedx-go-TestRoundTripXML-func1-valid-assembly.xml index e304a19..0e674bb 100644 --- a/testdata/snapshots/cyclonedx-go-TestRoundTripXML-func1-valid-assembly.xml +++ b/testdata/snapshots/cyclonedx-go-TestRoundTripXML-func1-valid-assembly.xml @@ -1,5 +1,5 @@ - + acme-library-a diff --git a/testdata/snapshots/cyclonedx-go-TestRoundTripXML-func1-valid-bom.xml b/testdata/snapshots/cyclonedx-go-TestRoundTripXML-func1-valid-bom.xml index 3ab65b3..dc90631 100644 --- a/testdata/snapshots/cyclonedx-go-TestRoundTripXML-func1-valid-bom.xml +++ b/testdata/snapshots/cyclonedx-go-TestRoundTripXML-func1-valid-bom.xml @@ -1,5 +1,5 @@ - + 2020-04-07T07:01:00Z diff --git a/testdata/snapshots/cyclonedx-go-TestRoundTripXML-func1-valid-component-hashes.xml b/testdata/snapshots/cyclonedx-go-TestRoundTripXML-func1-valid-component-hashes.xml index 2371962..bd7af4e 100644 --- a/testdata/snapshots/cyclonedx-go-TestRoundTripXML-func1-valid-component-hashes.xml +++ b/testdata/snapshots/cyclonedx-go-TestRoundTripXML-func1-valid-component-hashes.xml @@ -1,5 +1,5 @@ - + acme-example diff --git a/testdata/snapshots/cyclonedx-go-TestRoundTripXML-func1-valid-component-ref.xml b/testdata/snapshots/cyclonedx-go-TestRoundTripXML-func1-valid-component-ref.xml index 97a7c98..8d04ed3 100644 --- a/testdata/snapshots/cyclonedx-go-TestRoundTripXML-func1-valid-component-ref.xml +++ b/testdata/snapshots/cyclonedx-go-TestRoundTripXML-func1-valid-component-ref.xml @@ -1,5 +1,5 @@ - + acme-library diff --git a/testdata/snapshots/cyclonedx-go-TestRoundTripXML-func1-valid-component-swid-full.xml b/testdata/snapshots/cyclonedx-go-TestRoundTripXML-func1-valid-component-swid-full.xml index 50f6dbe..07459dd 100644 --- a/testdata/snapshots/cyclonedx-go-TestRoundTripXML-func1-valid-component-swid-full.xml +++ b/testdata/snapshots/cyclonedx-go-TestRoundTripXML-func1-valid-component-swid-full.xml @@ -1,5 +1,5 @@ - + Acme Super Heros diff --git a/testdata/snapshots/cyclonedx-go-TestRoundTripXML-func1-valid-component-swid.xml b/testdata/snapshots/cyclonedx-go-TestRoundTripXML-func1-valid-component-swid.xml index ad69b1b..e3a308c 100644 --- a/testdata/snapshots/cyclonedx-go-TestRoundTripXML-func1-valid-component-swid.xml +++ b/testdata/snapshots/cyclonedx-go-TestRoundTripXML-func1-valid-component-swid.xml @@ -1,5 +1,5 @@ - + Acme Super Heros diff --git a/testdata/snapshots/cyclonedx-go-TestRoundTripXML-func1-valid-component-types.xml b/testdata/snapshots/cyclonedx-go-TestRoundTripXML-func1-valid-component-types.xml index 0bd4d77..3b9ce9b 100644 --- a/testdata/snapshots/cyclonedx-go-TestRoundTripXML-func1-valid-component-types.xml +++ b/testdata/snapshots/cyclonedx-go-TestRoundTripXML-func1-valid-component-types.xml @@ -1,5 +1,5 @@ - + application-a diff --git a/testdata/snapshots/cyclonedx-go-TestRoundTripXML-func1-valid-compositions.xml b/testdata/snapshots/cyclonedx-go-TestRoundTripXML-func1-valid-compositions.xml index c9e2697..54aea6c 100644 --- a/testdata/snapshots/cyclonedx-go-TestRoundTripXML-func1-valid-compositions.xml +++ b/testdata/snapshots/cyclonedx-go-TestRoundTripXML-func1-valid-compositions.xml @@ -1,5 +1,5 @@ - + Acme Application diff --git a/testdata/snapshots/cyclonedx-go-TestRoundTripXML-func1-valid-dependency.xml b/testdata/snapshots/cyclonedx-go-TestRoundTripXML-func1-valid-dependency.xml index ad4a6f2..8c7c54c 100644 --- a/testdata/snapshots/cyclonedx-go-TestRoundTripXML-func1-valid-dependency.xml +++ b/testdata/snapshots/cyclonedx-go-TestRoundTripXML-func1-valid-dependency.xml @@ -1,5 +1,5 @@ - + acme-library-a diff --git a/testdata/snapshots/cyclonedx-go-TestRoundTripXML-func1-valid-empty-components.xml b/testdata/snapshots/cyclonedx-go-TestRoundTripXML-func1-valid-empty-components.xml index f0447da..7ea6dda 100644 --- a/testdata/snapshots/cyclonedx-go-TestRoundTripXML-func1-valid-empty-components.xml +++ b/testdata/snapshots/cyclonedx-go-TestRoundTripXML-func1-valid-empty-components.xml @@ -1,2 +1,2 @@ - + diff --git a/testdata/snapshots/cyclonedx-go-TestRoundTripXML-func1-valid-evidence.xml b/testdata/snapshots/cyclonedx-go-TestRoundTripXML-func1-valid-evidence.xml index dec0fb6..647fb7f 100644 --- a/testdata/snapshots/cyclonedx-go-TestRoundTripXML-func1-valid-evidence.xml +++ b/testdata/snapshots/cyclonedx-go-TestRoundTripXML-func1-valid-evidence.xml @@ -1,5 +1,5 @@ - + com.google.code.findbugs diff --git a/testdata/snapshots/cyclonedx-go-TestRoundTripXML-func1-valid-external-reference.xml b/testdata/snapshots/cyclonedx-go-TestRoundTripXML-func1-valid-external-reference.xml index 4be2d26..e89c8b3 100644 --- a/testdata/snapshots/cyclonedx-go-TestRoundTripXML-func1-valid-external-reference.xml +++ b/testdata/snapshots/cyclonedx-go-TestRoundTripXML-func1-valid-external-reference.xml @@ -1,5 +1,5 @@ - + org.example diff --git a/testdata/snapshots/cyclonedx-go-TestRoundTripXML-func1-valid-license-expression.xml b/testdata/snapshots/cyclonedx-go-TestRoundTripXML-func1-valid-license-expression.xml index 7261150..5961c9d 100644 --- a/testdata/snapshots/cyclonedx-go-TestRoundTripXML-func1-valid-license-expression.xml +++ b/testdata/snapshots/cyclonedx-go-TestRoundTripXML-func1-valid-license-expression.xml @@ -1,5 +1,5 @@ - + Acme Inc diff --git a/testdata/snapshots/cyclonedx-go-TestRoundTripXML-func1-valid-license-id.xml b/testdata/snapshots/cyclonedx-go-TestRoundTripXML-func1-valid-license-id.xml index 29f7164..b288b92 100644 --- a/testdata/snapshots/cyclonedx-go-TestRoundTripXML-func1-valid-license-id.xml +++ b/testdata/snapshots/cyclonedx-go-TestRoundTripXML-func1-valid-license-id.xml @@ -1,5 +1,5 @@ - + Acme Inc diff --git a/testdata/snapshots/cyclonedx-go-TestRoundTripXML-func1-valid-license-name.xml b/testdata/snapshots/cyclonedx-go-TestRoundTripXML-func1-valid-license-name.xml index e36fbbb..db0d80f 100644 --- a/testdata/snapshots/cyclonedx-go-TestRoundTripXML-func1-valid-license-name.xml +++ b/testdata/snapshots/cyclonedx-go-TestRoundTripXML-func1-valid-license-name.xml @@ -1,5 +1,5 @@ - + Acme Inc diff --git a/testdata/snapshots/cyclonedx-go-TestRoundTripXML-func1-valid-metadata-author.xml b/testdata/snapshots/cyclonedx-go-TestRoundTripXML-func1-valid-metadata-author.xml index 4c10c03..634c9b8 100644 --- a/testdata/snapshots/cyclonedx-go-TestRoundTripXML-func1-valid-metadata-author.xml +++ b/testdata/snapshots/cyclonedx-go-TestRoundTripXML-func1-valid-metadata-author.xml @@ -1,5 +1,5 @@ - + diff --git a/testdata/snapshots/cyclonedx-go-TestRoundTripXML-func1-valid-metadata-license.xml b/testdata/snapshots/cyclonedx-go-TestRoundTripXML-func1-valid-metadata-license.xml index 72ed931..52c9233 100644 --- a/testdata/snapshots/cyclonedx-go-TestRoundTripXML-func1-valid-metadata-license.xml +++ b/testdata/snapshots/cyclonedx-go-TestRoundTripXML-func1-valid-metadata-license.xml @@ -1,5 +1,5 @@ - + diff --git a/testdata/snapshots/cyclonedx-go-TestRoundTripXML-func1-valid-metadata-manufacture.xml b/testdata/snapshots/cyclonedx-go-TestRoundTripXML-func1-valid-metadata-manufacture.xml index 3d8bff1..0c9cfbe 100644 --- a/testdata/snapshots/cyclonedx-go-TestRoundTripXML-func1-valid-metadata-manufacture.xml +++ b/testdata/snapshots/cyclonedx-go-TestRoundTripXML-func1-valid-metadata-manufacture.xml @@ -1,5 +1,5 @@ - + Acme, Inc. diff --git a/testdata/snapshots/cyclonedx-go-TestRoundTripXML-func1-valid-metadata-supplier.xml b/testdata/snapshots/cyclonedx-go-TestRoundTripXML-func1-valid-metadata-supplier.xml index 009974b..bb1a4e0 100644 --- a/testdata/snapshots/cyclonedx-go-TestRoundTripXML-func1-valid-metadata-supplier.xml +++ b/testdata/snapshots/cyclonedx-go-TestRoundTripXML-func1-valid-metadata-supplier.xml @@ -1,5 +1,5 @@ - + Acme, Inc. diff --git a/testdata/snapshots/cyclonedx-go-TestRoundTripXML-func1-valid-metadata-timestamp.xml b/testdata/snapshots/cyclonedx-go-TestRoundTripXML-func1-valid-metadata-timestamp.xml index 4f3d8ee..f2d4a99 100644 --- a/testdata/snapshots/cyclonedx-go-TestRoundTripXML-func1-valid-metadata-timestamp.xml +++ b/testdata/snapshots/cyclonedx-go-TestRoundTripXML-func1-valid-metadata-timestamp.xml @@ -1,5 +1,5 @@ - + 2020-04-07T07:01:00Z diff --git a/testdata/snapshots/cyclonedx-go-TestRoundTripXML-func1-valid-metadata-tool.xml b/testdata/snapshots/cyclonedx-go-TestRoundTripXML-func1-valid-metadata-tool.xml index 22fab8f..bfe8af7 100644 --- a/testdata/snapshots/cyclonedx-go-TestRoundTripXML-func1-valid-metadata-tool.xml +++ b/testdata/snapshots/cyclonedx-go-TestRoundTripXML-func1-valid-metadata-tool.xml @@ -1,5 +1,5 @@ - + diff --git a/testdata/snapshots/cyclonedx-go-TestRoundTripXML-func1-valid-minimal-viable.xml b/testdata/snapshots/cyclonedx-go-TestRoundTripXML-func1-valid-minimal-viable.xml index cb4e3e4..af1cb69 100644 --- a/testdata/snapshots/cyclonedx-go-TestRoundTripXML-func1-valid-minimal-viable.xml +++ b/testdata/snapshots/cyclonedx-go-TestRoundTripXML-func1-valid-minimal-viable.xml @@ -1,5 +1,5 @@ - + acme-library diff --git a/testdata/snapshots/cyclonedx-go-TestRoundTripXML-func1-valid-patch.xml b/testdata/snapshots/cyclonedx-go-TestRoundTripXML-func1-valid-patch.xml index 5b9e58f..514512c 100644 --- a/testdata/snapshots/cyclonedx-go-TestRoundTripXML-func1-valid-patch.xml +++ b/testdata/snapshots/cyclonedx-go-TestRoundTripXML-func1-valid-patch.xml @@ -1,5 +1,5 @@ - + com.acme diff --git a/testdata/snapshots/cyclonedx-go-TestRoundTripXML-func1-valid-properties.xml b/testdata/snapshots/cyclonedx-go-TestRoundTripXML-func1-valid-properties.xml index 51f4a92..dfcd58f 100644 --- a/testdata/snapshots/cyclonedx-go-TestRoundTripXML-func1-valid-properties.xml +++ b/testdata/snapshots/cyclonedx-go-TestRoundTripXML-func1-valid-properties.xml @@ -1,5 +1,5 @@ - + Bar diff --git a/testdata/snapshots/cyclonedx-go-TestRoundTripXML-func1-valid-release-notes.xml b/testdata/snapshots/cyclonedx-go-TestRoundTripXML-func1-valid-release-notes.xml index 4e2beb3..96ce5b5 100644 --- a/testdata/snapshots/cyclonedx-go-TestRoundTripXML-func1-valid-release-notes.xml +++ b/testdata/snapshots/cyclonedx-go-TestRoundTripXML-func1-valid-release-notes.xml @@ -1,5 +1,5 @@ - + acme-example diff --git a/testdata/snapshots/cyclonedx-go-TestRoundTripXML-func1-valid-service-empty-objects.xml b/testdata/snapshots/cyclonedx-go-TestRoundTripXML-func1-valid-service-empty-objects.xml index c4e7218..8521883 100644 --- a/testdata/snapshots/cyclonedx-go-TestRoundTripXML-func1-valid-service-empty-objects.xml +++ b/testdata/snapshots/cyclonedx-go-TestRoundTripXML-func1-valid-service-empty-objects.xml @@ -1,5 +1,5 @@ - + diff --git a/testdata/snapshots/cyclonedx-go-TestRoundTripXML-func1-valid-service.xml b/testdata/snapshots/cyclonedx-go-TestRoundTripXML-func1-valid-service.xml index 94be563..77f59d3 100644 --- a/testdata/snapshots/cyclonedx-go-TestRoundTripXML-func1-valid-service.xml +++ b/testdata/snapshots/cyclonedx-go-TestRoundTripXML-func1-valid-service.xml @@ -1,5 +1,5 @@ - + com.acme diff --git a/testdata/snapshots/cyclonedx-go-TestRoundTripXML-func1-valid-vulnerability.xml b/testdata/snapshots/cyclonedx-go-TestRoundTripXML-func1-valid-vulnerability.xml index b6443ee..d98f506 100644 --- a/testdata/snapshots/cyclonedx-go-TestRoundTripXML-func1-valid-vulnerability.xml +++ b/testdata/snapshots/cyclonedx-go-TestRoundTripXML-func1-valid-vulnerability.xml @@ -1,5 +1,5 @@ - + com.fasterxml.jackson.core diff --git a/testdata/valid-assembly.json b/testdata/valid-assembly.json index 6d8f822..aa26afe 100644 --- a/testdata/valid-assembly.json +++ b/testdata/valid-assembly.json @@ -1,6 +1,6 @@ { "bomFormat": "CycloneDX", - "specVersion": "1.4", + "specVersion": "1.5", "serialNumber": "urn:uuid:3e671687-395b-41f5-a30f-a58921a69b79", "version": 1, "components": [ diff --git a/testdata/valid-assembly.xml b/testdata/valid-assembly.xml index 7aa65a3..a8e34d8 100644 --- a/testdata/valid-assembly.xml +++ b/testdata/valid-assembly.xml @@ -1,5 +1,5 @@ - + acme-library-a diff --git a/testdata/valid-bom.json b/testdata/valid-bom.json index 3193136..c0f3b17 100644 --- a/testdata/valid-bom.json +++ b/testdata/valid-bom.json @@ -1,6 +1,6 @@ { "bomFormat": "CycloneDX", - "specVersion": "1.4", + "specVersion": "1.5", "serialNumber": "urn:uuid:3e671687-395b-41f5-a30f-a58921a69b79", "version": 1, "metadata": { diff --git a/testdata/valid-bom.xml b/testdata/valid-bom.xml index a675a96..913285e 100644 --- a/testdata/valid-bom.xml +++ b/testdata/valid-bom.xml @@ -1,5 +1,5 @@ - + 2020-04-07T07:01:00Z diff --git a/testdata/valid-component-hashes.json b/testdata/valid-component-hashes.json index af90bd1..bcba363 100644 --- a/testdata/valid-component-hashes.json +++ b/testdata/valid-component-hashes.json @@ -1,6 +1,6 @@ { "bomFormat": "CycloneDX", - "specVersion": "1.4", + "specVersion": "1.5", "serialNumber": "urn:uuid:3e671687-395b-41f5-a30f-a58921a69b79", "version": 1, "components": [ diff --git a/testdata/valid-component-hashes.xml b/testdata/valid-component-hashes.xml index 5def2eb..37d05b9 100644 --- a/testdata/valid-component-hashes.xml +++ b/testdata/valid-component-hashes.xml @@ -1,5 +1,5 @@ - + acme-example diff --git a/testdata/valid-component-ref.json b/testdata/valid-component-ref.json index f21c7fb..3799d49 100644 --- a/testdata/valid-component-ref.json +++ b/testdata/valid-component-ref.json @@ -1,6 +1,6 @@ { "bomFormat": "CycloneDX", - "specVersion": "1.4", + "specVersion": "1.5", "serialNumber": "urn:uuid:3e671687-395b-41f5-a30f-a58921a69b79", "version": 1, "components": [ diff --git a/testdata/valid-component-ref.xml b/testdata/valid-component-ref.xml index 9c66ef4..46448db 100644 --- a/testdata/valid-component-ref.xml +++ b/testdata/valid-component-ref.xml @@ -1,5 +1,5 @@ - + acme-library diff --git a/testdata/valid-component-swid-full.json b/testdata/valid-component-swid-full.json index fe6de23..59cb168 100644 --- a/testdata/valid-component-swid-full.json +++ b/testdata/valid-component-swid-full.json @@ -1,6 +1,6 @@ { "bomFormat": "CycloneDX", - "specVersion": "1.4", + "specVersion": "1.5", "serialNumber": "urn:uuid:3e671687-395b-41f5-a30f-a58921a69b79", "version": 1, "components": [ diff --git a/testdata/valid-component-swid-full.xml b/testdata/valid-component-swid-full.xml index e0d968d..bb1c81a 100644 --- a/testdata/valid-component-swid-full.xml +++ b/testdata/valid-component-swid-full.xml @@ -1,5 +1,5 @@ - + Acme Super Heros diff --git a/testdata/valid-component-swid.json b/testdata/valid-component-swid.json index fd037a2..f28e9de 100644 --- a/testdata/valid-component-swid.json +++ b/testdata/valid-component-swid.json @@ -1,6 +1,6 @@ { "bomFormat": "CycloneDX", - "specVersion": "1.4", + "specVersion": "1.5", "serialNumber": "urn:uuid:3e671687-395b-41f5-a30f-a58921a69b79", "version": 1, "components": [ diff --git a/testdata/valid-component-swid.xml b/testdata/valid-component-swid.xml index f651bab..9e4a0a1 100644 --- a/testdata/valid-component-swid.xml +++ b/testdata/valid-component-swid.xml @@ -1,5 +1,5 @@ - + Acme Super Heros diff --git a/testdata/valid-component-types.json b/testdata/valid-component-types.json index dfcc9bc..6359068 100644 --- a/testdata/valid-component-types.json +++ b/testdata/valid-component-types.json @@ -1,6 +1,6 @@ { "bomFormat": "CycloneDX", - "specVersion": "1.4", + "specVersion": "1.5", "serialNumber": "urn:uuid:3e671687-395b-41f5-a30f-a58921a69b79", "version": 1, "components": [ diff --git a/testdata/valid-component-types.xml b/testdata/valid-component-types.xml index 2c41ad6..128a159 100644 --- a/testdata/valid-component-types.xml +++ b/testdata/valid-component-types.xml @@ -1,5 +1,5 @@ - + application-a diff --git a/testdata/valid-compositions.json b/testdata/valid-compositions.json index 42aa73f..551834e 100644 --- a/testdata/valid-compositions.json +++ b/testdata/valid-compositions.json @@ -1,6 +1,6 @@ { "bomFormat": "CycloneDX", - "specVersion": "1.4", + "specVersion": "1.5", "serialNumber": "urn:uuid:3e671687-395b-41f5-a30f-a58921a69b79", "version": 1, "metadata": { diff --git a/testdata/valid-compositions.xml b/testdata/valid-compositions.xml index ae0b0ef..82c16c5 100644 --- a/testdata/valid-compositions.xml +++ b/testdata/valid-compositions.xml @@ -1,5 +1,5 @@ - + Acme Application diff --git a/testdata/valid-dependency.json b/testdata/valid-dependency.json index b15c6b9..fcaec59 100644 --- a/testdata/valid-dependency.json +++ b/testdata/valid-dependency.json @@ -1,6 +1,6 @@ { "bomFormat": "CycloneDX", - "specVersion": "1.4", + "specVersion": "1.5", "serialNumber": "urn:uuid:3e671687-395b-41f5-a30f-a58921a69b79", "version": 1, "components": [ diff --git a/testdata/valid-dependency.xml b/testdata/valid-dependency.xml index 7e4bc15..1f02a1e 100644 --- a/testdata/valid-dependency.xml +++ b/testdata/valid-dependency.xml @@ -1,5 +1,5 @@ - + acme-library-a diff --git a/testdata/valid-empty-components.json b/testdata/valid-empty-components.json index 0cc93e1..3c85b6a 100644 --- a/testdata/valid-empty-components.json +++ b/testdata/valid-empty-components.json @@ -1,6 +1,6 @@ { "bomFormat": "CycloneDX", - "specVersion": "1.4", + "specVersion": "1.5", "serialNumber": "urn:uuid:3e671687-395b-41f5-a30f-a58921a69b79", "version": 1, "components": [ diff --git a/testdata/valid-empty-components.xml b/testdata/valid-empty-components.xml index 5789e04..03cd10b 100644 --- a/testdata/valid-empty-components.xml +++ b/testdata/valid-empty-components.xml @@ -1,5 +1,5 @@ - + diff --git a/testdata/valid-evidence.json b/testdata/valid-evidence.json index a588fdd..8c44a9a 100644 --- a/testdata/valid-evidence.json +++ b/testdata/valid-evidence.json @@ -1,6 +1,6 @@ { "bomFormat": "CycloneDX", - "specVersion": "1.4", + "specVersion": "1.5", "serialNumber": "urn:uuid:3e671687-395b-41f5-a30f-a58921a69b79", "version": 1, "components": [ diff --git a/testdata/valid-evidence.xml b/testdata/valid-evidence.xml index 3e03c8c..e51286b 100644 --- a/testdata/valid-evidence.xml +++ b/testdata/valid-evidence.xml @@ -1,5 +1,5 @@ - + com.google.code.findbugs diff --git a/testdata/valid-external-reference.json b/testdata/valid-external-reference.json index 088172e..78a3eb6 100644 --- a/testdata/valid-external-reference.json +++ b/testdata/valid-external-reference.json @@ -1,6 +1,6 @@ { "bomFormat": "CycloneDX", - "specVersion": "1.4", + "specVersion": "1.5", "serialNumber": "urn:uuid:3e671687-395b-41f5-a30f-a58921a69b79", "version": 1, "components": [ diff --git a/testdata/valid-external-reference.xml b/testdata/valid-external-reference.xml index 7e9ec93..0599884 100644 --- a/testdata/valid-external-reference.xml +++ b/testdata/valid-external-reference.xml @@ -1,5 +1,5 @@ - + org.example diff --git a/testdata/valid-license-expression.json b/testdata/valid-license-expression.json index c101ebe..98b34e9 100644 --- a/testdata/valid-license-expression.json +++ b/testdata/valid-license-expression.json @@ -1,6 +1,6 @@ { "bomFormat": "CycloneDX", - "specVersion": "1.4", + "specVersion": "1.5", "serialNumber": "urn:uuid:3e671687-395b-41f5-a30f-a58921a69b79", "version": 1, "components": [ diff --git a/testdata/valid-license-expression.xml b/testdata/valid-license-expression.xml index 6e939d3..6b14620 100644 --- a/testdata/valid-license-expression.xml +++ b/testdata/valid-license-expression.xml @@ -1,5 +1,5 @@ - + Acme Inc diff --git a/testdata/valid-license-id.json b/testdata/valid-license-id.json index 1d09748..5f13e01 100644 --- a/testdata/valid-license-id.json +++ b/testdata/valid-license-id.json @@ -1,6 +1,6 @@ { "bomFormat": "CycloneDX", - "specVersion": "1.4", + "specVersion": "1.5", "serialNumber": "urn:uuid:3e671687-395b-41f5-a30f-a58921a69b79", "version": 1, "components": [ diff --git a/testdata/valid-license-id.xml b/testdata/valid-license-id.xml index e0b514f..242a0a9 100644 --- a/testdata/valid-license-id.xml +++ b/testdata/valid-license-id.xml @@ -1,5 +1,5 @@ - + Acme Inc diff --git a/testdata/valid-license-name.json b/testdata/valid-license-name.json index 03c884c..b856f70 100644 --- a/testdata/valid-license-name.json +++ b/testdata/valid-license-name.json @@ -1,6 +1,6 @@ { "bomFormat": "CycloneDX", - "specVersion": "1.4", + "specVersion": "1.5", "serialNumber": "urn:uuid:3e671687-395b-41f5-a30f-a58921a69b79", "version": 1, "components": [ diff --git a/testdata/valid-license-name.xml b/testdata/valid-license-name.xml index 7feade6..fee242f 100644 --- a/testdata/valid-license-name.xml +++ b/testdata/valid-license-name.xml @@ -1,5 +1,5 @@ - + Acme Inc diff --git a/testdata/valid-metadata-author.json b/testdata/valid-metadata-author.json index febeed4..c5471c2 100644 --- a/testdata/valid-metadata-author.json +++ b/testdata/valid-metadata-author.json @@ -1,6 +1,6 @@ { "bomFormat": "CycloneDX", - "specVersion": "1.4", + "specVersion": "1.5", "serialNumber": "urn:uuid:3e671687-395b-41f5-a30f-a58921a69b79", "version": 1, "metadata": { diff --git a/testdata/valid-metadata-author.xml b/testdata/valid-metadata-author.xml index 807fc5c..3085a30 100644 --- a/testdata/valid-metadata-author.xml +++ b/testdata/valid-metadata-author.xml @@ -1,5 +1,5 @@ - + diff --git a/testdata/valid-metadata-license.json b/testdata/valid-metadata-license.json index 10e75af..5016d6a 100644 --- a/testdata/valid-metadata-license.json +++ b/testdata/valid-metadata-license.json @@ -1,6 +1,6 @@ { "bomFormat": "CycloneDX", - "specVersion": "1.4", + "specVersion": "1.5", "serialNumber": "urn:uuid:3e671687-395b-41f5-a30f-a58921a69b79", "version": 1, "metadata": { diff --git a/testdata/valid-metadata-license.xml b/testdata/valid-metadata-license.xml index 295389f..60212fa 100644 --- a/testdata/valid-metadata-license.xml +++ b/testdata/valid-metadata-license.xml @@ -1,5 +1,5 @@ - + diff --git a/testdata/valid-metadata-manufacture.json b/testdata/valid-metadata-manufacture.json index 68705c4..6323f00 100644 --- a/testdata/valid-metadata-manufacture.json +++ b/testdata/valid-metadata-manufacture.json @@ -1,6 +1,6 @@ { "bomFormat": "CycloneDX", - "specVersion": "1.4", + "specVersion": "1.5", "serialNumber": "urn:uuid:3e671687-395b-41f5-a30f-a58921a69b79", "version": 1, "metadata": { diff --git a/testdata/valid-metadata-manufacture.xml b/testdata/valid-metadata-manufacture.xml index 36b70a5..7949391 100644 --- a/testdata/valid-metadata-manufacture.xml +++ b/testdata/valid-metadata-manufacture.xml @@ -1,5 +1,5 @@ - + Acme, Inc. diff --git a/testdata/valid-metadata-supplier.json b/testdata/valid-metadata-supplier.json index 33b1af2..e445641 100644 --- a/testdata/valid-metadata-supplier.json +++ b/testdata/valid-metadata-supplier.json @@ -1,6 +1,6 @@ { "bomFormat": "CycloneDX", - "specVersion": "1.4", + "specVersion": "1.5", "serialNumber": "urn:uuid:3e671687-395b-41f5-a30f-a58921a69b79", "version": 1, "metadata": { diff --git a/testdata/valid-metadata-supplier.xml b/testdata/valid-metadata-supplier.xml index 37a222d..2ed3c91 100644 --- a/testdata/valid-metadata-supplier.xml +++ b/testdata/valid-metadata-supplier.xml @@ -1,5 +1,5 @@ - + Acme, Inc. diff --git a/testdata/valid-metadata-timestamp.json b/testdata/valid-metadata-timestamp.json index 26ab14a..1d54539 100644 --- a/testdata/valid-metadata-timestamp.json +++ b/testdata/valid-metadata-timestamp.json @@ -1,6 +1,6 @@ { "bomFormat": "CycloneDX", - "specVersion": "1.4", + "specVersion": "1.5", "serialNumber": "urn:uuid:3e671687-395b-41f5-a30f-a58921a69b79", "version": 1, "metadata": { diff --git a/testdata/valid-metadata-timestamp.xml b/testdata/valid-metadata-timestamp.xml index 06adc1b..fb1e823 100644 --- a/testdata/valid-metadata-timestamp.xml +++ b/testdata/valid-metadata-timestamp.xml @@ -1,5 +1,5 @@ - + 2020-04-07T07:01:00Z diff --git a/testdata/valid-metadata-tool.json b/testdata/valid-metadata-tool.json index 19175ee..81e908a 100644 --- a/testdata/valid-metadata-tool.json +++ b/testdata/valid-metadata-tool.json @@ -1,6 +1,6 @@ { "bomFormat": "CycloneDX", - "specVersion": "1.4", + "specVersion": "1.5", "serialNumber": "urn:uuid:3e671687-395b-41f5-a30f-a58921a69b79", "version": 1, "metadata": { diff --git a/testdata/valid-metadata-tool.xml b/testdata/valid-metadata-tool.xml index ead4ea0..caf273f 100644 --- a/testdata/valid-metadata-tool.xml +++ b/testdata/valid-metadata-tool.xml @@ -1,5 +1,5 @@ - + diff --git a/testdata/valid-minimal-viable.json b/testdata/valid-minimal-viable.json index c1029f0..5000812 100644 --- a/testdata/valid-minimal-viable.json +++ b/testdata/valid-minimal-viable.json @@ -1,6 +1,6 @@ { "bomFormat": "CycloneDX", - "specVersion": "1.4", + "specVersion": "1.5", "serialNumber": "urn:uuid:3e671687-395b-41f5-a30f-a58921a69b79", "version": 1, "components": [ diff --git a/testdata/valid-minimal-viable.xml b/testdata/valid-minimal-viable.xml index 92ac5cc..f792405 100644 --- a/testdata/valid-minimal-viable.xml +++ b/testdata/valid-minimal-viable.xml @@ -1,5 +1,5 @@ - + acme-library diff --git a/testdata/valid-patch.json b/testdata/valid-patch.json index 66db19a..6639bea 100644 --- a/testdata/valid-patch.json +++ b/testdata/valid-patch.json @@ -1,6 +1,6 @@ { "bomFormat": "CycloneDX", - "specVersion": "1.4", + "specVersion": "1.5", "serialNumber": "urn:uuid:3e671687-395b-41f5-a30f-a58921a69b79", "version": 1, "components": [ diff --git a/testdata/valid-patch.xml b/testdata/valid-patch.xml index 7c0a3d7..409798f 100644 --- a/testdata/valid-patch.xml +++ b/testdata/valid-patch.xml @@ -1,5 +1,5 @@ - + com.acme diff --git a/testdata/valid-properties.json b/testdata/valid-properties.json index bdf67f7..3a33ccf 100644 --- a/testdata/valid-properties.json +++ b/testdata/valid-properties.json @@ -1,6 +1,6 @@ { "bomFormat": "CycloneDX", - "specVersion": "1.4", + "specVersion": "1.5", "serialNumber": "urn:uuid:3e671687-395b-41f5-a30f-a58921a69b79", "version": 1, "metadata": { diff --git a/testdata/valid-properties.xml b/testdata/valid-properties.xml index 38d41fa..85abf9e 100644 --- a/testdata/valid-properties.xml +++ b/testdata/valid-properties.xml @@ -1,5 +1,5 @@ - + Bar diff --git a/testdata/valid-release-notes.json b/testdata/valid-release-notes.json index adb8121..8c4268e 100644 --- a/testdata/valid-release-notes.json +++ b/testdata/valid-release-notes.json @@ -1,6 +1,6 @@ { "bomFormat": "CycloneDX", - "specVersion": "1.4", + "specVersion": "1.5", "serialNumber": "urn:uuid:3e671687-395b-41f5-a30f-a58921a69b79", "version": 1, "components": [ diff --git a/testdata/valid-release-notes.xml b/testdata/valid-release-notes.xml index 7102926..490969e 100644 --- a/testdata/valid-release-notes.xml +++ b/testdata/valid-release-notes.xml @@ -1,5 +1,5 @@ - + acme-example diff --git a/testdata/valid-service-empty-objects.json b/testdata/valid-service-empty-objects.json index c54c1ef..14b70f4 100644 --- a/testdata/valid-service-empty-objects.json +++ b/testdata/valid-service-empty-objects.json @@ -1,6 +1,6 @@ { "bomFormat": "CycloneDX", - "specVersion": "1.4", + "specVersion": "1.5", "serialNumber": "urn:uuid:3e671687-395b-41f5-a30f-a58921a69b79", "version": 1, "services": [ diff --git a/testdata/valid-service-empty-objects.xml b/testdata/valid-service-empty-objects.xml index 4c97cfa..59f6f5f 100644 --- a/testdata/valid-service-empty-objects.xml +++ b/testdata/valid-service-empty-objects.xml @@ -1,5 +1,5 @@ - + diff --git a/testdata/valid-service.json b/testdata/valid-service.json index c3a656e..091fab1 100644 --- a/testdata/valid-service.json +++ b/testdata/valid-service.json @@ -1,6 +1,6 @@ { "bomFormat": "CycloneDX", - "specVersion": "1.4", + "specVersion": "1.5", "serialNumber": "urn:uuid:3e671687-395b-41f5-a30f-a58921a69b79", "version": 1, "components": [ diff --git a/testdata/valid-service.xml b/testdata/valid-service.xml index c315ec0..03bc664 100644 --- a/testdata/valid-service.xml +++ b/testdata/valid-service.xml @@ -1,5 +1,5 @@ - + com.acme diff --git a/testdata/valid-vulnerability.json b/testdata/valid-vulnerability.json index 701152f..547e4d0 100644 --- a/testdata/valid-vulnerability.json +++ b/testdata/valid-vulnerability.json @@ -1,6 +1,6 @@ { "bomFormat": "CycloneDX", - "specVersion": "1.4", + "specVersion": "1.5", "serialNumber": "urn:uuid:3e671687-395b-41f5-a30f-a58921a69b79", "version": 1, "components": [ diff --git a/testdata/valid-vulnerability.xml b/testdata/valid-vulnerability.xml index d9890d5..11ce93b 100644 --- a/testdata/valid-vulnerability.xml +++ b/testdata/valid-vulnerability.xml @@ -1,5 +1,5 @@ - + com.fasterxml.jackson.core