Browse Source

Update type in config example (#597)

Tomasz Wierzchowski 4 năm trước cách đây
mục cha
commit
f62617d7a6
1 tập tin đã thay đổi với 1 bổ sung1 xóa
  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]