Skip to main content

Snyk Docker

This producer component that scans Docker containers with Snyk.

Read more about what it does on the Snyk homepage and GitHub repo.

How to use with Smithy

Open-Source

  1. Add the Helm package to the pipeline settings:
---
# file: ./my-pipeline/kustomization.yaml
components:
- pkg:helm/smithy-security-oss-components/producer-snyk-docker
  1. Configure the run parameter of the component in the pipeline run file.
# file: ./my-pipeline/pipelinerun.yaml
---
...
spec:
...
params:
- name: producer-snyk-docker-api-key
value: <your snyk api key>
- name: producer-snyk-docker-image
value: <the docker image you are trying to scan>

SaaS

  1. In the Smithy UI, open the page to create a new workflow.
  2. Find the Snyk Docker in the Producers dropdown.
  3. Configure the parameters in the form on the right

Options

You can configure this component with the following options:

Option NameDescriptionDefaultType
[Required] producer-snyk-docker-api-keySnyk API keyString
[Required] producer-snyk-docker-imageThe docker image to be pulled from the registry, e.g. "my-app:latest"String