Skip to content

Commit

Permalink
fix(sast): Adding exit code in sast integration test (#5690)
Browse files Browse the repository at this point in the history
* .

* .

* .

---------

Co-authored-by: pazbechor <[email protected]>
  • Loading branch information
pazbechor and pazbechor authored Oct 26, 2023
1 parent b8ea491 commit 32e31d2
Showing 1 changed file with 3 additions and 4 deletions.
7 changes: 3 additions & 4 deletions sast_integration_tests/run_integration_tests.sh
Original file line number Diff line number Diff line change
Expand Up @@ -18,10 +18,9 @@ set_env_vars() {
}

prepare_data () {
python checkov/main.py -s --framework sast_python -d repositories/flask -o json > checkov_report_sast_python.json
python checkov/main.py -s --framework sast_java -d repositories/WebGoat -o json > checkov_report_sast_java.json
python checkov/main.py -s --framework sast_javascript -d repositories/axios -o json > checkov_report_sast_javascript.json

python checkov/main.py -s --framework sast_python -d repositories/flask --repo-id cli/flask -o json > checkov_report_sast_python.json
python checkov/main.py -s --framework sast_java -d repositories/WebGoat --repo-id cli/WebGoat -o json > checkov_report_sast_java.json
python checkov/main.py -s --framework sast_javascript -d repositories/axios --repo-id cli/axios -o json > checkov_report_sast_javascript.json
}

clone_repositories () {
Expand Down

0 comments on commit 32e31d2

Please sign in to comment.