diff --git a/src/github/SyftGithubAction.ts b/src/github/SyftGithubAction.ts index 67fa70d1..786a050d 100644 --- a/src/github/SyftGithubAction.ts +++ b/src/github/SyftGithubAction.ts @@ -126,7 +126,7 @@ async function executeSyft({ throw new Error("Invalid input, no image or path specified"); } - args = [...args, "-o", format]; + args = [...args, "-o", format, "-o", "table"]; if (opts.uploadToDependencySnapshotAPI) { // generate github dependency format diff --git a/tests/integration/__snapshots__/spdx.test.ts.snap b/tests/integration/__snapshots__/spdx.test.ts.snap index 708dfdec..8bb3ac70 100644 --- a/tests/integration/__snapshots__/spdx.test.ts.snap +++ b/tests/integration/__snapshots__/spdx.test.ts.snap @@ -414,6 +414,20 @@ ExternalRef: SECURITY cpe23Type cpe:2.3:a:yallist:yallist:4.0.0:*:*:*:*:*:*:* ExternalRef: SECURITY cpe23Type cpe:2.3:a:*:yallist:4.0.0:*:*:*:*:*:*:* ExternalRef: PACKAGE_MANAGER purl pkg:npm/yallist@4.0.0 +NAME VERSION TYPE +chownr 2.0.0 npm +fs-minipass 2.1.0 npm +js-tokens 4.0.0 npm +loose-envify 1.4.0 npm +minipass 3.1.3 npm +minizlib 2.1.2 npm +mkdirp 1.0.4 npm +object-assign 4.1.1 npm +prop-types 15.7.2 npm +react 16.14.0 npm +react-is 16.13.1 npm +tar 6.1.0 npm +yallist 4.0.0 npm " `; @@ -556,5 +570,12 @@ ExternalRef: SECURITY cpe23Type cpe:2.3:a:trim:trim:0.0.2:*:*:*:*:*:*:* ExternalRef: SECURITY cpe23Type cpe:2.3:a:*:trim:0.0.2:*:*:*:*:*:*:* ExternalRef: PACKAGE_MANAGER purl pkg:npm/trim@0.0.2 +NAME VERSION TYPE +loose-envify 1.4.0 npm +object-assign 4.1.1 npm +prop-types 15.7.2 npm +react 16.14.0 npm +react-is 16.13.1 npm +trim 0.0.2 npm " `;