We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent fefc670 commit 822ee3dCopy full SHA for 822ee3d
detect_secrets/plugins/slack.py
@@ -21,7 +21,7 @@ class SlackDetector(RegexBasedDetector):
21
re.compile(r'xox(?:a|b|p|o|s|r)-(?:\d+-)+[a-z0-9]+', flags=re.IGNORECASE),
22
# Slack Webhooks
23
re.compile(
24
- r'https://hooks.slack.com/services/T[a-zA-Z0-9_]+/B[a-zA-Z0-9_]+/[a-zA-Z0-9_]+',
+ r'https://hooks\.slack\.com/services/T[a-zA-Z0-9_]+/B[a-zA-Z0-9_]+/[a-zA-Z0-9_]+',
25
flags=re.IGNORECASE | re.VERBOSE,
26
),
27
)
0 commit comments