After consulting with Eset, I've written the below Extension Attribute to spit out the version of Eset Security installed. When I try that script in terminal I get the result: 6.7.654. When I create a smart group in Jamf with operator is and value 6.7.654 I don't see any results in the group.
In Extension Attribute I've chosen: Data Type: String and Input Type: Script
In short, the script does work but Jamf doesn't like it as Extension Attribute. Any idea?
The script is:
!/bin/bash
esets_scan="/Applications/ESET Endpoint Security.app/Contents/MacOS/esets_scan"
if [[ -e "$esets_scan" ]]; then
esetversion=$("$esets_scan" -v | awk '{ print $5 }')
echo $esetversion
exit 0
else
echo "Not Installed"
fi
exit 0