mirror of
https://github.com/gitleaks/gitleaks.git
synced 2026-11-29 20:54: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
9 lines
342 B
TOML
9 lines
342 B
TOML
[[rules]]
|
|
description = "Generic Credential"
|
|
regex = '''(?i)(dbpasswd|dbuser|dbname|dbhost|api_key|apikey|secret|key|api|password|user|guid|hostname|pw|auth)(.{0,20})?['|"]([0-9a-zA-Z-_\/+!{}/=]{4,120})['|"]'''
|
|
tags = ["key", "API", "generic"]
|
|
[rules.allowlist]
|
|
description = "ignore gitleaks config"
|
|
regexes = ['''gitleaks.toml''']
|
|
|