The docker run command was missing `ghcr.io/` in the image name, which resulted in an error:
Unable to find image 'gitleaks/gitleaks:latest' locally
docker: Error response from daemon: pull access denied for gitleaks/gitleaks, repository does not exist or may require 'docker login': denied: requested access to the resource is denied.
* add --max-target-megabytes : maximum size for a file/blob to be scanned
* add --max-target-megabytes : maximum size for a file/blob to be scanned
* add --max-target-megabytes : maximum size for a file/blob to be scanned
* adjust readme comment
* fix on prem
* Adding quiet mode to silence banner
* Changing flag description. Adding flag to README
* Updating argument name
* updating variable name to aline with argument
* fixing readme spacing
* Fixing variable name
* Add baseline
* Update doc, add error, move baseline to detect namespace, ignore findings instead of reactively filter them out
* Update detect/detect.go
Co-authored-by: Zachary Rice <zricezrice@gmail.com>
* Update IsNew function (no check on tags - omit finger print check)
* Update README.md
Co-authored-by: Zachary Rice <zricezrice@gmail.com>
* Update examples in readme to make it ensure it's clear that a baseline is indeed a gitleaks report
* Fix test - updated tags doesn't make a finding new
* Add missing err assignment
* Allow scanner to continue without baseline if file is malformed
* Fix typo in comment
* Fix control flow err. (Real life testing)
* Fix wording
* Auto-ignore baseline path
* init
* working on default and path config extensions
* adding trace log level, consolidating some code
* cleaning things up, updating generate package
* fix tests
* formatting
* adding tests for extend
* extend not extends
* formatting
* only allow usedefault or path to be set
* update readme
* add note about allowlists
* more readme, expand env var for path
* actually dont support env var. ez attack