Based on the downloadable .plist for Full Disk Access from https://help.eset.com/eea_mac/7/en-US/install_remote_pre-installation.html
The issue that I can't upload them to jamf as it has 4 different Preference Domain inside. So I'd like to split it between 4 preferences domains:
com.eset.app.Uninstaller; com.eset.devices; com.eset.eea.g2; com.eset.endpoint
But looks like I'm making syntax mistakes and can find them.
Tried with the example from https://developer.apple.com/documentation/devicemanagement/privacypreferencespolicycontrol
So my plists are almost the same, the difference if only in Identifier value and CodeRequirement value took from the shared plist:
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC “-//Apple//DTD PLIST 1.0//EN" “http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
<key>PayloadContent</key>
<array>
<dict>
<key>Services</key>
<dict>
<key>SystemPolicyAllFiles</key>
<array>
<dict>
<key>Identifier</key>
<string>com.eset.eea.g2</string>
<key>IdentifierType</key>
<string>bundleID</string>
<key>CodeRequirement</key>
<string>identifier "com.eset.eea.g2" and anchor apple generic and certificate 1tfield.1.2.840.113635.100.6.2.6] /* exists */ and certificate leaflfield.1.2.840.113635.100.6.1.13] /* exists */ and certificate leaflsubject.OU] = P8DQRXPVLP</string>
<key>Allowed</key>
<true/>
<key>Comment</key>
<string>Allows ESET to scan all files for potential threats</string>
</dict>
</array>
</dict>
</dict>
</array>
</dict>
</plist>