fleetdm / fleet

Open-source platform for IT, security, and infrastructure teams. (Linux, macOS, Chrome, Windows, cloud, data center)
https://fleetdm.com
Other
3.06k stars 425 forks source link

What kind of device is this? #3551

Open mikermcneil opened 2 years ago

mikermcneil commented 2 years ago

Goal

As a user of Fleet, I want to get an intuitive sense, at a glance, of what kind of device a given host is, whether that’s a Linux laptop, a Windows server, a Coca Cola Freestyle vending machine, or a set top cable box.

Ideally I don’t have to upload these images myself.

How?

gavinelder commented 2 years ago

Some info that may be nice to know here is apple provide a way of showing the device image based upon the serial number which SAL uses https://github.com/salopensource/sal/blob/04d8fc564d5ea79436b93a8044922afd693521f8/server/templates/server/machine_detail.html#L44

 https://km.support.apple.com/kb/securedImage.jsp?configcode={{machine.serial|slice:"8:" }}&size=120x120'

Which provides the following image.

https://km.support.apple.com/resources/sites/APPLE/content/live/IMAGES/1000/IM1064/en_US/macbook-pro-mid-2015-15in-device-120.png

mikermcneil commented 1 year ago

Just noticed this, thanks @gavinelder! Super cool. fyi @zhumo @zayhanlon @erikng Maybe an easy win at some point?