| `image` / `GITLEAKS_IMAGE` | The Docker image used to run Gitleaks / betterleaks | `docker.io/zricethezav/gitleaks:latest`<br/>[](https://to-be-continuous.gitlab.io/doc/secu/trivy-GITLEAKS_IMAGE) |
| `image` / `GITLEAKS_IMAGE` | The Docker image used to run Gitleaks / betterleaks | `docker.io/zricethezav/gitleaks:latest`(from `$TBC_DEFAULT_GITLEAKS_IMAGE`)<br/>[](https://to-be-continuous.gitlab.io/doc/secu/trivy-GITLEAKS_IMAGE) |
| `rules` / `GITLEAKS_RULES` | Gitleaks [configuration rules](https://github.com/zricethezav/gitleaks#configuration) to use (you may also provide your own `.gitleaks.toml` configuration file in your project). | _none_ (uses default rules) |
| `args` / `GITLEAKS_ARGS` | [Options](https://github.com/zricethezav/gitleaks/wiki/Options) for a full Gitleaks analysis (on master or develop branches) | `--verbose --redact` |
description:Gitleaks [configuration rules](https://github.com/zricethezav/gitleaks/wiki/Configuration) to use (you may also provide your own `.gitleaks.toml` configuration file in your project).
default:''
@@ -89,6 +89,9 @@ workflow:
-when:on_success
variables:
# Global defaults can be changed as instance or group variable