Skip to content

Commit

Permalink
Merge pull request #160 from okta/semgrep
Browse files Browse the repository at this point in the history
Add semgrep
  • Loading branch information
rajdeepnanua-okta authored Aug 17, 2023
2 parents 54b40d5 + 6d1c4cf commit c435fc0
Show file tree
Hide file tree
Showing 2 changed files with 19 additions and 0 deletions.
9 changes: 9 additions & 0 deletions .bacon.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
test_suites:
- name: sast_scan
script_path: /root/okta/okta-auth-swift/scripts
script_name: sast_scan
sort_order: '1'
timeout: '200'
criteria: MERGE
queue_name: small
trigger: AUTO
10 changes: 10 additions & 0 deletions scripts/sast_scan.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
#!/bin/bash

cd ${OKTA_HOME}/${REPO}

if ! sast_scan;
then
exit ${FAILURE}
fi

exit ${SUCCESS}

0 comments on commit c435fc0

Please sign in to comment.