Create a Post
cancel
Showing results for 
Search instead for 
Did you mean: 
rochim
Participant

send notification to telegram bot

Hi All,

Can the smart1 checkpoint send event notifications directly to the telegram bot,
is this possible?


Thanks.

0 Kudos
5 Replies
Tal_Paz-Fridman
Employee
Employee

Hi

What type of notifications would you like to send?

if you connected the Smart-1 Appliance you Infinity Portal (which is very easy) you can use Playblocks with its various automations to send notifications using Email, SMS, Slack and Teams. It can also open tickets in Jira and ServiceNow.

https://sc1.checkpoint.com/documents/Infinity_Portal/WebAdminGuides/EN/Playblocks-Admin-Guide/Conten...

FYI @Tal_Ben_Bassat 

(1)
rochim
Participant

Hi @Tal_Ben_Bassat ,

example notification interface down and the notification send to telegram bot. i see on smartevent can use "external script automatic reaction". how to create thats scripts?

thanks.

0 Kudos
PhoneBoy
Admin
Admin

Those scripts are shell scripts, as far as I can remember.
Assuming your Telegram Bot has a REST API, you could probably call it from a Shell script using curl.

0 Kudos
rochim
Participant

Hi PhoneBoy,

I can send messages to bot telegram from shell using curl, how can I put the log event on the script external? can you tell me how to create that external script? in the documentation, we must use $EVENT on an external script, I try but not successfully.

thanks.

0 Kudos
PhoneBoy
Admin
Admin

The input is sent to the script and must be parsed by your script, performing the desired action.
Here's an example (albeit for email, not for a curl to Telegram): https://community.checkpoint.com/t5/Management/SmartEvent-External-Script-for-Mail/m-p/78994 

0 Kudos

Leaderboard

Epsum factorial non deposit quid pro quo hic escorol.

Upcoming Events

    CheckMates Events