Преглед изворни кода

Update type in config example (#597)

Tomasz Wierzchowski пре 4 година
родитељ
комит
f62617d7a6
1 измењених фајлова са 1 додато и 1 уклоњено
  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]