ryanwoconnor / FitbitAddonforSplunk

An Add-on to collect Fitbit data for Splunk
1 stars 1 forks source link

splunklib.binding.HTTPError: HTTP 403 Forbidden -- You (user=admin) do not have permission to perform this operation (requires capability: list_storage_passwords). #2

Open alexlaverty opened 4 years ago

alexlaverty commented 4 years ago

Hi I tried to install this plugin for splunk version :

splunk --version
Splunk 8.0.1 (build 6db836e2fb9e)

and can see in the /Applications/Splunk/var/log/splunk/splunkd.log :

01-25-2020 15:57:14.989 +1100 ERROR ExecProcessor - message from "/Applications/Splunk/bin/python2.7 /Applications/Splunk/etc/apps/FitbitAddonforSplunk/bin/fitbit_sleep.py" 

splunklib.binding.HTTPError: HTTP 403 Forbidden -- You (user=admin) do not have permission to perform this operation (requires capability: list_storage_passwords).

I have verified the admin role has the list_storage_passwords capability enabled

alexlaverty commented 4 years ago

Managed to get it working with suggestion from :

https://answers.splunk.com/answers/189732/splunk-support-for-active-directory-why-are-non-ad.html#answer-189776

"create a role that inherits from user and adds the admin_all_objects capability."

I'm running this on a local dev splunk instance so I'm not concerned about the security implications.