Hello,
I'm unsure how exactly to display the version of Symantec Endpoint Protection 12.x in my Inventory.
I'm guessing I need extension attributes to accomplish this and I have a few that I hacked together or was given, yet I'm unsure how to exactly form the necessary script for SEP.
Thanks for any assistance.
Page 1 / 1
I don't use SEP, but if it's a normal application bundle, look inside for an info.plist and then read out the CFBundleShortVersionString. This is what I use to report my McAfee Security.app
#!/bin/sh
#
############################################################################
# Extension Attribute to display Security for Mac application version.
#
############################################################################
McAfeeSecurityVersion=`/usr/bin/defaults read /Applications/McAfee Security.app/Contents/Info CFBundleShortVersionString `
echo "<result> v$McAfeeSecurityVersion </result>"
exit 0
Excellent. Now I know where to look.
Thanks.
This is what I came up with.
#!/bin/sh
#
############################################################################
# Extension Attribute to display Security for Mac application version.
#
############################################################################
SEPVersion=`/usr/bin/defaults read /Applications/Symantec Solutions/Symantec Endpoint Protection.app/Contents/Info CFBundleShortVersionString `
echo "<result> v$SEPVersion </result>"
exit 0
Added to Inventory search and it's working fine.
Thanks again.
Enter your E-mail address. We'll send you an e-mail with instructions to reset your password.