Closed nicolas-rdgs closed 1 year ago
Hi @nicolas-rdgs , Thank you for reporting this. we are planning to introduce a new feature to update an ACL properties and it'll be available on next release.
Hi @nicolas-rdgs , we have added new method to update ACL properties and it will be available in the next release.
Great! Thank you @akaila-splunk!
@nicolas-rdgs we have published the latest Python SDK v1.7.3 with the ACL update feature, request you to pull the latest release and let us know in case any issue persists. Thanks!
Describe the bug
I don't know if it's really a bug, but the client send a bad request to Splunk because there is a conflict key argument.
The client returns a 403 Forbidden error when I try to change the owner of a saved search via the "POST" method of SavedSearch object/entity.
Splunk (please complete the following information):
SDK (please complete the following information):
To Reproduce
After some investigation, this following line is the root cause:
Because "**query" replace the values of owner, app and sharing arguments, so query become empty and kwargs in HttpLib.post too. I have the same behavior when I do:
I discovered the "body" argument/key from binding.py (line: 1221) that parse correctly the POST data, so when I do the following request, it works:
It is the correct way to do that or it is a unwanted behavior?