Getting Data In

How can I create a role with the capability to delete Splunk apps through REST API?

ganesh_crms
New Member

Hi,
I wants to delete Splunk apps through REST API.
I don't want to use admin credentials in HTTPS request,Kindly suggest me a CAPABILITY to create new role that deletes splunk APPS through REST API.
TIA.

Thanks & Regards,
Ganesh

0 Karma
1 Solution

hardikJsheth
Motivator

You can try following steps:
1. Create new role
2. From Manage Apps assign write access to all the apps where you want to give modify rights.
3. Assign this role to your particular user.
4. Use this user in the REST calls.

With this approach we can allow user to make modification even without admin_all capability. I never got a chance to check delete operation but it's worth trying.

View solution in original post

0 Karma

hardikJsheth
Motivator

You can try following steps:
1. Create new role
2. From Manage Apps assign write access to all the apps where you want to give modify rights.
3. Assign this role to your particular user.
4. Use this user in the REST calls.

With this approach we can allow user to make modification even without admin_all capability. I never got a chance to check delete operation but it's worth trying.

0 Karma
Get Updates on the Splunk Community!

Archived Metrics Now Available for APAC and EMEA realms

We’re excited to announce the launch of Archived Metrics in Splunk Infrastructure Monitoring for our customers ...

Detecting Remote Code Executions With the Splunk Threat Research Team

WATCH NOWRemote code execution (RCE) vulnerabilities pose a significant risk to organizations. If exploited, ...

Enter the Dashboard Challenge and Watch the .conf24 Global Broadcast!

The Splunk Community Dashboard Challenge is still happening, and it's not too late to enter for the week of ...