Jelajahi Sumber

Update type in config example (#597)

Tomasz Wierzchowski 4 tahun lalu
induk
melakukan
f62617d7a6
1 mengubah file dengan 1 tambahan dan 1 penghapusan
  1. 1 1
      examples/leaky-repo.toml

+ 1 - 1
examples/leaky-repo.toml

@@ -186,7 +186,7 @@ title = "gitleaks config"
 
 
 [[rules]]
 [[rules]]
 	description = "Files with keys and credentials"
 	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
 # Global allowlist
 [allowlist]
 [allowlist]