- 22 Jan 2023
- 2 Minutes to read
- DarkLight
- PDF
Telegram 1.5.0
- Updated on 22 Jan 2023
- 2 Minutes to read
- DarkLight
- PDF
tags: python | Chat | Social Media | Alerts in Telegram | Cli | Telegram Bot | Incident Escalation
Description
Integration with Telegram enables CDC users to provide updates to clients using Telegram’s messaging service, with alert content and the ability to update messages. This integration enables CDC users to communicate quickly and efficiently with clients to share details of an alert.
Telegram is a cloud-based mobile and desktop messaging app with a focus on security and speed. CyberProof uses Telegram’s Bot API , which enables us to use Telegram messages for interfacing with the CDC.
We have provisioned CLI commands to enable CDC users to select message options. These options can be used to send a message to a client, or to escalate and send alert details along with custom messages to clients regarding the progress of an incident. These are sent to the clients’ Telegram channel.
Integration Type: | Messaging |
Information read: | Integration with Telegram is created to enable CDC users to provide updates to clients using Telegram’s Messaging service with the contents of alert and update messages. This integration enables CDC users to communicate quickly and efficiently with the client to share the details of an alert. |
Telegram is a cloud-based mobile and desktop messaging app with a focus on security and speed. We have used the Bot API of Telegram, which allows us to use Telegram messages for an interface with the CDC. We have provisioned CLI commands to enable CDC users to select the message option to send a message to clients, or an escalate option to send alert details along with the custom message to the client regarding the progress of an incident - to the Telegram channels of the client. |
| API Supported: | Telegram bot API |
| Input: | Message/Escalate alert options |
| Output: | Message posted on Telegram channel with relevant information to update customer |
Customer Configuration
No customer configuration
CDC Command Lines
* **escalate_cli_la**
Sends alert details and an optional message to a Telegram channel.
Option | Type | Description | Required |
---|---|---|---|
incident_id | string | CDC incident ID. | True |
message | string | message to be sent in a Telegram channel. | False |
* **send_to_channel_cli**
Posts the payload value in a Telegram channel.
Option | Type | Description | Required |
---|---|---|---|
message | string | Message to post in the Telegram channel. | True |
Workflows
* **escalate_cli**
Sends alert details and an optional message to a Telegram channel.
* **post_send_to_channel**
Post send-to-channel in the CDC, by the ID of the incident/message/channel.
* **send_to_channel**
Posts the payload value in a Telegram channel.
Rules
No rules
Sensors
No sensors
Triggers
No triggers
Known Issues
No known issues