mirror of
https://github.com/centreon/centreon-plugins.git
synced 2025-07-31 01:24:35 +02:00
enh(secu): add gitleaks configuration (#5520)
Co-authored-by: sc <sc@centreon>
This commit is contained in:
parent
f7b45b2193
commit
035e018397
3
.github/CODEOWNERS
vendored
3
.github/CODEOWNERS
vendored
@ -21,3 +21,6 @@ tests/** @centreon/owners-robot-e2e
|
|||||||
packaging/** @centreon/owners-perl
|
packaging/** @centreon/owners-perl
|
||||||
selinux/** @centreon/owners-pipelines
|
selinux/** @centreon/owners-pipelines
|
||||||
.github/scripts/pod_spell_check.t @centreon/owners-perl
|
.github/scripts/pod_spell_check.t @centreon/owners-perl
|
||||||
|
|
||||||
|
.gitleaks.toml @centreon/owners-security
|
||||||
|
.gitleaksignore @centreon/owners-security
|
||||||
|
19
.gitleaks.toml
Normal file
19
.gitleaks.toml
Normal file
@ -0,0 +1,19 @@
|
|||||||
|
title = "Gitleaks custom rules"
|
||||||
|
|
||||||
|
[extend]
|
||||||
|
useDefault = true
|
||||||
|
|
||||||
|
[allowlist]
|
||||||
|
paths = [
|
||||||
|
'''vendor\/''',
|
||||||
|
'''(.*?)\.rptlibrary''',
|
||||||
|
'''pnpm-lock\.yaml''',
|
||||||
|
'''\.gitleaks\.toml$''',
|
||||||
|
'''(.*?)(jpg|gif|doc|pdf|bin)$'''
|
||||||
|
]
|
||||||
|
|
||||||
|
regexTarget = "match"
|
||||||
|
regexes = [
|
||||||
|
'''ABCDEFG1234567890''',
|
||||||
|
'''s\.aBCD123DEF456GHI789JKL012'''
|
||||||
|
]
|
Loading…
x
Reference in New Issue
Block a user