Posted on 07-14-2023 05:35 PM
Hi all. I can easily create a smart group to determine which Macs are running 13.4.1, but what about 13.4.1 (c)? Is there a way to tell which Macs have that update installed? Thanks
Solved! Go to Solution.
07-16-2023 11:29 AM - edited 07-16-2023 11:30 AM
JAMF Version 10.47.0
SmartGroup>New>Criteria>add>show advanced>Operating System Rapid Security Response
07-14-2023 07:31 PM - edited 07-14-2023 07:37 PM
@fotofojo Jamf Pro, at least version 10.46.1, does collect the supplemental build version info, but doesn't offer it as a search criteria. You can work around that by using an EA to query the supplemental build version and then use that EA as a Smart Group criteria. Here's the EA I wrote for that:
#!/bin/sh
# EA - Get macOS Supplemental Build Version
result=$(/usr/bin/sw_vers --productVersionExtra)
echo "<result>$result</result>"
Note that EA doesn't check for to see if the "--productVersionExtra" option is supported because my environment is all macOS Ventura which added that option. If you're using older versions of macOS in your environment the following EA which provides the raw macOS Build version might be more appropriate:
#!/bin/sh
# EA - Get raw macOS Build version
result=$(/usr/bin/sw_vers -buildVersion)
echo "<result>$result</result>"
Posted on 07-16-2023 10:52 AM
Thank you for this. I created the EA. What criteria value should I put in for the smart group?
Posted on 07-16-2023 11:25 AM
is the JAMF built in not working correctly?
Posted on 07-17-2023 06:13 AM
Posted on 07-16-2023 12:48 PM
@fotofojo If you used the 1st EA it returns "(c)" if RSR 13.4.1(c) is installed.
That said, if you are running a version of Jamf Pro that supports the "Operating System Rapid Security Response" criteria that @efil4xiN identified you should definitely use that instead of the EAs I provided (annoyingly with the new forum software I can't edit my original post to indicate there's a better way).
07-16-2023 11:29 AM - edited 07-16-2023 11:30 AM
JAMF Version 10.47.0
SmartGroup>New>Criteria>add>show advanced>Operating System Rapid Security Response
Posted on 07-16-2023 12:50 PM
@efil4xiN Thanks for the heads up on the RSR criteria. I missed those being mentioned in the JSS release notes, so time to remove the EAs I've been using from when they weren't available.
Posted on 07-17-2023 05:16 AM
Added 13.4.1. Who knows, we may need the (c) again for 13.5.1 or something with Apple.