Security

users can't access result of SPL

indeed_2000
Motivator

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

indeed_2000
Motivator

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
Career Survey
First 500 qualified respondents will receive a $20 gift card! Tell us about your professional Splunk journey.

Can’t make it to .conf25? Join us online!

Get Updates on the Splunk Community!

Take Action Automatically on Splunk Alerts with Red Hat Ansible Automation Platform

 Are you ready to revolutionize your IT operations? As digital transformation accelerates, the demand for ...

Calling All Security Pros: Ready to Race Through Boston?

Hey Splunkers, .conf25 is heading to Boston and we’re kicking things off with something bold, competitive, and ...

Beyond Detection: How Splunk and Cisco Integrated Security Platforms Transform ...

Financial services organizations face an impossible equation: maintain 99.9% uptime for mission-critical ...