From 719133684c7d294116626d1344fe64f0d2ff3e9e Mon Sep 17 00:00:00 2001 From: "anchore-actions-token-generator[bot]" <102182147+anchore-actions-token-generator[bot]@users.noreply.github.com> Date: Fri, 22 Dec 2023 09:45:39 -0500 Subject: [PATCH] chore(deps): update Syft to v0.99.0 (#432) * chore(deps): update Syft to v0.99.0 Signed-off-by: GitHub * chore(test): update snapshots Signed-off-by: anchore-actions --------- Signed-off-by: GitHub Signed-off-by: anchore-actions Co-authored-by: willmurphyscode Co-authored-by: anchore-actions --- dist/attachReleaseAssets/index.js | 2 +- dist/downloadSyft/index.js | 2 +- dist/runSyftAction/index.js | 2 +- src/SyftVersion.ts | 2 +- .../__snapshots__/formatExports.test.ts.snap | 116 ++++++++++-------- 5 files changed, 72 insertions(+), 52 deletions(-) diff --git a/dist/attachReleaseAssets/index.js b/dist/attachReleaseAssets/index.js index 76f1830b..a6914e2b 100644 --- a/dist/attachReleaseAssets/index.js +++ b/dist/attachReleaseAssets/index.js @@ -23385,7 +23385,7 @@ function wrappy (fn, cb) { Object.defineProperty(exports, "__esModule", ({ value: true })); exports.VERSION = void 0; -exports.VERSION = "v0.98.0"; +exports.VERSION = "v0.99.0"; /***/ }), diff --git a/dist/downloadSyft/index.js b/dist/downloadSyft/index.js index ca8b8e8e..8454c38d 100644 --- a/dist/downloadSyft/index.js +++ b/dist/downloadSyft/index.js @@ -23385,7 +23385,7 @@ function wrappy (fn, cb) { Object.defineProperty(exports, "__esModule", ({ value: true })); exports.VERSION = void 0; -exports.VERSION = "v0.98.0"; +exports.VERSION = "v0.99.0"; /***/ }), diff --git a/dist/runSyftAction/index.js b/dist/runSyftAction/index.js index c132d332..162c961d 100644 --- a/dist/runSyftAction/index.js +++ b/dist/runSyftAction/index.js @@ -23385,7 +23385,7 @@ function wrappy (fn, cb) { Object.defineProperty(exports, "__esModule", ({ value: true })); exports.VERSION = void 0; -exports.VERSION = "v0.98.0"; +exports.VERSION = "v0.99.0"; /***/ }), diff --git a/src/SyftVersion.ts b/src/SyftVersion.ts index 708507ac..d931843f 100644 --- a/src/SyftVersion.ts +++ b/src/SyftVersion.ts @@ -1 +1 @@ -export const VERSION = "v0.98.0"; +export const VERSION = "v0.99.0"; diff --git a/tests/integration/__snapshots__/formatExports.test.ts.snap b/tests/integration/__snapshots__/formatExports.test.ts.snap index 4e06fef3..bf809b41 100644 --- a/tests/integration/__snapshots__/formatExports.test.ts.snap +++ b/tests/integration/__snapshots__/formatExports.test.ts.snap @@ -9,13 +9,16 @@ exports[`CycloneDX JSON alpine 1`] = ` "version": 1, "metadata": { "timestamp": "redacted", - "tools": [ - { - "vendor": "anchore", - "name": "syft", - "version": "redacted" - } - ], + "tools": { + "components": [ + { + "type": "application", + "author": "anchore", + "name": "syft", + "version": "redacted" + } + ] + }, "component": { "bom-ref": "redacted", "type": "container", @@ -170,13 +173,16 @@ exports[`CycloneDX JSON debian 1`] = ` "version": 1, "metadata": { "timestamp": "redacted", - "tools": [ - { - "vendor": "anchore", - "name": "syft", - "version": "redacted" - } - ], + "tools": { + "components": [ + { + "type": "application", + "author": "anchore", + "name": "syft", + "version": "redacted" + } + ] + }, "component": { "bom-ref": "redacted", "type": "container", @@ -854,13 +860,16 @@ exports[`CycloneDX JSON npm 1`] = ` "version": 1, "metadata": { "timestamp": "redacted", - "tools": [ - { - "vendor": "anchore", - "name": "syft", - "version": "redacted" - } - ], + "tools": { + "components": [ + { + "type": "application", + "author": "anchore", + "name": "syft", + "version": "redacted" + } + ] + }, "component": { "bom-ref": "redacted", "type": "file", @@ -1392,13 +1401,16 @@ exports[`CycloneDX JSON yarn 1`] = ` "version": 1, "metadata": { "timestamp": "redacted", - "tools": [ - { - "vendor": "anchore", - "name": "syft", - "version": "redacted" - } - ], + "tools": { + "components": [ + { + "type": "application", + "author": "anchore", + "name": "syft", + "version": "redacted" + } + ] + }, "component": { "bom-ref": "redacted", "type": "file", @@ -1699,11 +1711,13 @@ exports[`CycloneDX XML alpine 1`] = ` - - anchore - syft - - + + + anchore + syft + + + localhost:5000/match-coverage/alpine @@ -1779,11 +1793,13 @@ exports[`CycloneDX XML debian 1`] = ` - - anchore - syft - - + + + anchore + syft + + + localhost:5000/match-coverage/debian @@ -2048,11 +2064,13 @@ exports[`CycloneDX XML npm 1`] = ` - - anchore - syft - - + + + anchore + syft + + + tests/fixtures/npm-project @@ -2269,11 +2287,13 @@ exports[`CycloneDX XML yarn 1`] = ` - - anchore - syft - - + + + anchore + syft + + + tests/fixtures/yarn-project