Snyk CLI for docker scan azure pipeline

525 views Asked by At

I need to run snyk scan for Azure container and set it to fail only when there are new vulnerabilities found as compared to previous image.

I did follow the snyk-delta document to configure task in azure but the tasks are getting failed.

Suggestions are to use snyk cli to scan in the azure pipeline.

Not sure how to configure it.

We want to add snyk-delta scan in out pipeline, add CLI script without using Snyk extension.

Any suggestion to do this.

2

There are 2 answers

0
Jonathan Gruber On

Also you can use a few template that are shared here https://github.com/snyk-labs/snyk-cicd-integration-examples

You can also send suggestions by sending a Pull Request there.