IMPORTANT ANNOUNCEMENT: On May 6, 2024, Carbon Black User eXchange (UeX) and Case Management will move to a new platform!
The Community will be in read-only mode starting April 19th, 7:00 AM PDT. Check out the blog post!
You will still be able to use the case portal to create and interact with your support cases until the transition, view more information here!

App Control: How to Add an Identifier Longer Than the WS1 String Limit for Mac Agent 8.7+

App Control: How to Add an Identifier Longer Than the WS1 String Limit for Mac Agent 8.7+

Environment

  • App Control Mac Agent: 8.7 and Higher
  • VMware Workspace One

Objective

How to Add an Identifier Longer Than the WS1 UI String Limit for Mac Agent 8.7+

Resolution

  1. Edit the Profile and add a custom Payload
  2. In the Custom Settings menu, add the following XML
    <dict>
            <key>Services</key>
            <dict>
              <key>SystemPolicyAllFiles</key>
              <array>
                <dict>
                  <key>Identifier</key>
                  <string>com.vmware.carbonblack.appc-es-loader.appc-es-extension</string>
                  <key>IdentifierType</key>
                  <string>bundleID</string>
                  <key>CodeRequirement</key>
                  <string>identifier "com.vmware.carbonblack.appc-es-loader.appc-es-extension" 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] = "7AGZNQ2S2T"</string>
                  <key>StaticCode</key>
                  <false />
                  <key>Comment</key>
                  <string></string>
                  <key>Allowed</key>
                  <true />
                </dict>
              </array>
            </dict>
            <key>PayloadDisplayName</key>
            <string>PrivacyPreferences</string>
            <key>PayloadDescription</key>
            <string>PrivacyPreferencesSettings</string>
            <key>PayloadOrganization</key>
            <string></string>
            <key>PayloadType</key>
            <string>com.apple.TCC.configuration-profile-policy</string>
            <key>PayloadUUID</key>
            <string>d61f9f50-88ee-4139-a2e9-37b7d4f7ae71</string>
            <key>PayloadVersion</key>
            <integer>1</integer>
            <key>PayloadIdentifier</key>
            <string>1997a5db-ac7f-426a-a038-8c64c341cb4b.PrivacyPreferences</string>
       </dict>
  3. Once applied, the XML sets the PrivacyPreferences payload as a Custom Setting

Additional Notes

  • In the particular case of App Control 8.7 where System Extensions were introduced, The payload for having full disk access for appc-es-extension exceeds the allowed limit.
  • The steps above, are an alternative way around applying the Policy Preferences payload, setting System Policy All Files to Allow, per the image below:
User-added image

Labels (1)
Tags (2)
Was this article helpful? Yes No
No ratings
Article Information
Author:
Creation Date:
‎11-17-2021
Views:
396
Contributors