Simple example of a Snyk task to run a code test

The following is a simple example of a Snyk task to run a Snyk Code test.

Publishing Snyk Code results is not currently supported.

- task: SnykSecurityScan@1
  inputs:
    serviceConnectionEndpoint: 'snykToken'
    testType: 'code'
    codeSeverityThreshold: 'medium'
    failOnIssues: true

Last updated

More information

Snyk privacy policy

© 2023 Snyk Limited | All product and company names and logos are trademarks of their respective owners.