mirror of
https://github.com/gitleaks/gitleaks.git
synced 2026-11-30 05:04:22 +01:00
whitelist repo update
This commit is contained in:
1 parent
9272e1e556
commit
21b59fab5d
4 files changed
+29
-12
No files matched your search
+3
-3
@@ -493,7 +493,7 @@ func TestAuditRepo(t *testing.T) {
|
||||
whiteListFiles []*regexp.Regexp
|
||||
whiteListCommits map[string]bool
|
||||
whiteListBranches []string
|
||||
whiteListRepos []string
|
||||
whiteListRepos []*regexp.Regexp
|
||||
whiteListRegexes []*regexp.Regexp
|
||||
configPath string
|
||||
}{
|
||||
@@ -618,8 +618,8 @@ func TestAuditRepo(t *testing.T) {
|
||||
repo: leaksRepo,
|
||||
description: "audit whitelist repo",
|
||||
numLeaks: 0,
|
||||
whiteListRepos: []string{
|
||||
"gronit",
|
||||
whiteListRepos: []*regexp.Regexp{
|
||||
regexp.MustCompile("gronit"),
|
||||
},
|
||||
},
|
||||
{
|
||||
|
||||
Reference in new issue
Block a user