fleet
fleet copied to clipboard
Name not extracting correctly from Google Chrome package
Fleet version: <!-- Copy this from the "My account" page in the Fleet UI, or run fleetctl --version
-->
Fleet 4.54.1
Web browser and operating system:
current browser and OS
💥 Actual behavior
When uploading Chrome Enterprise Google Chrome.app
Fleet is taken as Chrome.app
🧑💻 Steps to reproduce
- Upload Chrome enterprise package
- notice App object in fleet is listed as "Chrome.app" and not the correct "Google Chrome.app"
🕯️ More info (optional)
https://github.com/fleetdm/fleet/blob/d73070406af26ee1c18a7322846f2711616b8a11/pkg/file/xar.go#L240-L254 - Looks to be where the name data is taken from, but unable to have different packages. One for regular Chrome and for Enterprise.