Просмотр исходного кода

Update README and CHANGELOG with GitHub URL/Enterprise support detailed

Eric Ripa 7 лет назад
Родитель
Сommit
c7ba4d8bbf
2 измененных файлов с 7 добавлено и 0 удалено
  1. 4 0
      CHANGELOG.md
  2. 3 0
      README.md

+ 4 - 0
CHANGELOG.md

@@ -1,6 +1,10 @@
 CHANGELOG
 CHANGELOG
 =========
 =========
 
 
+1.2.0
+-----
+- Added support for providing an alternate GitHub URL to support scanning GitHub Enteprise repositories
+
 1.1.2
 1.1.2
 -----
 -----
 - Added version option
 - Added version option

+ 3 - 0
README.md

@@ -28,7 +28,9 @@ Application Options:
   -r, --repo=          Repo url to audit
   -r, --repo=          Repo url to audit
       --github-user=   User url to audit
       --github-user=   User url to audit
       --github-org=    Organization url to audit
       --github-org=    Organization url to audit
+      --github-url=    GitHub API Base URL, use for GitHub Enterprise. Example: https://github.example.com/api/v3/ (default: https://api.github.com/)
   -p, --private        Include private repos in audit
   -p, --private        Include private repos in audit
+  -b, --branch=        branch name to audit (defaults to HEAD)
   -c, --commit=        sha of commit to stop at
   -c, --commit=        sha of commit to stop at
       --repo-path=     Path to repo
       --repo-path=     Path to repo
       --owner-path=    Path to owner directory (repos discovered)
       --owner-path=    Path to owner directory (repos discovered)
@@ -42,6 +44,7 @@ Application Options:
   -v, --verbose        Show verbose output from gitleaks audit
   -v, --verbose        Show verbose output from gitleaks audit
       --report=        path to write report file
       --report=        path to write report file
       --redact         redact secrets from log messages and report
       --redact         redact secrets from log messages and report
+      --version        version number
 
 
 Help Options:
 Help Options:
   -h, --help           Show this help message
   -h, --help           Show this help message