Skip to content

Slack Webhook Match#527

Merged
zricethezav merged 1 commit intogitleaks:masterfrom
Rahulsharma0810:master
Feb 19, 2021
Merged

Slack Webhook Match#527
zricethezav merged 1 commit intogitleaks:masterfrom
Rahulsharma0810:master

Conversation

@Rahulsharma0810
Copy link
Contributor

@Rahulsharma0810 Rahulsharma0810 commented Feb 19, 2021

Description:

The Slack incoming Webhook URL number increases over time, my suggestion to accept any number from 8-12.

https://hooks.slack.com/services/T[a-zA-Z0-9_]{8}/B[a-zA-Z0-9_]{8}/[a-zA-Z0-9_]{24}
>>
https://hooks.slack.com/services/T[a-zA-Z0-9_]{8}/B[a-zA-Z0-9_]{8,12}/[a-zA-Z0-9_]{24}

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 b52e8c9 into gitleaks:master Feb 19, 2021
@zricethezav
Copy link
Collaborator

works for me 👍

alayne222 pushed a commit to alayne222/gitleaks that referenced this pull request May 28, 2025
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