CloudBees action: Scan with JFrog Xray

1 minute read

Use this action to scan image binaries with the JFrog Xray scanner to identify and fix security vulnerabilities.

All CloudBees action repositories are listed at CloudBees, Inc. on GitHub.

Inputs

Table 1. Input details
Input name Data type Required? Description

registry-url

String

Yes

The JFrog registry URL.

username

String

Yes

The JFrog username.

password

String

Yes

The JFrog password.

image-location

String

Yes

The container image location.

image-tag

String

Yes

The container image tag.

Usage example

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"