DO-1390 Co-authored-by: denis.patrakeev <denis.patrakeev@avroid.tech> Reviewed-on: https://git.avroid.tech/DevOps/secrets/pulls/18
26 lines
666 B
TOML
26 lines
666 B
TOML
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 = [
|
|
# Defaults from example
|
|
'''gitleaks.toml''',
|
|
'''(.*?)(jpg|gif|doc|docx|zip|xls|pdf|bin|svg|socket|vsidx|v2|suo|wsuo|.dll|pdb|exe)$''',
|
|
'''(go.mod|go.sum)$''',
|
|
'''gradle.lockfile''',
|
|
'''node_modules''',
|
|
'''package-lock.json''',
|
|
'''yarn.lock''',
|
|
'''pnpm-lock.yaml''',
|
|
'''Database.refactorlog''',
|
|
'''vendor''',
|
|
# Custom
|
|
'''files/jenkins/plugins.txt''',
|
|
]
|
|
|