-
Notifications
You must be signed in to change notification settings - Fork 27
Using Encrypted Strings
Joshua Roskos edited this page May 27, 2021
·
6 revisions
This guide will provide step-by-step instructions for configuring the logCollection-encStrings.sh in Jamf Pro using Script Parameters along with Encrypted Strings via a Self Service Policy.
- Download the Latest Version here
- Add Script to Jamf Pro
- Create New Script
- Assign Name
- Assign Category
- Configure Script Parameter Labels
- Generate Encrypted String
- Open your Internet Browser and go here
- Copy Lines 8-16
- Launch Terminal
- Paste copied lines from above and hit
enter - Enter the following command:
GenerateEncryptedString "yourPasswordHere" - Leave Terminal Open
- Create a Policy
- Assign Policy Name
- Select Trigger & Frequency
- Remove Restart Payload optional
- Attach Script
- Configure Script Parameters
- Jamf Pro URL: https://instanceName.jamfcloud.com
- Jamf Pro User: A Jamf Pro user with the necessary privileges
- Jamf Pro Pass (Encrypted): The encrypted string generated for the above user in step #3
- Log Files: Unix path to log files you want collected
- Recommended: /private/var/log/install.log* /private/var/log/jamf.log /private/var/log/system.log*
- Tips
- Separate multiple log files with a space
- Add an
*to the end to capture rolled over logs
- Salt: This is the salt you generated above in step #3
- Passphrase: This is the passphrase you generated above in step #3
- Configure Scope
- Configure Self Service tab optional
Thats it!


