diff --git a/README.md b/README.md index 7e8d78a479c20bfb16fe1427959fe1e4d2786f0b..72f6b1a7277c0957726781796e9c39afe5eee49d 100644 --- a/README.md +++ b/README.md @@ -50,7 +50,7 @@ They use the following configuration. | --------------------- | -------------------------------------- | ----------------- | | `image` / `GITLEAKS_IMAGE` | The Docker image used to run Gitleaks | `registry.hub.docker.com/zricethezav/gitleaks:latest` | | `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` | +| `args` / `GITLEAKS_ARGS` | [Options](https://github.com/zricethezav/gitleaks/wiki/Options) for a full Gitleaks analysis (on master or develop branches) | `--verbose --redact` | ### Configuring Gitleaks rules diff --git a/kicker.json b/kicker.json index 0d5bc83cb866f607b7ba16777ee695d9834e09dd..9df90248b45638b53841e2c59eebf23755521831 100644 --- a/kicker.json +++ b/kicker.json @@ -19,7 +19,7 @@ { "name": "GITLEAKS_ARGS", "description": "[Options](https://github.com/zricethezav/gitleaks/wiki/Options) for a full Gitleaks analysis (on master or develop branches)", - "default": "--verbose", + "default": "--verbose --redact", "advanced": true } ] diff --git a/templates/gitlab-ci-gitleaks.yml b/templates/gitlab-ci-gitleaks.yml index 320991e485da398a88cd84995b8a1e5843b32a3b..cbe96e70ab63959ee1dc6718b1a4ca97427c8372 100644 --- a/templates/gitlab-ci-gitleaks.yml +++ b/templates/gitlab-ci-gitleaks.yml @@ -24,7 +24,7 @@ spec: default: '' args: description: '[Options](https://github.com/zricethezav/gitleaks/wiki/Options) for a full Gitleaks analysis (on master or develop branches)' - default: '--verbose' + default: '--verbose --redact' --- workflow: rules: