CloudBees action: Scan with Gitleaks

1 minute read

Use this action to detect secrets and sensitive information in the codebase with Gitleaks, an open-source secret scanning tool.

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

Inputs

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

ref

String

No

The ref of the code to be scanned.

workspace-dir

String

No

The path of the code to be scanned.

Usage example

In your YAML file, add:

- name: Scan with Gitleaks uses: cloudbees-io/gitleaks-plugin@v1