trufflehog icon indicating copy to clipboard operation
trufflehog copied to clipboard

Clarify behaviour of exclude_regexes_capture and exclude_regexes_match

Open jay4ay opened this issue 3 weeks ago • 1 comments

Updating description to clarify what these options do based on the logic at https://github.com/trufflesecurity/trufflehog/blob/8d144c2ba305fdcf2765b85c7ac08b6a7705a61b/pkg/custom_detectors/custom_detectors.go#L141 and based on my testing.

Description:

Explain the purpose of the PR.

Checklist:

  • [ ] Tests passing (make test-community)?
  • [ ] Lint passing (make lint this requires golangci-lint)?

jay4ay avatar Dec 08 '25 22:12 jay4ay

CLA assistant check
Thank you for your submission! We really appreciate it. Like many open source projects, we ask that you all sign our Contributor License Agreement before we can accept your contribution.
1 out of 2 committers have signed the CLA.

:white_check_mark: dustin-decker
:x: jay4ay
You have signed the CLA already but the status is still pending? Let us recheck it.

CLAassistant avatar Dec 08 '25 22:12 CLAassistant

We cannot merge this without the CLA signed.

dustin-decker avatar Dec 16 '25 15:12 dustin-decker