ソースを参照

Fix example in leaky-repo.toml (#559)

Signed-off-by: Norman Ziegner <norman.ziegner@ufz.de>
Norman Ziegner 4 年 前
コミット
e74e6292ee
1 ファイル変更1 行追加1 行削除
  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"
-    file = '''(?i)(id_rsa|passwd|id_rsa.pub|pgpass|pem|key|shadow)'''
+	files = '''(?i)(id_rsa|passwd|id_rsa.pub|pgpass|pem|key|shadow)'''
 
 
 # Global allowlist
 # Global allowlist
 [allowlist]
 [allowlist]