Skip to content
Snippets Groups Projects
Commit 79c3187a authored by Cédric OLIVIER's avatar Cédric OLIVIER
Browse files

Merge branch 'master' into 'master'

feat: default gitleaks arguments to avoid secret exposure

See merge request to-be-continuous/gitleaks!52
parents 0399daa2 595fc7df
No related branches found
No related tags found
No related merge requests found
......@@ -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
......
......@@ -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
}
]
......
......@@ -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:
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment