From 714f16be6ae7e777c5674b1bca662f5343a076bc Mon Sep 17 00:00:00 2001 From: dwhitestratiform <52459927+dwhitestratiform@users.noreply.github.com> Date: Thu, 8 Aug 2024 13:35:31 -0400 Subject: [PATCH] Adding Snyk CLI to standard tooling installation (#15) --- mdct-setup.sh | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/mdct-setup.sh b/mdct-setup.sh index c81ea72..c62e5af 100755 --- a/mdct-setup.sh +++ b/mdct-setup.sh @@ -1,7 +1,7 @@ set -e # Script version -SCRIPT_VERSION="1.0.3" +SCRIPT_VERSION="1.0.4" # Define the clone directory and version file clone_dir="$HOME/Projects" @@ -290,6 +290,12 @@ if ! which op > /dev/null ; then brew install 1password-cli fi +# Install snyk cli +if ! which snyk > /dev/null ; then + echo "brew installing Snyk CLI" + brew install snyk-cli +fi + # Install Kion except on CI. if [ "$CI" != "true" ]; then # Install Kion