JoostVoskuil / azure-devops-gitleaks

This is an extension for Azure DevOps that is a wrapper arround gitleaks created by Zachary Rice for easy execution inside your pipeline. Gitleaks is a SAST tool for detecting hardcoded secrets like passwords, api keys, and tokens in git repos. Gitleaks is an easy-to-use, all-in-one solution for finding secrets, past or present, in your code.
MIT License
25 stars 16 forks source link

Include first commit in range of commits to scan #45

Closed KeesV closed 2 years ago

KeesV commented 2 years ago

New and improved version of #44 ...

Got the solution from here: https://stackoverflow.com/questions/42937533/git-log-range-revision-including-the-range-edges This seems to work OK, even if we include the repo's initial commit in the range.