CloudBees action: Scan with Trivy

1 minute read

Use this action to scan container images with the Trivy 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

binary-tar-path

String

Yes

The path of the binary to be scanned.

The binary file must be in the TAR format.

license

Boolean

No

The option to perform license scanning. Specify license: true to perform license scanning.

Usage example

In your YAML file, add:

- name: Scan with Trivy uses: cloudbees-io/trivy-plugin@v1 with: binary-tar-path: /path/to/binary.tar