Skip to content

Quiet flag#491

Merged
zricethezav merged 2 commits intomasterfrom
quiet-flag
Dec 11, 2020
Merged

Quiet flag#491
zricethezav merged 2 commits intomasterfrom
quiet-flag

Conversation

@zricethezav
Copy link
Collaborator

Description:

Adds a -q/--quiet flag which logs leaks one line at a time instead of the default "pretty" json. This also sets the log level to errors only. Good for processes that was to injest the output of gitleaks without opening a file.

Checklist:

  • Does your PR pass tests?
  • Have you written new tests for your changes?
  • Have you lint your code locally prior to submission?

@zricethezav zricethezav merged commit 58d130c into master Dec 11, 2020
@zricethezav zricethezav deleted the quiet-flag branch December 11, 2020 14:56
@aaronkollasch
Copy link

I updated gitleaks and found that the -q/--quiet flag is no longer present. Is there a reason for that, or an alternative?

alayne222 pushed a commit to alayne222/gitleaks that referenced this pull request May 28, 2025
* Adding a quiet option

* better description

Co-authored-by: Zach Rice <zrice@gitlab.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants