diff --git a/TEMPLATES/.gitleaks.toml b/TEMPLATES/.gitleaks.toml index b46fc601..981e5ff3 100644 --- a/TEMPLATES/.gitleaks.toml +++ b/TEMPLATES/.gitleaks.toml @@ -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)$''']