Explorar el Código

Whitelist files not being parsed (#375)

It seems that there is a typo on the default rules.
Marlon Pina Tojal hace 6 años
padre
commit
0faebdefea
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  1. 1 1
      config/default.go

+ 1 - 1
config/default.go

@@ -138,5 +138,5 @@ title = "gitleaks config"
 
 [whitelist]
 	description = "Whitelisted files"
-	file = '''(^\.?gitleaks.toml$|(.*?)(jpg|gif|doc|pdf|bin)$)'''
+	files = [ '''(^\.?gitleaks.toml$|(.*?)(jpg|gif|doc|pdf|bin)$)''' ]
 `