-
Notifications
You must be signed in to change notification settings - Fork 1.1k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Update CodeQL scan scripts, and add Contrast CodeSec and Snyk SAST sc…
…ripts.
- Loading branch information
1 parent
90092cc
commit 74a165b
Showing
5 changed files
with
15 additions
and
3 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
# Note: you have to do 'contrast auth' first, and successfully authenticate before you can run this. | ||
benchmark_version=$(scripts/getBenchmarkVersion.sh) | ||
|
||
contrast scan -f target/benchmark.war --save | ||
mv results.sarif results/Benchmark_$benchmark_version-ContrastCodeSec.sarif | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
# Install Snyk per: https://docs.snyk.io/snyk-cli/install-or-update-the-snyk-cli | ||
benchmark_version=$(scripts/getBenchmarkVersion.sh) | ||
snyk code test --json-file-output=results/Benchmark_$benchmark_version-snykCodeCli.json | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters