Search icon CANCEL
Subscription
0
Cart icon
Your Cart (0 item)
Close icon
You have no products in your basket yet
Arrow left icon
Explore Products
Best Sellers
New Releases
Books
Videos
Audiobooks
Learning Hub
Free Learning
Arrow right icon
Arrow up icon
GO TO TOP
Splunk Developer's Guide, Second Edition

You're reading from   Splunk Developer's Guide, Second Edition Learn the A to Z of building excellent Splunk applications with the latest techniques using this comprehensive guide

Arrow left icon
Product type Paperback
Published in Jan 2016
Publisher
ISBN-13 9781785882371
Length 190 pages
Edition 2nd Edition
Tools
Arrow right icon
Authors (2):
Arrow left icon
Kyle Smith Kyle Smith
Author Profile Icon Kyle Smith
Kyle Smith
Marco Scala Marco Scala
Author Profile Icon Marco Scala
Marco Scala
Arrow right icon
View More author details
Toc

Object permissions

Object permissions are an integral part of securing Apps and their knowledge objects. After all, we don't want the user causing issues in an App you spent hours tweaking, do we? No, that's what I thought. This is where permissions come into play. Splunk permissions are role-based, meaning that a user needs a specific role (either assigned by Splunk or via external authentication and authorization systems) to read or write the knowledge object. Permissions are controlled within the default.meta and local.meta files in your metadata folder in the App, and, as per normal Splunk precedence, the local.meta file will override any setting with a matching stanza in the default.meta file.

The configuration structure within the corresponding file is as follows:

[<object_type>/<object_name>]
access = read : [ <comma-separated list of roles>], write : [ comma-separated list of roles>]

Note

This structure is taken from http://docs.splunk.com/Documentation...

lock icon The rest of the chapter is locked
Register for a free Packt account to unlock a world of extra content!
A free Packt account unlocks extra newsletters, articles, discounted offers, and much more. Start advancing your knowledge today.
Unlock this book and the full library FREE for 7 days
Get unlimited access to 7000+ expert-authored eBooks and videos courses covering every tech area you can think of
Renews at $19.99/month. Cancel anytime
Banner background image