Posted on 01-13-2021 09:02 AM
Is there a way to pull an inventory of all machines that have any software installed by a publisher (which would have multiple potential applications)?
Posted on 01-13-2021 10:00 AM
@jwojda mdfind
with the kMDItemCFBundleIdentifie
attribute. Here's how you'd find all Microsoft apps: mdfind "kMDItemCFBundleIdentifier == 'com.microsoft.*'"
EDIT: Oops, realized you were looking to query your JSS, not a specific machine. Leaving the original post up so I can find it again later.
The computers-inventory
endpoint for the Jamf Pro API will get you a list of all apps installed for each computer:https://yourjss.yourorg.com:8443/api/v1/computers-inventory?section=APPLICATIONS&sort=
The bundleId
listed for each app in the results should allow you to identify the publisher.