Skip to content

Commit

Permalink
PA-12292 bump syft to v0.100.0 (requires BE schema support) (#19)
Browse files Browse the repository at this point in the history
  • Loading branch information
SOOS-GSteen committed Jan 17, 2024
1 parent 524af04 commit 42d9909
Show file tree
Hide file tree
Showing 4 changed files with 15 additions and 13 deletions.
2 changes: 1 addition & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
FROM node:18-slim as BASE

ARG SYFT_VERSION=v0.93.0
ARG SYFT_VERSION=v0.100.0

RUN apt-get update && apt-get install -y wget && \
wget -qO- https://raw.githubusercontent.com/anchore/syft/main/install.sh | sh -s -- -b /usr/local/bin ${SYFT_VERSION} && \
Expand Down
18 changes: 10 additions & 8 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

6 changes: 3 additions & 3 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
"author": "SOOS",
"publisher": "SOOS",
"license": "MIT",
"version": "1.0.16",
"version": "1.1.0",
"main": "dist/index.js",
"scripts": {
"setup:install": "npm install",
Expand Down Expand Up @@ -36,8 +36,8 @@
},
"devDependencies": {
"@types/argparse": "^2.0.14",
"@types/node": "^20.10.5",
"prettier": "^3.1.1",
"@types/node": "^20.11.5",
"prettier": "^3.2.4",
"typescript": "^5.3.3"
}
}
2 changes: 1 addition & 1 deletion src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -201,7 +201,7 @@ class SOOSCSAAnalysis {
return new Promise((resolve, reject) => {
const args = [
this.args.targetToScan,
`-o json=${SOOS_CSA_CONSTANTS.ResultsFilePath}`,
`-o syft-json=${SOOS_CSA_CONSTANTS.ResultsFilePath}`,
this.args.otherOptions,
];
soosLogger.info(`Running syft with args: ${args}`);
Expand Down

0 comments on commit 42d9909

Please sign in to comment.