From 3c1bbbf26363736488d5fd12e08a06a15c34cb46 Mon Sep 17 00:00:00 2001 From: Ross Smith II Date: Sat, 16 Mar 2024 08:54:37 -0700 Subject: [PATCH] Add jpeg, xlsx to .gitleaks.toml Also make file extensions case insensitive. --- TEMPLATES/.gitleaks.toml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/TEMPLATES/.gitleaks.toml b/TEMPLATES/.gitleaks.toml index bf3bff15ff2..6e3de8c92e0 100644 --- a/TEMPLATES/.gitleaks.toml +++ b/TEMPLATES/.gitleaks.toml @@ -15,7 +15,7 @@ useDefault = true '''node_modules''', '''.mypy_cache''', '''(.*?)gitleaks\.toml$''', - '''(.*?)(png|jpg|gif|doc|docx|pdf|bin|xls|pyc|zip)$''', + '''(?i)(.*?)(png|jpeg|jpg|gif|doc|docx|pdf|bin|xls|xlsx|pyc|zip)$''', '''(go.mod|go.sum)$''']