mirror of
https://github.com/gitleaks/gitleaks.git
synced 2026-12-01 13:34:23 +01:00
Feat/allowlist regex target (#1107)
* adding regexTarget entry in allowlist * update readme * add globalregextarget to check * update readme
This commit is contained in:
1 parent
343e69399b
commit
4b5e8e1829
4 files changed
+51
-19
No files matched your search
@@ -14,6 +14,9 @@ type Allowlist struct {
|
||||
// Regexes is slice of content regular expressions that are allowed to be ignored.
|
||||
Regexes []*regexp.Regexp
|
||||
|
||||
// RegexTarget
|
||||
RegexTarget string
|
||||
|
||||
// Paths is a slice of path regular expressions that are allowed to be ignored.
|
||||
Paths []*regexp.Regexp
|
||||
|
||||
|
||||
Reference in new issue
Block a user