Security

users can't access result of SPL

mehrdad_2000
Builder

Hi
I search exact same SPL, it run and return result with admin user, but doesn't return anything with normal user!

Workaround:
1-set permission for Datamodel And Search. (Read permisison to all)
2-set user index (setting > Access control > role > user > index)

FYI: 1-Data indexed on separate index.
2-without complete SPL I can access to the result with user like this: index="myindex" | search error*

3-inspect job : INFO UserManager - Unwound user context: myuser-> NULL

alt text

Any recommendation?
Thanks,

Labels (2)
0 Karma

gcusello
SplunkTrust
SplunkTrust

Hi @mehrdad_2000,
if you already checked the grants on indexes, did you checked the grants on the knowledge objects "RootObject.*"?

If they are ok, try to run the search in verbose Mode instead Smart Mode for normal user.

To debug your search, delete one after one the parts of the search until pipe, at first the last part, the the previous, etc...
I think that you'll find that, deleting your search until the search command, your search will give results, but without fields definitions.

Ciao.
Giuseppe

0 Karma

mehrdad_2000
Builder

1- How can I check "grants on the knowledge objects "RootObject."?"
2- checked different modes.
3- only return result when remove all other part and remain just this part: index="myindex" | search error

Thanks,

0 Karma
.conf21 Now Fully Virtual!
Register for FREE Today!

We've made .conf21 totally virtual and totally FREE! Our completely online experience will run from 10/19 through 10/20 with some additional events, too!