hurl icon indicating copy to clipboard operation
hurl copied to clipboard

Gitleaks should override default config

Open jcamiel opened this issue 6 months ago • 2 comments

Using Gitleaks --config, we should specify to use defaults rules and ovverride with our custom ones:

Instead of this

title = "gitleaks config"

[allowlist]
description = "global allow lists"
paths = [
    '''integration'''
]

We should write this

title = "Gitleaks config"

[extend]
# useDefault will extend the base configuration with the default gitleaks config:
# https://github.com/zricethezav/gitleaks/blob/master/config/gitleaks.toml
useDefault = true

[allowlist]
description = "global allow lists"
paths = [
    '''integration'''
]

Bonus point : use the title Gitleaks instead of Git leaks

jcamiel avatar Jul 11 '25 11:07 jcamiel

I would be happy to see this issue in my bucket. Can you please assign it to me?

Evergreenies avatar Jul 11 '25 11:07 Evergreenies

Hi @Evergreenies, Unfortunately issues opened to contributors are tagged with "open to contribution" (you can read more information in our CONTRIBUTING guide). We generally don't open to contribution CI/CD issues. Thanks for your comprehension

jcamiel avatar Jul 11 '25 13:07 jcamiel