Use this action to scan image binaries with the Snyk Container scanner, to identify and fix security vulnerabilities.
Input name | Data type | Required? | Description |
---|---|---|---|
|
String |
Yes |
The Snyk Container username. |
|
String |
Yes |
The Snyk Container client secret. |
|
String |
Yes |
The container image location. |
|
String |
Yes |
The container image tag. |
In your YAML file, add:
- name: Scan with Snyk Container
uses: cloudbees-io/snyk-scan-container@v1
with:
orgname: "snyk_username"
token: ${{ secrets.SNYK_SECRET }}
image-location: ${{ vars.SNYK_ASSET_IDENTIFIER }}
image-tag: ${{ vars.SNYK_PROFILE_IDENTIFIER }}
This code is made available under the MIT license.
-
Learn more about using actions in CloudBees workflows.
-
Learn about the CloudBees platform.