Explorar o código

Update type in config example (#597)

Tomasz Wierzchowski %!s(int64=4) %!d(string=hai) anos
pai
achega
f62617d7a6
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      examples/leaky-repo.toml

+ 1 - 1
examples/leaky-repo.toml

@@ -186,7 +186,7 @@ title = "gitleaks config"
 
 [[rules]]
 	description = "Files with keys and credentials"
-	files = '''(?i)(id_rsa|passwd|id_rsa.pub|pgpass|pem|key|shadow)'''
+	file = '''(?i)(id_rsa|passwd|id_rsa.pub|pgpass|pem|key|shadow)'''
 
 # Global allowlist
 [allowlist]