From c2c2effe068788b45896205a4850388b404aa7e9 Mon Sep 17 00:00:00 2001 From: Will Murphy Date: Mon, 8 Jul 2024 10:12:01 -0400 Subject: [PATCH] chore: bump cdx version to 1.6 Update snapshots to reflect that Syft now outputs CycloneDX 1.6. Signed-off-by: Will Murphy --- .../__snapshots__/formatExports.test.ts.snap | 24 +++++++++---------- 1 file changed, 12 insertions(+), 12 deletions(-) diff --git a/tests/integration/__snapshots__/formatExports.test.ts.snap b/tests/integration/__snapshots__/formatExports.test.ts.snap index 8e343542..2d86f47b 100644 --- a/tests/integration/__snapshots__/formatExports.test.ts.snap +++ b/tests/integration/__snapshots__/formatExports.test.ts.snap @@ -2,9 +2,9 @@ exports[`CycloneDX JSON alpine 1`] = ` "{ - "$schema": "http://cyclonedx.org/schema/bom-1.5.schema.json", + "$schema": "http://cyclonedx.org/schema/bom-1.6.schema.json", "bomFormat": "CycloneDX", - "specVersion": "1.5", + "specVersion": "1.6", "serialNumber": "redacted", "version": 1, "metadata": { @@ -167,9 +167,9 @@ exports[`CycloneDX JSON alpine 1`] = ` exports[`CycloneDX JSON debian 1`] = ` "{ - "$schema": "http://cyclonedx.org/schema/bom-1.5.schema.json", + "$schema": "http://cyclonedx.org/schema/bom-1.6.schema.json", "bomFormat": "CycloneDX", - "specVersion": "1.5", + "specVersion": "1.6", "serialNumber": "redacted", "version": 1, "metadata": { @@ -855,9 +855,9 @@ exports[`CycloneDX JSON debian 1`] = ` exports[`CycloneDX JSON npm 1`] = ` "{ - "$schema": "http://cyclonedx.org/schema/bom-1.5.schema.json", + "$schema": "http://cyclonedx.org/schema/bom-1.6.schema.json", "bomFormat": "CycloneDX", - "specVersion": "1.5", + "specVersion": "1.6", "serialNumber": "redacted", "version": 1, "metadata": { @@ -1396,9 +1396,9 @@ exports[`CycloneDX JSON npm 1`] = ` exports[`CycloneDX JSON yarn 1`] = ` "{ - "$schema": "http://cyclonedx.org/schema/bom-1.5.schema.json", + "$schema": "http://cyclonedx.org/schema/bom-1.6.schema.json", "bomFormat": "CycloneDX", - "specVersion": "1.5", + "specVersion": "1.6", "serialNumber": "redacted", "version": 1, "metadata": { @@ -1737,7 +1737,7 @@ exports[`CycloneDX JSON yarn 1`] = ` exports[`CycloneDX XML alpine 1`] = ` " - + @@ -1819,7 +1819,7 @@ exports[`CycloneDX XML alpine 1`] = ` exports[`CycloneDX XML debian 1`] = ` " - + @@ -2090,7 +2090,7 @@ exports[`CycloneDX XML debian 1`] = ` exports[`CycloneDX XML npm 1`] = ` " - + @@ -2313,7 +2313,7 @@ exports[`CycloneDX XML npm 1`] = ` exports[`CycloneDX XML yarn 1`] = ` " - +