Security

Set default permissions to "all" for new views and saved searches?

rjdargi
Explorer

Right now, when a user creates a new view or saved search, it defaults to Private. Only users with the "admin" role can change these permissions.

Is there a way to change the default behavior so that all users get R/W permissions on views and saved searches?

0 Karma

woodcock
Esteemed Legend

Yes, you do this with default.meta; read about it below in the "Make objects globally available" section:

http://docs.splunk.com/Documentation/Splunk/6.2.3/AdvancedDev/SetPermissions

rjdargi
Explorer

I've attempted to do that, I've added the following to my default.meta. It doesn't seem to work, as new or cloned views still have "Sharing" set to "Private". I want them to be shared with the App itself. Am I doing this wrong?

# This should at least do views.
[views]
access = read : [ * ], write : [ * ]
# This should handle all objects, right?
[]
access = read : [ * ], write : [ * ]
0 Karma

woodcock
Esteemed Legend

You need to add export = system to each stanza for global effect.

rjdargi
Explorer

Right, I don't want global effect, I want them to stay within the app, just not restricted to the current user.

0 Karma

woodcock
Esteemed Legend

That should do it.

0 Karma
Get Updates on the Splunk Community!

Index This | I am a number, but when you add ‘G’ to me, I go away. What number am I?

March 2024 Edition Hayyy Splunk Education Enthusiasts and the Eternally Curious!  We’re back with another ...

What’s New in Splunk App for PCI Compliance 5.3.1?

The Splunk App for PCI Compliance allows customers to extend the power of their existing Splunk solution with ...

Extending Observability Content to Splunk Cloud

Register to join us !   In this Extending Observability Content to Splunk Cloud Tech Talk, you'll see how to ...