Syntax for Custom Configuration Profile Key Value Pairs

clifhirtle
Contributor II

Is there a quick reference guide on syntax for the creation of custom configuration profiles in the JSS? Is this the same array-key-dict-key-string hierarchy one would normally create through Configurator, PM, or others (ala Apple's Managing OSX w/CP guide)?

Assuming values like PayloadIdentifier and such are not necessary given leveraging of JSS to host/push out?

Just looking for a quick example but not seeing any in official Casper Documentation.

Thanks in advance for any leads.

4 REPLIES 4

winningham_2
Contributor

bump

winningham_2
Contributor
Is there a quick reference guide on syntax for the creation of custom configuration profiles in the JSS? Is this the same array-key-dict-key-string hierarchy one would normally create through Configurator, PM, or others (ala Apple's Managing OSX w/CP guide)?

Documentation is what I am actually after with the above question. Running Casper Suite 9.1x

winningham_2
Contributor

Just for future reference....

<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "{field{*fldinst{HYPERLINK "http://www.apple.com/DTDs/PropertyList-1.0.dtd"}}{fldrslt cf4 http://www.apple.com/DTDs/PropertyList-1.0.dtd}}">
<plist version="1.0">
<dict>
<key>askForPassword</key>
<integer>1</integer>
<key>askForPasswordDelay</key>
<integer>5</integer>
<key>idleTime</key>
<integer>1800</integer>
</dict>
</plist>
}

This was the answer to my question on a syntax for a plist that can be accepted for a Custom Configuration Profile. In this case, this plist was uploaded to Casper JSS 9.1x, to touch a user's com.apple.screensaver within ~/Library/Preferences/ in order to require a password for screen-lock, five seconds after screensaver starts up.

This is Profile is working in both 10.8.5 and (the current as of 10/02/13 preview of ) 10.9.

tangerinehuge
New Contributor III

I'm having difficulty getting Casper 9.2 to accept the plist file as listed. I removed the trailing on the lines and that seemed to allow me to upload it but when I hit save it displays a red arrow next to the upload box. Are there any other lines that need to be added to the file? And I assume you converted it to a .plist file using plutil beforehand right?

Thanks!