You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
<?xml version="1.0" encoding="UTF-8"?><extensionAttribute> <displayName>Enforce PKI Certificate Chain of Trust</displayName> <displayInCategory>Security Reporting</displayInCategory> <dataType>string</dataType> <description>This attribute verifies the "Enforce PKI Certificate Chain of Trust" setting. The value to be verified will need to be specified when creating this extension attribute. Example: "false" verifies that the "Enforce PKI Certificate Chain of Trust" setting is disabled</description> <scriptContentsMac>#!/bin/shdesiredValue="EditFromTemplate_Desired_Value_-_Example:_true"result=""tmpResult=`defaults read /Library/Preferences/com.apple.security DisableUserTrustSettings`if [ "$tmpResult" == "1" ]; thenresult="true"elseif [ "$tmpResult" == "0" ]; then result="false"else if [ "$tmpResult" == "" ]; then result="Domain or Key Not Found" else result="$tmpResult" fififiif [ "$result" == "$desiredValue" ]; thenecho "<result>Pass ($result)</result>"elseecho "<result>Fail ($result)</result>"fi </scriptContentsMac></extensionAttribute>