Security

Question about "run as" (Owner or User ) for saved searches. Missing in version 7.

the_wolverine
Champion
  • It looks like as of version 7, the user is no longer able to edit this setting (Run as Owner vs User). It has moved to Advanced Edit which may be available only to admins.

1 - Does run as "Owner" bypass index access security? Assuming the saved search is readable by a user, that user does not need access to the data to run the search and see results?

2 - Since the saved search is configured to run as "Owner", the Owner's quota will be consumed when the search is run?

The saved search spec describes this setting in:
https://docs.splunk.com/Documentation/Splunk/7.2/Admin/Savedsearchesconf (I believe there is no change for this particular feature since version 6.6)

1 Solution

the_wolverine
Champion

The setting was never removed in version 7. After months of dealing with the loss and non-working solutions, I discovered on my own that it had been relocated to "Edit Permission". The search will always run as Owner if is scheduled (makes sense). When configured as a saved search (not scheduled), the owner can set "Run As" to Owner or User via the Edit Permission.

View solution in original post

the_wolverine
Champion

The setting was never removed in version 7. After months of dealing with the loss and non-working solutions, I discovered on my own that it had been relocated to "Edit Permission". The search will always run as Owner if is scheduled (makes sense). When configured as a saved search (not scheduled), the owner can set "Run As" to Owner or User via the Edit Permission.

ben_leung
Builder

Hi wolverine,

  1. Yea, so for example if you have an admin role user create a saved search with index=_internal and have it run as owner, while sharing it to all roles, a regular user will be able to see the data.

  2. Yea, so if the owners is in the admin role, the admin role's quota will be consumed.

Get Updates on the Splunk Community!

New This Month in Splunk Observability Cloud - Metrics Usage Analytics, Enhanced K8s ...

The latest enhancements across the Splunk Observability portfolio deliver greater flexibility, better data and ...

Alerting Best Practices: How to Create Good Detectors

At their best, detectors and the alerts they trigger notify teams when applications aren’t performing as ...

Discover Powerful New Features in Splunk Cloud Platform: Enhanced Analytics, ...

Hey Splunky people! We are excited to share the latest updates in Splunk Cloud Platform 9.3.2408. In this ...