https://github.com/secnex/teams-webhook-finder
Find all teams where used the webhook connector in Microsoft Teams
https://github.com/secnex/teams-webhook-finder
deprecated microsoft teams webhook
Last synced: 11 months ago
JSON representation
Find all teams where used the webhook connector in Microsoft Teams
- Host: GitHub
- URL: https://github.com/secnex/teams-webhook-finder
- Owner: SecNex
- License: mit
- Created: 2024-07-24T15:28:20.000Z (almost 2 years ago)
- Default Branch: main
- Last Pushed: 2024-07-27T19:32:37.000Z (almost 2 years ago)
- Last Synced: 2024-09-22T05:46:08.436Z (almost 2 years ago)
- Topics: deprecated, microsoft, teams, webhook
- Language: Go
- Homepage: https://docs.secnex.io/tb/microsoft-teams/teams-webhook-finder
- Size: 88 MB
- Stars: 3
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
- Security: SECURITY.md
Awesome Lists containing this project
README
# Microsoft Teams Webhook Finder
This tool builds on the Microsoft Graph API and the [Microsoft API Wrapper](https://github.com/SecNex/ms-api-wrapper) by [SecNex](https://secnex.io)

## Prerequirements
- Entra ID Enterprise Application registered in Azure AD/Entra ID tenant.
- Azure AD application with the following permissions:
- `AppCatalog.Read.All`
- `Team.ReadBasic.All`
- `TeamAppInstallation.ReadForTeam.All`
- Client ID, client secret, and tenant ID of the app registration.
## Quick Start
1. Download the latest release from GitHub.
2. Create the configuration file `config.json` in the same directory as the executable file.
3. Add the following content to the configuration file:
```json
{
"client": {
"client_id": "YOUR_CLIENT_ID",
"client_secret": "YOUR_CLIENT_SECRET",
"tenant_id": "YOUR_TENANT_ID"
}
}
```
4. Run the executable file.
**On Windows:**
```powershell
.\webhook-finder.exe
```
**On Unix:**
```bash
chmod +x webhook-finder
./webhook-finder
```
5. Read the display name of the Microsoft Teams teams where the webhook is installed/used.
## Configuration
The configuration file `config.json` must contain the following fields:
- `client_id`: The client ID of the Azure AD application.
- `client_secret`: The client secret of the Azure AD application.
- `tenant_id`: The tenant ID of the Azure AD application.
## License
This project is licensed under the MIT License - see the [LICENSE](LICENSE) file for details.