Explorar o código

Merge pull request #302 from petegallagher/whitelist-gitleaks.toml

Update default whitelist to include gitleaks.toml
Zachary Rice %!s(int64=6) %!d(string=hai) anos
pai
achega
ef38b69c39
Modificáronse 1 ficheiros con 2 adicións e 2 borrados
  1. 2 2
      config/default.go

+ 2 - 2
config/default.go

@@ -133,6 +133,6 @@ title = "gitleaks config"
 	tags = ["key", "twilio"]
 
 [whitelist]
-	description = "image whitelists"
-	file = '''(.*?)(jpg|gif|doc|pdf|bin)$'''
+	description = "Whitelisted files"
+	file = '''(^\.?gitleaks.toml$|(.*?)(jpg|gif|doc|pdf|bin)$)'''
 `