no csrf handling ?
Is your feature request related to a problem? Please describe. I try to use the splunk api on a specific endpoint that seems to have CSRF protection. It seems that the current splunk sdk implementation does not handle CSRF cookies
Describe the solution you'd like Implementing an option to store and send back splunk csrf cookie
Describe alternatives you've considered Create a proxy that will store the tokens and csrf tokens and add the splunkd_8089 cookie and X-Splunk-Form-Key headers, or just dont use the api wrapper and do requests by hand which is unfortunate
Additional context I might be interested in implementing this stuff myself, if this feature request gets accepted
Hi,
Could you give us some more details about the problem you are trying to solve?
Have you tried using the headers param?
https://github.com/splunk/splunk-sdk-python/blob/c710f47efad51fd921003c91c51ec2b86bf2b18c/splunklib/binding.py#L736-L737
Closing for now, let us know if this issue still persists.