File tree Expand file tree Collapse file tree 3 files changed +3
-3
lines changed Expand file tree Collapse file tree 3 files changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -210,7 +210,7 @@ export class ActionInputs {
210
210
}
211
211
212
212
if ( this . params . mode == ScanMode . vm ) {
213
- flags += ` --json-scan-result =${ cliScannerResult } `
213
+ flags += ` --output= json-file =${ cliScannerResult } `
214
214
flags += ` ${ this . params . imageTag } ` ;
215
215
}
216
216
Original file line number Diff line number Diff line change @@ -4,7 +4,7 @@ import os from 'os';
4
4
import process from 'process' ;
5
5
const performance = require ( 'perf_hooks' ) . performance ;
6
6
7
- const cliScannerVersion = "1.18.0 "
7
+ const cliScannerVersion = "1.22.1 "
8
8
const cliScannerOS = getRunOS ( )
9
9
const cliScannerArch = getRunArch ( )
10
10
const cliScannerURLBase = "https://download.sysdig.com/scanning/bin/sysdig-cli-scanner" ;
Original file line number Diff line number Diff line change @@ -462,7 +462,7 @@ describe("run the full action", () => {
462
462
463
463
await index . run ( ) ;
464
464
expect ( mockExec ) . toHaveBeenCalledTimes ( 4 ) ;
465
- expect ( mockExec . mock . calls [ 2 ] [ 0 ] ) . toMatch ( `${ index . cliScannerName } --apiurl https://secure.sysdig.com/ --override-pullstring=my-custom-image:latest --json-scan-result =scan-result.json image:tag` ) ;
465
+ expect ( mockExec . mock . calls [ 2 ] [ 0 ] ) . toMatch ( `${ index . cliScannerName } --apiurl https://secure.sysdig.com/ --override-pullstring=my-custom-image:latest --output= json-file =scan-result.json image:tag` ) ;
466
466
} ) ;
467
467
} ) ;
468
468
You can’t perform that action at this time.
0 commit comments