-
Notifications
You must be signed in to change notification settings - Fork 63
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
chore: enables scan tooling in CI (#158)
OKTA-636330 chore: enables scan tooling
- Loading branch information
1 parent
1649a9e
commit 6718b77
Showing
3 changed files
with
37 additions
and
1 deletion.
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
#!/bin/bash | ||
|
||
set -eo pipefail | ||
|
||
cd ${OKTA_HOME}/${REPO} | ||
|
||
if ! sast_scan; | ||
then | ||
exit ${FAILURE} | ||
fi | ||
|
||
exit ${SUCCESS} |
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,9 @@ | ||
#!/bin/bash -x | ||
|
||
source ${OKTA_HOME}/${REPO}/scripts/setup.sh | ||
|
||
cd ${OKTA_HOME}/${REPO} | ||
|
||
create_log_group "Synk Scan" | ||
dependency_scan | ||
finish_log_group $? |