Explorar o código

ignore gitleaks.toml by default

Zach Rice %!s(int64=4) %!d(string=hai) anos
pai
achega
84e285e4ce
Modificáronse 1 ficheiros con 4 adicións e 1 borrados
  1. 4 1
      config/gitleaks.toml

+ 4 - 1
config/gitleaks.toml

@@ -538,4 +538,7 @@ secretGroup = 4
 [allowlist]
 description = "global allow lists"
 regexes = ['''219-09-9999''', '''078-05-1120''', '''(9[0-9]{2}|666)-\d{2}-\d{4}''']
-paths = ['''(.*?)(jpg|gif|doc|pdf|bin|svg|socket)$''']
+paths = [
+    '''gitleaks.toml''',
+    '''(.*?)(jpg|gif|doc|pdf|bin|svg|socket)$'''
+]