Scan files at latest commit (#348)

* Inspect files at latest commit

Added option to scan files at latest commit

* Files at latest commit test
This commit is contained in:
Noel Algora authored and GitHub committed 2020-03-02 20:22:14 -05:00
1 parent dae5c142d7
commit 679f00dc9c
3 files changed
+20 -1

No files matched your search

+1 -1
View File
@@ -67,7 +67,7 @@ Application Options:
--password= Password for git repo
--access-token= Access token for git repo
--commit= sha of commit to audit
--files-at-commit= sha of commit to audit all files at commit
--files-at-commit= sha of commit to audit all files at commit or "latest" to scan the last commit of the repository
--threads= Maximum number of threads gitleaks spawns
--ssh-key= path to ssh key used for auth
--uncommitted run gitleaks on uncommitted code