Description | This article describes how to send notifications from FortiADC to Telegram App using Action type as Webhook |
Scope | FortiADC-VM, FortiADC. |
Solution |
FortiADC has multiple Automation Action types, which are possible to view in On the Security Fabric -> Automation -> Action tab.
There is a list of available automation response actions. It s possible to define the automation actions and then can combine them with a trigger to create an automation stitch.
The web-mode of Telegram will be used for better understanding. To Begin with, first test connectivity from the FortiADC to api.telegram.org:
Bezza-kvm32 # execute ping api.telegram.org
PING api.telegram.org (149.154.167.220): 56 data bytes 64 bytes from 149.154.167.220: icmp_seq=1 ttl=55 time=164.2 ms 64 bytes from 149.154.167.220: icmp_seq=2 ttl=55 time=164.1 ms If ping is not happening, it will not be possible to receive the notifications.
This number: code will be used later in FortiADC.
To test this, Logout or log in to the GUI interface. A notification along will appear with IP:
Related document:
It is possible to use this for different kinds of triggers and create policy for this. Each Automation Policy will be for a single type of Trigger only. |