Skip to content

Commit

Permalink
change snyk scan
Browse files Browse the repository at this point in the history
  • Loading branch information
David Sanchez committed Jun 10, 2024
1 parent 4bd425d commit 4dc3f0f
Showing 1 changed file with 8 additions and 6 deletions.
14 changes: 8 additions & 6 deletions .github/workflows/snyk.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,14 +11,16 @@ jobs:
continue-on-error: true
- name: Run Snyk to check configuration files for security issues
continue-on-error: true
run: |
snyk iac test --sarif-file-output=snyk.sarif
echo "Snyk command completed"
echo "Listing current directory contents:"
ls -alh
# run: |
# snyk iac test --sarif-file-output=snyk.sarif
# echo "Snyk command completed"
# echo "Listing current directory contents:"
# ls -alh
uses: snyk/actions/iac@master
env:
SNYK_TOKEN: ${{ secrets.SNYK_TOKEN }}

with:
args: --sarif-file-output=snyk.sarif

- name: Upload result to GitHub Code Scanning
uses: github/codeql-action/upload-sarif@v2
Expand Down

0 comments on commit 4dc3f0f

Please sign in to comment.