04-18-2022 02:30 PM - edited 04-18-2022 02:33 PM
If a certain app has a bug or a security flaw that is patched in a later version, and I want to know which Macs are still running any unpatched versions, is there no way to easily find that through advanced computer search? Sure, I could try to export results and manipulate the spreadsheet, but seriously am I missing something? Because that seems like it should be a very basic search function.
Solved! Go to Solution.
Posted on 04-19-2022 10:50 AM
@cbrewer That functionality is actually supported now, but only for Patch Reporting titles. If you've got patch reporting enabled you'll have an option named Patch Reporting Software Title under Show Advanced Criteria when creating a Smart Group. Choose that criteria and you'll get a list of all your active Patch Reporting titles. When you add one of them as a criteria your operator options are is, is not, greater than, less than, greater than or equal, and less than or equal.
Posted on 04-18-2022 03:17 PM
Hi, you can create a smart group with 2 criterias. One is the "Application Title" use the "Is" operator with name of the app keep the "And" condition and the second criteria "Application Version" use the "Is not" operator with the version of the latest version of that app.
Posted on 04-18-2022 03:25 PM
Some of us prefer using regex matching for this. Regex will allow you to match against a version number or higher. See the following script for help generating the regex.
https://gist.github.com/talkingmoose/2cf20236e665fcd7ec41311d50c89c0e
Posted on 04-18-2022 03:29 PM
And maybe someday Jamf will implement this feature request for higher than or less than application versions.
Posted on 04-19-2022 10:50 AM
@cbrewer That functionality is actually supported now, but only for Patch Reporting titles. If you've got patch reporting enabled you'll have an option named Patch Reporting Software Title under Show Advanced Criteria when creating a Smart Group. Choose that criteria and you'll get a list of all your active Patch Reporting titles. When you add one of them as a criteria your operator options are is, is not, greater than, less than, greater than or equal, and less than or equal.
Posted on 08-31-2022 12:33 PM
Is it truly implemented though? The feature only works if the application is part of Patch Management. There are a ton of apps that Patch Management doesn't support. So again, we're left with a half-baked 'solution'. Not your fault, of course. I'm just ranting.
Posted on 08-31-2022 12:45 PM
@mt-nw For things not in Patch Management, or for users who don't have access to Patch Management, using a regex in a Smart Group Application Version criteria works well, and https://github.com/moorereason/make_ge_version_regex/blob/master/make_ge_version_regex.sh,remains my preferred tool for creating those.
Posted on 04-19-2022 06:59 AM
What @cbrewer said, but if you want the Smart Group to reflect Macs running versions older than the one the regex is created for the criteria would be "Does Not Match Regex".
I'd also suggest using https://github.com/moorereason/make_ge_version_regex/blob/master/make_ge_version_regex.sh, which is an optimized version of https://gist.github.com/talkingmoose/2cf20236e665fcd7ec41311d50c89c0e
Posted on 04-19-2022 09:39 AM
Thank you for these suggestions, all. I will look into them!