Simple example of a Snyk task to test a container image
The following is a simple example of a Snyk task to test a container image.
- task: SnykSecurityScan@1
inputs:
serviceConnectionEndpoint: 'snykToken'
testType: 'container'
dockerImageName: 'goof'
dockerfilePath: 'Dockerfile'
monitorWhen: 'always'
failOnIssues: true
PreviousExample of a Snyk task for a container image pipelineNextExample of a Snyk task to test application code
Last updated
Was this helpful?