Skip to content

Commit

Permalink
Uploading new Jamf filesystem and notifications profiles
Browse files Browse the repository at this point in the history
Uploading new separate Jamf filesystem and notifications profiles.
  • Loading branch information
rtrouton committed Sep 19, 2018
1 parent 838d185 commit e741b96
Show file tree
Hide file tree
Showing 5 changed files with 120 additions and 71 deletions.
11 changes: 11 additions & 0 deletions Privacy Settings Whitelist - Jamf Filesystem/README.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
The command below will use tccprofile.py to generate a whitelist profile with the following characteristics:

Full Disk Access:

/Library/Application Support/JAMF/Jamf.app
/usr/local/jamf/bin/jamfAgent
/usr/local/jamf/bin/jamf

Command used with tccprofile.py to generate the profile:

/path/to/tccprofile.py --allfiles "/Library/Application Support/JAMF/Jamf.app" /usr/local/jamf/bin/jamfAgent /usr/local/jamf/bin/jamf --allow --payload-description="This profile allows specified applications access to specified filesystem locations." --payload-identifier="com.company.jamf.fileaccess.tcc.privacy.whitelist" --payload-name="Privacy Settings Whitelist - Jamf" --payload-org="Company Name" --payload-version="1" -o Jamf_All_Files_v1.mobileconfig
Original file line number Diff line number Diff line change
@@ -0,0 +1,83 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
<key>PayloadContent</key>
<array>
<dict>
<key>PayloadDescription</key>
<string>This profile allows specified applications access to specified filesystem locations.</string>
<key>PayloadDisplayName</key>
<string>Privacy Settings Whitelist - Jamf</string>
<key>PayloadIdentifier</key>
<string>com.company.jamf.fileaccess.tcc.privacy.whitelist.4DAA3D6E-BC42-11E8-B851-D0817ADA38E4</string>
<key>PayloadOrganization</key>
<string>Company Name</string>
<key>PayloadType</key>
<string>com.apple.TCC.configuration-profile-policy</string>
<key>PayloadUUID</key>
<string>4DAA3D6E-BC42-11E8-B851-D0817ADA38E4</string>
<key>PayloadVersion</key>
<integer>1</integer>
<key>Services</key>
<dict>
<key>SystemPolicyAllFiles</key>
<array>
<dict>
<key>Allowed</key>
<true/>
<key>CodeRequirement</key>
<string>identifier "com.jamf.management.Jamf" 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] = "483DWKW443"</string>
<key>Comment</key>
<string>Allow SystemPolicyAllFiles control for Jamf</string>
<key>Identifier</key>
<string>com.jamf.management.Jamf</string>
<key>IdentifierType</key>
<string>bundleID</string>
</dict>
<dict>
<key>Allowed</key>
<true/>
<key>CodeRequirement</key>
<string>identifier "com.jamfsoftware.jamfAgent" 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] = "483DWKW443"</string>
<key>Comment</key>
<string>Allow SystemPolicyAllFiles control for jamfAgent</string>
<key>Identifier</key>
<string>/usr/local/jamf/bin/jamfAgent</string>
<key>IdentifierType</key>
<string>path</string>
</dict>
<dict>
<key>Allowed</key>
<true/>
<key>CodeRequirement</key>
<string>identifier "com.jamfsoftware.jamf" 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] = "483DWKW443"</string>
<key>Comment</key>
<string>Allow SystemPolicyAllFiles control for jamf</string>
<key>Identifier</key>
<string>/usr/local/jamf/bin/jamf</string>
<key>IdentifierType</key>
<string>path</string>
</dict>
</array>
</dict>
</dict>
</array>
<key>PayloadDescription</key>
<string>This profile allows specified applications access to specified filesystem locations.</string>
<key>PayloadDisplayName</key>
<string>Privacy Settings Whitelist - Jamf</string>
<key>PayloadIdentifier</key>
<string>com.company.jamf.fileaccess.tcc.privacy.whitelist</string>
<key>PayloadOrganization</key>
<string>Company Name</string>
<key>PayloadScope</key>
<string>system</string>
<key>PayloadType</key>
<string>Configuration</string>
<key>PayloadUUID</key>
<string>4DAB4357-BC42-11E8-B050-D0817ADA38E4</string>
<key>PayloadVersion</key>
<integer>1</integer>
</dict>
</plist>
11 changes: 11 additions & 0 deletions Privacy Settings Whitelist - Jamf Notifications/README.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
The command below will use tccprofile.py to generate a whitelist profile with the following characteristics:

Able to send restricted AppleEvents:

/Library/Application Support/JAMF/Jamf.app - Send AppleEvents to SystemEvents, SystemUIServer and Finder
/usr/local/jamf/bin/jamfAgent - Send AppleEvents to SystemEvents, SystemUIServer and Finder
/usr/local/jamf/bin/jamf - Send AppleEvents to SystemEvents, SystemUIServer and Finder

Command used with tccprofile.py to generate the profile:

/path/to/tccprofile.py --appleevents "/Library/Application Support/JAMF/Jamf.app","/System/Library/CoreServices/System Events.app" "/Library/Application Support/JAMF/Jamf.app","/System/Library/CoreServices/SystemUIServer.app" "/Library/Application Support/JAMF/Jamf.app","/System/Library/CoreServices/Finder.app" /usr/local/jamf/bin/jamfAgent,"/System/Library/CoreServices/System Events.app" /usr/local/jamf/bin/jamfAgent,"/System/Library/CoreServices/SystemUIServer.app" /usr/local/jamf/bin/jamfAgent,"/System/Library/CoreServices/Finder.app" /usr/local/jamf/bin/jamf,"/System/Library/CoreServices/System Events.app" /usr/local/jamf/bin/jamf,"/System/Library/CoreServices/SystemUIServer.app" /usr/local/jamf/bin/jamf,"/System/Library/CoreServices/Finder.app" --allow --payload-description="This profile allows specified applications to display information to the logged-in user." --payload-identifier="com.company.jamf.notifications.tcc.privacy.whitelist" --payload-name="Privacy Settings Whitelist - Jamf Notifications" --payload-org="Company Name" --payload-version="1" -o Jamf_All_Notifications_v1.mobileconfig
Original file line number Diff line number Diff line change
Expand Up @@ -8,15 +8,15 @@
<key>PayloadDescription</key>
<string>This profile allows specified applications to display information to the logged-in user.</string>
<key>PayloadDisplayName</key>
<string>Privacy Settings Whitelist - Jamf</string>
<string>Privacy Settings Whitelist - Jamf Notifications</string>
<key>PayloadIdentifier</key>
<string>com.company.jamf.tcc.privacy.whitelist.8BA4991E-AD42-11E8-89CA-D0817ADA38E4</string>
<string>com.company.jamf.notifications.tcc.privacy.whitelist.A1DD22DE-BC42-11E8-9DB6-D0817ADA38E4</string>
<key>PayloadOrganization</key>
<string>Company Name</string>
<key>PayloadType</key>
<string>com.apple.TCC.configuration-profile-policy</string>
<key>PayloadUUID</key>
<string>8BA4991E-AD42-11E8-89CA-D0817ADA38E4</string>
<string>A1DD22DE-BC42-11E8-9DB6-D0817ADA38E4</string>
<key>PayloadVersion</key>
<integer>1</integer>
<key>Services</key>
Expand All @@ -35,7 +35,7 @@
<key>CodeRequirement</key>
<string>identifier "com.jamf.management.Jamf" 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] = "483DWKW443"</string>
<key>Comment</key>
<string>Allow AppleEvents control for Jamf</string>
<string>Allow Jamf to send AppleEvents control to System Events</string>
<key>Identifier</key>
<string>com.jamf.management.Jamf</string>
<key>IdentifierType</key>
Expand All @@ -53,7 +53,7 @@
<key>CodeRequirement</key>
<string>identifier "com.jamf.management.Jamf" 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] = "483DWKW443"</string>
<key>Comment</key>
<string>Allow AppleEvents control for Jamf</string>
<string>Allow Jamf to send AppleEvents control to SystemUIServer</string>
<key>Identifier</key>
<string>com.jamf.management.Jamf</string>
<key>IdentifierType</key>
Expand All @@ -71,7 +71,7 @@
<key>CodeRequirement</key>
<string>identifier "com.jamf.management.Jamf" 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] = "483DWKW443"</string>
<key>Comment</key>
<string>Allow AppleEvents control for Jamf</string>
<string>Allow Jamf to send AppleEvents control to Finder</string>
<key>Identifier</key>
<string>com.jamf.management.Jamf</string>
<key>IdentifierType</key>
Expand All @@ -89,7 +89,7 @@
<key>CodeRequirement</key>
<string>identifier "com.jamfsoftware.jamfAgent" 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] = "483DWKW443"</string>
<key>Comment</key>
<string>Allow AppleEvents control for jamfAgent</string>
<string>Allow jamfAgent to send AppleEvents control to System Events</string>
<key>Identifier</key>
<string>/usr/local/jamf/bin/jamfAgent</string>
<key>IdentifierType</key>
Expand All @@ -107,7 +107,7 @@
<key>CodeRequirement</key>
<string>identifier "com.jamfsoftware.jamfAgent" 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] = "483DWKW443"</string>
<key>Comment</key>
<string>Allow AppleEvents control for jamfAgent</string>
<string>Allow jamfAgent to send AppleEvents control to SystemUIServer</string>
<key>Identifier</key>
<string>/usr/local/jamf/bin/jamfAgent</string>
<key>IdentifierType</key>
Expand All @@ -125,7 +125,7 @@
<key>CodeRequirement</key>
<string>identifier "com.jamfsoftware.jamfAgent" 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] = "483DWKW443"</string>
<key>Comment</key>
<string>Allow AppleEvents control for jamfAgent</string>
<string>Allow jamfAgent to send AppleEvents control to Finder</string>
<key>Identifier</key>
<string>/usr/local/jamf/bin/jamfAgent</string>
<key>IdentifierType</key>
Expand All @@ -143,7 +143,7 @@
<key>CodeRequirement</key>
<string>identifier "com.jamfsoftware.jamf" 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] = "483DWKW443"</string>
<key>Comment</key>
<string>Allow AppleEvents control for jamf</string>
<string>Allow jamf to send AppleEvents control to System Events</string>
<key>Identifier</key>
<string>/usr/local/jamf/bin/jamf</string>
<key>IdentifierType</key>
Expand All @@ -161,7 +161,7 @@
<key>CodeRequirement</key>
<string>identifier "com.jamfsoftware.jamf" 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] = "483DWKW443"</string>
<key>Comment</key>
<string>Allow AppleEvents control for jamf</string>
<string>Allow jamf to send AppleEvents control to SystemUIServer</string>
<key>Identifier</key>
<string>/usr/local/jamf/bin/jamf</string>
<key>IdentifierType</key>
Expand All @@ -179,46 +179,7 @@
<key>CodeRequirement</key>
<string>identifier "com.jamfsoftware.jamf" 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] = "483DWKW443"</string>
<key>Comment</key>
<string>Allow AppleEvents control for jamf</string>
<key>Identifier</key>
<string>/usr/local/jamf/bin/jamf</string>
<key>IdentifierType</key>
<string>path</string>
</dict>
</array>
<key>SystemPolicyAllFiles</key>
<array>
<dict>
<key>Allowed</key>
<true/>
<key>CodeRequirement</key>
<string>identifier "com.jamf.management.Jamf" 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] = "483DWKW443"</string>
<key>Comment</key>
<string>Allow SystemPolicyAllFiles control for Jamf</string>
<key>Identifier</key>
<string>com.jamf.management.Jamf</string>
<key>IdentifierType</key>
<string>bundleID</string>
</dict>
<dict>
<key>Allowed</key>
<true/>
<key>CodeRequirement</key>
<string>identifier "com.jamfsoftware.jamfAgent" 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] = "483DWKW443"</string>
<key>Comment</key>
<string>Allow SystemPolicyAllFiles control for jamfAgent</string>
<key>Identifier</key>
<string>/usr/local/jamf/bin/jamfAgent</string>
<key>IdentifierType</key>
<string>path</string>
</dict>
<dict>
<key>Allowed</key>
<true/>
<key>CodeRequirement</key>
<string>identifier "com.jamfsoftware.jamf" 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] = "483DWKW443"</string>
<key>Comment</key>
<string>Allow SystemPolicyAllFiles control for jamf</string>
<string>Allow jamf to send AppleEvents control to Finder</string>
<key>Identifier</key>
<string>/usr/local/jamf/bin/jamf</string>
<key>IdentifierType</key>
Expand All @@ -231,17 +192,17 @@
<key>PayloadDescription</key>
<string>This profile allows specified applications to display information to the logged-in user.</string>
<key>PayloadDisplayName</key>
<string>Privacy Settings Whitelist - Jamf</string>
<string>Privacy Settings Whitelist - Jamf Notifications</string>
<key>PayloadIdentifier</key>
<string>com.company.jamf.tcc.privacy.whitelist</string>
<string>com.company.jamf.notifications.tcc.privacy.whitelist</string>
<key>PayloadOrganization</key>
<string>Company Name</string>
<key>PayloadScope</key>
<string>system</string>
<key>PayloadType</key>
<string>Configuration</string>
<key>PayloadUUID</key>
<string>8BA5A142-AD42-11E8-B92F-D0817ADA38E4</string>
<string>A1DE27B8-BC42-11E8-BDFC-D0817ADA38E4</string>
<key>PayloadVersion</key>
<integer>1</integer>
</dict>
Expand Down
17 changes: 0 additions & 17 deletions Privacy Settings Whitelist - Jamf/README.txt

This file was deleted.

0 comments on commit e741b96

Please sign in to comment.