Receive Telegram Alerts from Mondoo
You can configure Mondoo to send a message to a Telegram account whenever there's a change to an asset's security score. You do this by integrating Telegram with the Mondoo space from which you want to receive alerts.
Before you set up the integration, you must create Telegram bot token and get your Telegram chat ID.
Create a Telegram bot token
-
Open Telegram and search for the @BotFather username. Then start a new conversation with @BotFather with
/newbot
.@BotFather
responds: -
During the conversation, the bot provides a Telegram access token:
Use this token to access the HTTP API:
<telegram-access-token>
Get your Telegram chat ID
-
Create a new chat group in Telegram.
-
Invite the @myidbot.
-
Enter a chat group name.
-
Ask the myidbot
/getgroupid@myidbot
for the chat ID. -
Uninvite
@myidbot
.
Set up the integration
Only team members with Editor or Owner access can perform this task.
-
In the Mondoo Console, navigate to the space for which you want to see Telegram alerts.
-
In the side navigation bar, under Integrations, select Add New Integration.
-
Scroll down to Chat Ops and select Telegram.
-
On the right side of the page, set the toggle to Enabled.
-
In the Chat ID box, paste the Telegram chat ID that
@myidbot
provided in the instructions above. -
In the Secret box, paste the Telegram secret that
@botfather
provided in the instructions above. -
Select the SAVE button.