From 19555579c85248d454a7f2630d8b3d4ddfb4e437 Mon Sep 17 00:00:00 2001 From: jetexe Date: Tue, 1 Mar 2022 21:16:17 +0500 Subject: [PATCH] adding go mod/sum to ignore (#797) --- config/gitleaks.toml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/config/gitleaks.toml b/config/gitleaks.toml index 14e45cc7..843f3cfb 100644 --- a/config/gitleaks.toml +++ b/config/gitleaks.toml @@ -545,5 +545,6 @@ description = "global allow lists" regexes = ['''219-09-9999''', '''078-05-1120''', '''(9[0-9]{2}|666)-\d{2}-\d{4}'''] paths = [ '''gitleaks.toml''', - '''(.*?)(jpg|gif|doc|pdf|bin|svg|socket)$''' + '''(.*?)(jpg|gif|doc|pdf|bin|svg|socket)$''', + '''(go.mod|go.sum)$''' ]