Fix .gitleaks.toml template (#3036)

Use `paths` for the `[allowlist]` section instead of an invalid `files`
This commit is contained in:
Denis Olehov 2022-06-16 22:12:41 +02:00 committed by GitHub
parent f0a07fdc80
commit c87d895802
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -170,6 +170,6 @@ title = "gitleaks config"
[allowlist]
description = "Allowlisted files"
files = ['''^\.?gitleaks.toml$''',
paths = ['''^\.?gitleaks.toml$''',
'''(.*?)(png|jpg|gif|doc|docx|pdf|bin|xls|pyc|zip)$''',
'''(go.mod|go.sum)$''']