Splunk Search

How to change sharing and permissions for a lookup table using the REST API?

polymorphic
Communicator

I need to change sharing and permissions for a lookup table file using the REST API.

I have been searching high and low for documentation, but I have been unable to find anything.

Does anyone have an idea how this is done?

1 Solution

polymorphic
Communicator

Got it:

curl -k -u admin:password http://localhost:8089/servicesNS/js/search/data/lookup-table-files/lookup.csv/acl -d owner=js -d sharing=app -d perms.read=* -d perms.write=*

View solution in original post

kartik13
Communicator

Then i suppose through this url i can change the permission, please correct me if i am wrong
https://localhost:8089/servicesNS/ks/search/saved/fvtags/host=hostvalue/acl

0 Karma

kartik13
Communicator

Then i suppose through this url i can change the permission, please correct me if i am wrong
https://localhost:8089/servicesNS/ks/search/saved/fvtags/host=hostvalue/acl

0 Karma

polymorphic
Communicator

appending /acl (curl -k -u admin:password https://localhost:8089/servicesNS/js/search/data/lookup-table-files/lookup.csv/acl -d owner=js -d sharing=app) seems to do the trick for owner and sharing, but i havent found the param for read and write access.
Anyone?

0 Karma
Get Updates on the Splunk Community!

Splunk Mobile: Your Brand-New Home Screen

Meet Your New Mobile Hub  Hello Splunk Community!  Staying connected to your data—no matter where you are—is ...

Introducing Value Insights (Beta): Understand the Business Impact your organization ...

Real progress on your strategic priorities starts with knowing the business outcomes your teams are delivering ...

Enterprise Security (ES) Essentials 8.3 is Now GA — Smarter Detections, Faster ...

As of today, Enterprise Security (ES) Essentials 8.3 is now generally available, helping SOC teams simplify ...