mirror of
https://github.com/gitleaks/gitleaks.git
synced 2026-11-30 13:14:22 +01:00
Adding baseurl flag to allow self-hosted GitLab/GitHub servers
This commit is contained in:
1 parent
ef38b69c39
commit
c5e1e8abc0
3 files changed
+25
-2
No files matched your search
@@ -52,6 +52,7 @@ type Options struct {
|
||||
|
||||
// Hosts
|
||||
Host string `long:"host" description:"git hosting service like gitlab or github. Supported hosts include: Github, Gitlab"`
|
||||
BaseURL string `long:"baseurl" description:"Base URL for API requests. Defaults to the public GitLab or GitHub API, but can be set to a domain endpoint to use with a self hosted server."`
|
||||
Organization string `long:"org" description:"organization to audit"`
|
||||
User string `long:"user" description:"user to audit"` //work
|
||||
PullRequest string `long:"pr" description:"pull/merge request url"`
|
||||
|
||||
Reference in new issue
Block a user