The Operating System value not the same when I pull it via an alert template

Is there any further news regarding the full descriptive Operating system name not being available in alerts?

I’m also trying to get the exact text shown in the “Operating System” column in the device list in the GUI in the alerts but no luck. Different device types populate different fields that are available in alerts in ways that are not very convenient or easy to parse.

For example, for a Windows server the available alert variables will show:

System Description: Hardware: Intel64 Family 6 Model 45 Stepping 7 AT/AT COMPATIBLE - Software: Windows Version 6.3 (Build 17763 Multiprocessor Free)
OS: windows
Version: Server 2019 1809 (NT 6.3)
Type: server
Hardware: Intel x64

Here I would just want to concatenate os and version variables - I’m not interested in the System description.

However on a Meraki AP the fields are:

System Description: Meraki MR42 Cloud Managed AP
OS: merakimr
Version: 
Type: wireless
Hardware: Meraki MR42 Cloud Managed AP

So I would want either the System Description or Hardware field. A third example is a Mac OS machine:

System Description: Darwin MacServer.staloysius.local 19.6.0 Darwin Kernel Version 19.6.0: Tue Jan 12 22:13:05 PST 2021;
root:xnu-6153.141.16~1/RELEASE_X86_64 x86_64
OS: macosx
Version: 
Type: server
Hardware: 

Version is not even set here and the System Description is not very useful as its just the Darwin kernel version.

So I can’t think of any simple coding in an alert template that will nicely show what I want across a variety of device types. The closest I can come is {{ $alert->os }} {{ $alert->version }} {{ $alert->hardware }}