Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix(detect): extract secret from group before checking allowlist #1152

Merged
merged 1 commit into from
Apr 19, 2023

Conversation

rgmz
Copy link
Contributor

@rgmz rgmz commented Apr 14, 2023

Description:

This is a proposed fix for #1151.

Checklist:

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

Due to restrictions I am typing this up in the GitHub web editor. I will ensure that this builds + passes tests, however, I apologize in advance if anything is amiss.

@rgmz rgmz changed the title fix(detect): extra secret from group before checking allowlist fix(detect): extract secret from group before checking allowlist Apr 14, 2023
@zricethezav zricethezav self-assigned this Apr 19, 2023
@zricethezav
Copy link
Collaborator

Good eye! You're on fire @rgmz

@zricethezav zricethezav merged commit 51ca0f8 into gitleaks:master Apr 19, 2023
1 check passed
@rgmz rgmz deleted the fix/allowlist-regex-target branch April 24, 2023 13:40
@rgmz
Copy link
Contributor Author

rgmz commented Apr 24, 2023

Good eye! You're on fire @rgmz

I've been using Gitleaks on-and-off since 2019 and been meaning to contribute back. I suppose better late than never! ;)

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.

None yet

2 participants