Why it matters
Anyone who can read the repository, or any clone or fork of it, can use a committed credential until it is revoked, and deleting the line does not remove it from history.
How to fix it
Revoke this Microsoft Teams webhook at Microsoft Teams and issue a replacement, then update every service that used it. TrustIvan has no console path recorded for this provider.
How it recognises a value
- A line is only looked at when it contains one of the keywords
incomingwebhook,webhook.office.com,webhookb2(ignoring case). - Adopted with attribution from the gitleaks rule
microsoft-teams-webhook(MIT License).
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}What TrustIvan reads
Used by the git history scan (off until SECRET_HISTORY_ENABLED is set) and the pre-commit check; a default repository scan uses the scanner's built-in rules. A finding is high severity, and critical when a live check confirms the provider still accepts it.
Terms: Secret scanning, Secret sprawl, Credential rotation
All secret detection checks · The whole catalogue · How this works in TrustIvan · Documentation