System information
84
Parallels Mac Management Features
Compliance Rules Page
The Compliance Rules page lists the compliance rules that you've created earlier. You can review
and modify them if necessary. You can also create new rules here if needed. Click Next when
ready.
Summary, Progress, and Completion Pages
Review the configuration item summary and click Next when ready. Wait for the configuration item
to be created. Review the info on the Completion page and click Close to exit the wizard.
To evaluate Mac computers for compliance, you need to add the configuration item to a baseline
and then deploy it to a Mac collection. See Deploying Configuration Baseline (p. 86) for more
information.
Creating Discovery Script
A discovery script is specified using the Edit Discovery Script dialog, which is opened from the
Create Setting dialog, which in turn is opened from the Create Configuration Item Wizard (p.
82).
The script ca
n be written in any scripting language supported by OS X, such as Bash, Python,
Apple Script, etc. See Specifying Script Interpreter (p. 85) for additional information.
You can typ
e (or copy and paste) the script into the Script edit box. If you have the script saved in
a file, click the Open button to browse for it.
A discovery script is used to find and return a value to be assessed for compliance on a Mac. The
value can be of any data type supported by Configuration Manager, but must be returned by the
discovery script as a string. Write the script to obtain the value of a desired setting on a Mac and
return it as a string via standard output. The returned value is evaluated using the compliance rules
defined for this configuration item setting. If the value is noncompliant and a remediation script
exists (p. 84), the value will be passed to the remediation script for evaluatio
n. If the remediation
script doesn't exist, the assessment stops and noncompliance is reported to SCCM.
Please note that a discovery script will run in OS X with root privileges. Please also note that you
cannot access OS X GUI components from a discovery script. For example, you cannot open a
dialog to be displayed to the Mac user.
Creating Remediation Script
A remediation script is created using the Create Remediation Script dialog, which is opened from
the Create Setting dialog, which in turn is opened from the Create Configuration Item Wizard (p.
82).
The script ca
n be written in any scripting language supported by OS X, such as Bash, Python,
Apple Script, etc. See Specifying Script Interpreter (p. 85) for additional information.










