Security

Application level Admin access...

axcherukuri
Engager

Hi,

I was wondering if there is a way to provide admin access @ application level (all its objects) to a specific role instead of global admin access (admin_all_objects).

Thanks

Tags (1)

axcherukuri
Engager

found a solution for this.

  1. Define seperate indexes
  2. assign admin_all_objects accces to the role
  3. from command line add required role to write permissions. File: /etc/apps//metadata/default.meta

Sample default.meta

Application-level permissions

[]
access = read : [ * ], write : [ admin, power, myRole ]

EVENT TYPES

[eventtypes]
access = read : [ * ], write : [ admin, power, myRole ]
export = system

PROPS

[props]
access = read : [ * ], write : [ admin, power, myRole ]
export = system

TRANSFORMS

[transforms]
access = read : [ * ], write : [ admin, power, myRole ]
export = system

LOOKUPS

[lookups]
access = read : [ * ], write : [ admin, power, myRole ]
export = system

VIEWSTATES: even normal users should be able to create shared viewstates

[viewstates]
access = read : [ * ], write : [ * ]
export = system

Thanks

0 Karma
Got questions? Get answers!

Join the Splunk Community Slack to learn, troubleshoot, and make connections with fellow Splunk practitioners in real time!

Meet up IRL or virtually!

Join Splunk User Groups to connect and learn in-person by region or remotely by topic or industry.

Get Updates on the Splunk Community!

Vibe-coding, AI, and Splunkcraft: Highlights from the .conf26 Builder Bar

If you stopped by the Builder Bar at .conf26, thank you! This year, we brought ...

Thanks for the Memories: .conf26 Took Learning to New Heights

Thank you, Splunk Community, for making .conf26 in Denver one for the books. From packed Splunk University ...

Best Practices: Splunk auto adjust pipeline queue

When you enable autoAdjustQueue in Splunk, maxSize should be understood as the queue size Splunk starts with ...