Use this action to scan image binaries with the JFrog Xray scanner to identify and fix security vulnerabilities.
| Input name | Data type | Required? | Description |
|---|---|---|---|
|
String |
Yes |
The JFrog registry URL. |
|
String |
Yes |
The JFrog username. |
|
String |
Yes |
The JFrog password. |
|
String |
Yes |
The container image location. |
|
String |
Yes |
The container image tag. |
In your YAML file, add:
- name: Scan with JFrog Xray
uses: cloudbees-io/jfrog-xray-scan-container@v1
with:
registry-url: ${{ vars.JFROG_REGISTRY }}
username: ${{ vars.JFROG_USERNAME }}
password: ${{ secrets.JFROG_PASSWORD }}
image-location: "test-example.jfrog.io/local/alpine"
image-tag: "latest"This code is made available under the MIT license.
-
Learn more about using actions in CloudBees workflows.
-
Learn about the CloudBees platform.