Posted on 12-06-2023 12:59 AM
Hey,
I'm trying to create a Smart Search, which lists devices with any Software title by Oracle installed. Is there an easier/better/future proof way than just adding every Application made by them? I found "Vendor" as an attribute, but does not yield any results.
Any ideas?
Solved! Go to Solution.
Posted on 12-06-2023 09:19 AM
I don't think there's anything native in Jamf that would do what you're looking for here.
Best I can think of at the moment, would be to create a script to list all installed applications using something like system_profiler SPApplicationsDataType to pull any "Oracle" applications.
I don't know how easy it would be to then create a report out of this, but it's something to look at.
Posted on 12-06-2023 01:47 PM
You could write a script that reads this information and run it on loop for each app in /Applications (or whatever directory you want to read) and echo the results to a file. Then use an EA or some other method to read that file. I would not turn this directly into an EA.
Rule of thumb, future proof is generally fictitious in the best of situations. With Apple, there is no such thing as future proof.
Posted on 12-06-2023 03:54 AM
The Vendor Attribute looks up GSX data. Documentation can be found Here
So its not going to help you find a software vendor
Posted on 12-06-2023 04:43 AM
Cheers! So at least now I know what not to use
Posted on 12-06-2023 09:19 AM
I don't think there's anything native in Jamf that would do what you're looking for here.
Best I can think of at the moment, would be to create a script to list all installed applications using something like system_profiler SPApplicationsDataType to pull any "Oracle" applications.
I don't know how easy it would be to then create a report out of this, but it's something to look at.
Posted on 12-06-2023 01:47 PM
You could write a script that reads this information and run it on loop for each app in /Applications (or whatever directory you want to read) and echo the results to a file. Then use an EA or some other method to read that file. I would not turn this directly into an EA.
Rule of thumb, future proof is generally fictitious in the best of situations. With Apple, there is no such thing as future proof.