Issue Description
How to manually locate the Code Requirement which is needed for the Privacy Preferences Policy Control (PPPC) payload within a configuration profile if the code is unknown or we do not wish to use the PPPC Utility Tool (https://github.com/jamf/PPPC-Utility).
Troubleshooting Steps
We can locate the value via Terminal, as long as the computer has the application (which values we are trying to locate) installed.
Open Terminal.
Type in the following command and replace the text between < > with the correct path:
/usr/bin/codesign --display --requirements - <drag Application into Terminal to populate file path>
For example:/usr/bin/codesign --display --requirements - /Applications/Symantec\ Solutions/Symantec\ Endpoint\ Protection.app
Locate Code Requirement in Terminal output.
Note: The full Terminal output is not needed. We only need the values between => to the ending "
Code Requirement: identifier "com.symantec.sep.mainapp" and anchor apple generic and certificate 1[field.1.2.840.113635.100.6.2.6] /* exists */ and certificate leaf[field.1.2.840.113635.100.6.1.13] /* exists */ and certificate leaf[subject.OU] = "9PTGMPNXZ2"
