Security

Splunk SDK user access permissions required

reswob4
Builder

I've had a couple of python scripts that use the sdk to pull search results running for a couple of years. This week I'm upgrading those scripts from python 2.7 to 3.7. I also upgraded the SDK from 1.6.0 to 1.6.6. I'm on Splunk 7.2.3.

But suddenly the username/password of the special account created to be used by the script gets Logon denied errors.

I validated that the username/password works by logging into the browser and by going first to port 8000 on the SH and then to port 8089 on the SH. I go to port 8089 and click on services and type in the username password and I am granted access.

However, when I run the script, it raises the following:

AuthenticationError("login failed.",he)
splunklib.binding.AuthenticationError: Login failed

If I use my admin account, of course everything works.

The special account has user/power permissions. Is there another setting/permission I need to enable?

Thanks

0 Karma
Get Updates on the Splunk Community!

Enterprise Security Content Update (ESCU) | New Releases

In December, the Splunk Threat Research Team had 1 release of new security content via the Enterprise Security ...

Why am I not seeing the finding in Splunk Enterprise Security Analyst Queue?

(This is the first of a series of 2 blogs). Splunk Enterprise Security is a fantastic tool that offers robust ...

Index This | What are the 12 Days of Splunk-mas?

December 2024 Edition Hayyy Splunk Education Enthusiasts and the Eternally Curious!  We’re back with another ...