Skip to content

Conversation

zricethezav
Copy link
Collaborator

Description:

You can enable one or more diagnostics by providing a comma-separated list to the --diagnostics flag. You can specify a different output directory using the --diagnostics-dir flag.

Example Usage

gitleaks --diagnostics=cpu,mem,trace --diagnostics-dir=./profiling --log-level=debug git

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 82f7e32 into master May 13, 2025
5 checks passed
@zricethezav zricethezav deleted the diagnostics branch May 13, 2025 14:22
alayne222 pushed a commit to alayne222/gitleaks that referenced this pull request May 28, 2025
* init diagnostics

* update usage readme
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.

1 participant