fleet icon indicating copy to clipboard operation
fleet copied to clipboard

Name not extracting correctly from Google Chrome package

Open pacamaster opened this issue 7 months ago • 4 comments

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 image

🧑‍💻  Steps to reproduce

  1. Upload Chrome enterprise package
  2. 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.

pacamaster avatar Jul 29 '24 15:07 pacamaster