LogCollection - Account Privileges for upload

bootrec
New Contributor III

I'm trying to set up and test LogCollection. I created a Jamf user account and want to give it the barest privileges, only what is needed to connect and upload the logs. The only privileges I have configured for this account is create/update Attachment Assignments and create/update File Attachments.

When I run the policy, I get the error "The request requires user authentication". What else do I need to provide this account to be able to connect and upload the log files?

1 ACCEPTED SOLUTION

bootrec
New Contributor III

Found answer in FAQ https://github.com/kc9wwh/logCollection/wiki/FAQ's

View solution in original post

4 REPLIES 4

bootrec
New Contributor III

I configured my LogCollection account with full access and I'm still getting the same error. I can read the inventory information successfully by pointing my browser to https://(server).jamfcloud.com/JSSResource/computers/serialnumber/(serial)/subset/general. It seems to fail at the file upload part of the script.

bootrec
New Contributor III

It works fine if using logCollection.sh, I was trying to use logCollection-encStrings.sh to encrypt the password. Why is that one not working? I'm confused about this command in the script:

jamfProPass=$( echo "$6" | /usr/bin/openssl enc -aes256 -d -a -A -S "$8" -k "$9" )

What is &8 and &9, there are no arguments passed for those.

bootrec
New Contributor III

Found answer in FAQ https://github.com/kc9wwh/logCollection/wiki/FAQ's

gachowski
Valued Contributor II

@bootrec  Thanks that saved me alot of time  : )