SDA-2451: run snyk monitor on build scripts (#1109)

This commit is contained in:
Vishwas Shashidhar
2020-11-10 15:11:39 +05:30
committed by GitHub
parent 8ea3d6ae74
commit 3700c8b9ee
4 changed files with 12 additions and 4 deletions
+3 -1
View File
@@ -2,6 +2,7 @@
NODE_REQUIRED_VERSION=v12.13.1
SNYK_ORG=sda
SNYK_PROJECT_NAME="Symphony Desktop Application"
# Check basic dependencies
if ! [ -x "$(command -v git)" ]; then
@@ -85,7 +86,8 @@ codesign --force --options runtime -s "Developer ID Application: Symphony Commun
# Run Snyk Security Tests
echo "Running snyk security tests"
snyk test --file=package.json --org="$SNYK_ORG"
snyk test --file=package-lock.json --org="$SNYK_ORG"
snyk monitor --file=package-lock.json --org="$SNYK_ORG" --project-name="$SNYK_PROJECT_NAME"
# Replace url in config
echo "Setting default pod url to https://my.symphony.com"