mirror of
https://github.com/gitleaks/gitleaks.git
synced 2026-11-30 05:04:22 +01:00
add rule for microsoft teams webhooks (#970)
This commit is contained in:
1 parent
4f6ee2bcf1
commit
3f0293dab0
3 files changed
+38
No files matched your search
@@ -2227,6 +2227,14 @@ keywords = [
|
||||
"messagebird","message-bird","message_bird",
|
||||
]
|
||||
|
||||
[[rules]]
|
||||
description = "Microsoft Teams Webhook"
|
||||
id = "microsoft-teams-webhook"
|
||||
regex = '''https:\/\/[a-z0-9]+\.webhook\.office\.com\/webhookb2\/[a-z0-9]{8}-([a-z0-9]{4}-){3}[a-z0-9]{12}@[a-z0-9]{8}-([a-z0-9]{4}-){3}[a-z0-9]{12}\/IncomingWebhook\/[a-z0-9]{32}\/[a-z0-9]{8}-([a-z0-9]{4}-){3}[a-z0-9]{12}'''
|
||||
keywords = [
|
||||
"webhook.office.com","webhookb2","incomingwebhook",
|
||||
]
|
||||
|
||||
[[rules]]
|
||||
description = "Netlify Access Token"
|
||||
id = "netlify-access-token"
|
||||
|
||||
Reference in new issue
Block a user