Skip to content

tkadlec/vsts-snyk-task

 
 

Repository files navigation

Preview and 3rd party notice

  • This task is currently in preview. Please provide feedback and suggestions in the GitHub issues.
  • This task has been developed by Jesse Houwing and is not associated with Snyk.io.

Release Notes

12-11-2016

  • Added: Initial preview release

Description

Snyk provides a quick and simple way to detect insecure package dependencies and optionally enables you to patch/upgrade the vulnerabilities in place.

This task supports:

  • Scanning for insecure dependencies (snyk test)
  • Protecting your project by fixing or patching insecure dependencies (snyk protect)
  • Register your project with snyk to be notified of future issues (snyk monitor)

You can supply your snyk API-token through a service connection (recommended) or a text input.

This task depends on snyk, which is not bundled in the current version. There are a few options available:

  • Install snyk by prepending a NPM package task:

  • command: install

  • arguments: snyk --prefix "$(Build.WorkFolder)\_tools"

  • working directory: e.g. $(Build.WorkFolder)\_tools

  • Supply the path to snyk in the 'Path to Snyk' input, e.g. $(Build.WorkFolder)\_tools\node_modules\.bin\snyk.cmd

  • Install snyk on your build server

  • Optionally add its path to the systems path environment variable

  • Or supply the path to snyk in the 'Path to Snyk' input

Find the task in the Utility category of both Build and Release.

Future options

  • Wildcard support in path to project?

Documentation

Please check the Wiki (coming soon).

If you have ideas or improvements, don't hestitate to leave feedback or file an issue.

About

No description, website, or topics provided.

Resources

License

MIT, Unknown licenses found

Licenses found

MIT
LICENSE
Unknown
License.txt

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • TypeScript 100.0%