Skip to content

Commit

Permalink
PA-12554 Package Update (#20)
Browse files Browse the repository at this point in the history
* PA-12554 Package Update

* c

* stable
  • Loading branch information
SOOS-JAlvarez committed Jan 23, 2024
1 parent 378ed7c commit 375fc49
Show file tree
Hide file tree
Showing 3 changed files with 12 additions and 11 deletions.
12 changes: 6 additions & 6 deletions package-lock.json

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

4 changes: 2 additions & 2 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.1.1",
"version": "1.1.2",
"main": "dist/index.js",
"scripts": {
"setup:install": "npm install",
Expand All @@ -30,7 +30,7 @@
},
"homepage": "https://github.com/soos-io/soos-csa#readme",
"dependencies": {
"@soos-io/api-client": "0.2.29",
"@soos-io/api-client": "0.2.35",
"argparse": "^2.0.1",
"glob": "^10.3.10",
"tslib": "^2.6.2"
Expand Down
7 changes: 4 additions & 3 deletions src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -32,14 +32,15 @@ interface SOOSCSAAnalysisArgs extends IBaseScanArguments {
class SOOSCSAAnalysis {
constructor(private args: SOOSCSAAnalysisArgs) {}
static parseArgs(): SOOSCSAAnalysisArgs {
const analysisArgumentParser = AnalysisArgumentParser.create(ScanType.CSA);

analysisArgumentParser.addBaseScanArguments(
const analysisArgumentParser = AnalysisArgumentParser.create(
IntegrationName.SoosCsa,
IntegrationType.Script,
ScanType.CSA,
version,
);

analysisArgumentParser.addBaseScanArguments();

analysisArgumentParser.argumentParser.add_argument("--outputFormat", {
help: "Output format for vulnerabilities: only the value SARIF is available at the moment",
required: false,
Expand Down

0 comments on commit 375fc49

Please sign in to comment.