2025-06-25 15:12:42 -07:00
|
|
|
rules:
|
|
|
|
|
- name: Microsoft Teams Webhook
|
|
|
|
|
id: kingfisher.microsoftteamswebhook.1
|
|
|
|
|
pattern: |
|
2025-06-26 11:31:41 -07:00
|
|
|
(?xi)
|
2025-11-04 13:55:31 -05:00
|
|
|
\b
|
|
|
|
|
(
|
|
|
|
|
https://[A-Z0-9]+\.webhook\.office\.com/webhookb2
|
|
|
|
|
/
|
|
|
|
|
[A-Z0-9]{8}-[A-Z0-9]{4}-[A-Z0-9]{4}-[A-Z0-9]{4}-[A-Z0-9]{12}
|
|
|
|
|
@
|
|
|
|
|
[A-Z0-9]{8}-[A-Z0-9]{4}-[A-Z0-9]{4}-[A-Z0-9]{4}-[A-Z0-9]{12}
|
|
|
|
|
/
|
|
|
|
|
IncomingWebhook
|
|
|
|
|
/
|
|
|
|
|
[A-Z0-9]{32}
|
|
|
|
|
/
|
|
|
|
|
[A-Z0-9]{8}-[A-Z0-9]{4}-[A-Z0-9]{4}-[A-Z0-9]{4}-[A-Z0-9]{12}
|
|
|
|
|
)
|
|
|
|
|
\b
|
|
|
|
|
pattern_requirements:
|
|
|
|
|
min_digits: 2
|
2025-06-25 15:12:42 -07:00
|
|
|
min_entropy: 3.3
|
|
|
|
|
confidence: medium
|
|
|
|
|
examples:
|
|
|
|
|
- "https://contoso.webhook.office.com/webhookb2/12345678-abcd-1234-efgh-56789abcdef0@12345678-abcd-1234-efgh-56789abcdef0/IncomingWebhook/abcdefgh12345678abcdefgh12345678/12345678-abcd-1234-efgh-56789abcdef0"
|
|
|
|
|
validation:
|
|
|
|
|
type: Http
|
|
|
|
|
content:
|
|
|
|
|
request:
|
2025-10-23 15:02:30 -07:00
|
|
|
body: '{"text":""}'
|
2025-06-25 15:12:42 -07:00
|
|
|
headers:
|
|
|
|
|
Content-Type: application/json
|
|
|
|
|
method: POST
|
|
|
|
|
response_matcher:
|
|
|
|
|
- type: StatusMatch
|
|
|
|
|
status:
|
2025-10-23 15:02:30 -07:00
|
|
|
- 400
|
2025-06-25 15:12:42 -07:00
|
|
|
- report_response: true
|
|
|
|
|
type: WordMatch
|
|
|
|
|
words:
|
|
|
|
|
- "Text is required"
|
2026-02-10 19:24:19 -08:00
|
|
|
url: '{{ TOKEN }}'
|
|
|
|
|
references:
|
|
|
|
|
- https://learn.microsoft.com/en-us/microsoftteams/platform/webhooks-and-connectors/how-to/add-incoming-webhook
|