mirror of
https://github.com/gitleaks/gitleaks.git
synced 2026-11-29 12:44:22 +01:00
Whitelist repo (#378)
* fixing commit latest bug * bumping go-git and adding repo whitelist * adding tests
This commit is contained in:
1 parent
8bd4649b01
commit
473d0d55a7
12 files changed
+282
-65
No files matched your search
+5
-5
@@ -10,13 +10,13 @@ import (
|
||||
"github.com/zricethezav/gitleaks/v4/manager"
|
||||
"github.com/zricethezav/gitleaks/v4/options"
|
||||
|
||||
"github.com/google/go-github/v29/github"
|
||||
"github.com/go-git/go-git/v5"
|
||||
"github.com/go-git/go-git/v5/plumbing"
|
||||
"github.com/go-git/go-git/v5/plumbing/object"
|
||||
"github.com/go-git/go-git/v5/plumbing/transport"
|
||||
"github.com/google/go-github/v31/github"
|
||||
log "github.com/sirupsen/logrus"
|
||||
"golang.org/x/oauth2"
|
||||
"gopkg.in/src-d/go-git.v4"
|
||||
"gopkg.in/src-d/go-git.v4/plumbing"
|
||||
"gopkg.in/src-d/go-git.v4/plumbing/object"
|
||||
"gopkg.in/src-d/go-git.v4/plumbing/transport"
|
||||
)
|
||||
|
||||
// Github wraps a github client and manager. This struct implements what the Host interface defines.
|
||||
|
||||
Reference in new issue
Block a user