Getting Data In

Delete Command Permissions - Specific Index

snoobzilla
Builder

We are working on a utility to selectively push data into a summary index. Of CRUD operations we do not have Delete.

I would like to have users be able to use delete command against a that summary index, but not others. Is this possible?

Docs indicate the can_delete role is command specific. Is it possible to allow delete only for a specific index? Maybe clone the can_delete role and give it rights to only to a specific index?

0 Karma
1 Solution

dturnbull_splun
Splunk Employee
Splunk Employee

Using |delete depends on ability to search, so you could create a seperate user & role that has only permissions to a single index and includes the can_delete role.

It's not possible to selectively limit | delete

If your data is changing, it's possibly better suited to the KV Store.

View solution in original post

dturnbull_splun
Splunk Employee
Splunk Employee

Using |delete depends on ability to search, so you could create a seperate user & role that has only permissions to a single index and includes the can_delete role.

It's not possible to selectively limit | delete

If your data is changing, it's possibly better suited to the KV Store.

snoobzilla
Builder

Thanks for the info, will forward to my admin.

0 Karma
Get Updates on the Splunk Community!

What the End of Support for Splunk Add-on Builder Means for You

Hello Splunk Community! We want to share an important update regarding the future of the Splunk Add-on Builder ...

Solve, Learn, Repeat: New Puzzle Channel Now Live

Welcome to the Splunk Puzzle PlaygroundIf you are anything like me, you love to solve problems, and what ...

Building Reliable Asset and Identity Frameworks in Splunk ES

 Accurate asset and identity resolution is the backbone of security operations. Without it, alerts are ...