CloudBees action: Scan with Aquasec

1 minute read

Use this action to scan container images with the Aquasec scanner. Detect and fix security threats to your container-based cloud applications.

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

Inputs

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

image-location

String

Yes

The container image location.

image-tag

String

Yes

The container image tag.

server-url

String

Yes

The Aquasec server URL.

username

String

Yes

The Aquasec username.

password

String

Yes

The Aquasec password.

scannercli-username

String

Yes

The Aquasec scannercli username.

scannercli-password

String

Yes

The Aquasec scannercli password.

Usage example

In your YAML file, add:

- name: Scan with Aquasec uses: cloudbees-io/aquasec-scan-container@v1 with: image-location: "example.com/local/alpine" image-tag: "latest" server-url: "${{ vars.AQUASEC_SERVER_URL }}" username: "${{ vars.AQUASEC_USERNAME }}" password: "${{ secrets.AQUASEC_PASSWORD }}" scannercli-username: "${{ vars.AQUASEC_SCANNERCLI_USERNAME }}" scannercli-password: "${{ secrets.AQUASEC_SCANNERCLI_PASSWORD }}"