Skip to content

Commit

Permalink
Add semgrep
Browse files Browse the repository at this point in the history
  • Loading branch information
rajdeepnanua-okta committed Aug 16, 2023
1 parent 54b40d5 commit 6d1c4cf
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 6d1c4cf

Please sign in to comment.