mirror of
https://github.com/gitleaks/gitleaks.git
synced 2026-11-29 12:44:22 +01:00
* adding files * init better tests * add basic .git * more tests and test data * nogit, unstaged tests * removing unused testdata * adding empty testdata * rm gitmodules * fixing tests * remove with config * adding with_config * removing old test_data, updating config tests * removing hooks in testdata repos
8 lines
220 B
TOML
8 lines
220 B
TOML
|
|
[[rules]]
|
|
description = "Generic password"
|
|
regex = '''(?i)(password|token).{0,20}?\s*[:|=]\s*?(?-i)([0-9a-zA-Z\/+]{4,40})'''
|
|
file = '''.*\.properties'''
|
|
path = '''config(guration)?'''
|
|
tags = ["key", "Yml", "Yaml"]
|