<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Which role allows for REST API KV Store Updates? in Getting Data In</title>
    <link>https://community.splunk.com/t5/Getting-Data-In/Which-role-allows-for-REST-API-KV-Store-Updates/m-p/489465#M83688</link>
    <description>&lt;P&gt;I have a dashboard linked to a JavaScript file which allows users to click a button that will pass updates to the KV Store. Therefore, I need to know the minimum amount of access I need to give to users so they can interact with this dashboard successfully.&lt;/P&gt;

&lt;P&gt;I have been reading about the roles here: &lt;A href="https://docs.splunk.com/Documentation/Splunk/latest/Security/Rolesandcapabilities#List_of_available_capabilities" target="_blank"&gt;https://docs.splunk.com/Documentation/Splunk/latest/Security/Rolesandcapabilities#List_of_available_capabilities&lt;/A&gt;&lt;/P&gt;

&lt;P&gt;It seems like the role I should need is called "rest_properties_set" which is included in the user, power, and admin role. However, when testing my dashboard with just the user role, I get the following error:&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;[SPLUNKD] User 'kv_api_test' with roles { kv_api_test, user } cannot write: /nobody/kvStoreApp/collections/myKVStore { read : [ * ], write : [ admin, power ] }, export: app, removable: no
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;My user account is able to update the KV Store when I add the "rest_apps_management" role. However, this role is meant for admins, and the definition states it allows users to alter other apps and do far more than update the KV Store.&lt;/P&gt;

&lt;P&gt;How can I restrict users to only be able to edit KV Store entries without giving any additional access?&lt;/P&gt;</description>
    <pubDate>Wed, 30 Sep 2020 02:20:11 GMT</pubDate>
    <dc:creator>bofasplunkguy</dc:creator>
    <dc:date>2020-09-30T02:20:11Z</dc:date>
    <item>
      <title>Which role allows for REST API KV Store Updates?</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Which-role-allows-for-REST-API-KV-Store-Updates/m-p/489465#M83688</link>
      <description>&lt;P&gt;I have a dashboard linked to a JavaScript file which allows users to click a button that will pass updates to the KV Store. Therefore, I need to know the minimum amount of access I need to give to users so they can interact with this dashboard successfully.&lt;/P&gt;

&lt;P&gt;I have been reading about the roles here: &lt;A href="https://docs.splunk.com/Documentation/Splunk/latest/Security/Rolesandcapabilities#List_of_available_capabilities" target="_blank"&gt;https://docs.splunk.com/Documentation/Splunk/latest/Security/Rolesandcapabilities#List_of_available_capabilities&lt;/A&gt;&lt;/P&gt;

&lt;P&gt;It seems like the role I should need is called "rest_properties_set" which is included in the user, power, and admin role. However, when testing my dashboard with just the user role, I get the following error:&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;[SPLUNKD] User 'kv_api_test' with roles { kv_api_test, user } cannot write: /nobody/kvStoreApp/collections/myKVStore { read : [ * ], write : [ admin, power ] }, export: app, removable: no
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;My user account is able to update the KV Store when I add the "rest_apps_management" role. However, this role is meant for admins, and the definition states it allows users to alter other apps and do far more than update the KV Store.&lt;/P&gt;

&lt;P&gt;How can I restrict users to only be able to edit KV Store entries without giving any additional access?&lt;/P&gt;</description>
      <pubDate>Wed, 30 Sep 2020 02:20:11 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Which-role-allows-for-REST-API-KV-Store-Updates/m-p/489465#M83688</guid>
      <dc:creator>bofasplunkguy</dc:creator>
      <dc:date>2020-09-30T02:20:11Z</dc:date>
    </item>
  </channel>
</rss>

