Reading over the documentation for Alert Templates, it seems that I can use functions to retrieve additional data, beyond what’s available in $faults[] array. For BGP Peers (bgpPeers) object, there are two fields - device_id, and bgpPeerIface, which map to an entry in ports, matching device_id & ifIndex.
How do I use built-in modules to retrieve additional information about that Port using \App\Models\Port::find method?
Thanks.