Difference between revisions of "Snyk"

From wikieduonline
Jump to navigation Jump to search
Line 21: Line 21:
 
         run: snyk container test --all-projects
 
         run: snyk container test --all-projects
 
         env:
 
         env:
           SNYK_TOKEN: ${{ secrets.SNYK_TOKEN }}
+
           SNYK_TOKEN: ${{{{ secrets.SNYK_TOKEN }}}}
 
 
  
 
== Related ==
 
== Related ==

Revision as of 10:01, 8 November 2024

This article is a Draft. Help us to complete it.

wikipedia:Snyk (2015 London) provides both an open-source and commercial vulnerability scanning service for container images.

AWS Inspector: "scoreSource": "SNYK"

Example

name: Snyk Container Scan
on: [push]
jobs:
  snyk_scan:
    runs-on: ubuntu-latest
    steps:
      - name: Checkout code
        uses: actions/checkout@v2
      - name: Set up Snyk
        uses: snyk/actions/setup@v2
      - name: Run Snyk scan
        run: snyk container test --all-projects
        env:
          SNYK_TOKEN: ${{{{ secrets.SNYK_TOKEN }}}}

Related

See also

Advertising: