소스 검색

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]