Skip to content

Commit

Permalink
Merge pull request #2 from boosef-snyk/boosef-snyk-patch-1
Browse files Browse the repository at this point in the history
Update snyk-scans-cli.yml
  • Loading branch information
boosef-snyk authored Aug 26, 2024
2 parents 2b989dd + 0aae6ae commit d6f2622
Showing 1 changed file with 11 additions and 5 deletions.
16 changes: 11 additions & 5 deletions .github/workflows/snyk-scans-cli.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
name: Snyk Full Platform
name: Snyk Full Platform (CLI)

on:
push:
Expand All @@ -20,6 +20,7 @@ jobs:
mv ./snyk /usr/local/bin/
- name: Authenticate and run Snyk Open Source Scan + Monitor
run: |
npm install
snyk auth ${{ secrets.SNYK_TOKEN }}
snyk test
snyk monitor
Expand Down Expand Up @@ -54,16 +55,21 @@ jobs:
- name: Scan and Monitor Docker Vulnerabilities
run: |
snyk auth ${{ secrets.SNYK_TOKEN }}
snyk container test juice-shop --file=Dockerfile
snyk container monitor juice-shop --file=Dockerfile
snyk container test boosef-juiceshop:latest --file=Dockerfile
snyk container monitor boosef-juiceshop:latest --file=Dockerfile
snyk-iac:
environment: snyk
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@master
- name: Run and monitor Snyk to check configuration files for security issues
run: |
- name: Install Snyk CLI
run: |
wget -O snyk https://static.snyk.io/cli/latest/snyk-linux
chmod +x ./snyk
mv ./snyk /usr/local/bin/
- name: Run and monitor Snyk to check configuration files for security issues
run: |
snyk auth ${{ secrets.SNYK_TOKEN }}
snyk iac test --report

0 comments on commit d6f2622

Please sign in to comment.