mirror of
https://github.com/gitleaks/gitleaks.git
synced 2026-11-30 13:14:22 +01:00
Simplify tests and continue on object not found errors (#633)
* 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
This commit is contained in:
1 parent
95f8bd0daa
commit
6adc045580
500 files changed
+1062
-3525
No files matched your search
Vendored
+16
@@ -0,0 +1,16 @@
|
||||
title = "gitleaks config"
|
||||
|
||||
[[rules]]
|
||||
description = "Asymmetric Private Key"
|
||||
regex = '''-----BEGIN ((EC|PGP|DSA|RSA|OPENSSH) )?PRIVATE KEY( BLOCK)?-----'''
|
||||
tags = ["key", "AsymmetricPrivateKey"]
|
||||
|
||||
[[rules]]
|
||||
description = "Passwords"
|
||||
regex = '''(?i)password=(?i)'''
|
||||
tags = ["key", "Generic"]
|
||||
|
||||
[[rules]]
|
||||
description = "secret secret.com"
|
||||
regex = '''(?i)secret\.com'''
|
||||
tags = ["key", "custom"]
|
||||
Reference in new issue
Block a user