<?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 Re: Restrict a user's ability to write to indexes in Security</title>
    <link>https://community.splunk.com/t5/Security/Restrict-a-user-s-ability-to-write-to-indexes/m-p/199278#M5816</link>
    <description>&lt;P&gt;I confirm, I tested and the permissions change on&lt;CODE&gt;[commands/pycollect]&lt;/CODE&gt; or &lt;CODE&gt;[commands/collect]&lt;/CODE&gt; are not preventing an user to use the command.&lt;BR /&gt;
Adding an option to Disable this command will be a new feature request.&lt;/P&gt;</description>
    <pubDate>Fri, 04 Apr 2014 20:28:47 GMT</pubDate>
    <dc:creator>yannK</dc:creator>
    <dc:date>2014-04-04T20:28:47Z</dc:date>
    <item>
      <title>Restrict a user's ability to write to indexes</title>
      <link>https://community.splunk.com/t5/Security/Restrict-a-user-s-ability-to-write-to-indexes/m-p/199273#M5811</link>
      <description>&lt;P&gt;All - A user brought an issue to my attention today that i can't find a solution to. This user currently has the need to search through hypothetical index=a and index=b. He showed me that he could use the following command to write results to index=a or index=b:&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;index=b whateverfilter=true | head 2 | collect index=a marker="report=testing123" testmode=false
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;I have confirmed his write to the index to be successful. Although i'm able to easily identify the events he wrote to the index by searching for sourcetype=stash, the fact that he can write to the index is a pretty big no-no for us. &lt;/P&gt;

&lt;P&gt;One post (&lt;A href="http://answers.splunk.com/answers/7565/summary-index-question"&gt;http://answers.splunk.com/answers/7565/summary-index-question&lt;/A&gt;) suggested using local.meta to limit read's/write's to the index, however it doesn't appear to work. &lt;/P&gt;

&lt;P&gt;Does anyone know how i can restrict a user's ability to write events to an index??&lt;/P&gt;

&lt;P&gt;update: The user who brought this to my attention has the equivalent permissions to the default 'User' role.&lt;BR /&gt;
update2: I'm running Splunk Enterprise 5.0.6&lt;/P&gt;</description>
      <pubDate>Wed, 26 Mar 2014 01:33:20 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Security/Restrict-a-user-s-ability-to-write-to-indexes/m-p/199273#M5811</guid>
      <dc:creator>w531t4</dc:creator>
      <dc:date>2014-03-26T01:33:20Z</dc:date>
    </item>
    <item>
      <title>Re: Restrict a user's ability to write to indexes</title>
      <link>https://community.splunk.com/t5/Security/Restrict-a-user-s-ability-to-write-to-indexes/m-p/199274#M5812</link>
      <description>&lt;P&gt;They are 2 methods to write in a summary index :&lt;/P&gt;

&lt;UL&gt;
&lt;LI&gt;&lt;P&gt;search with the " | collect" command&lt;/P&gt;

&lt;UL&gt;
&lt;LI&gt; quick method to disable the collect : change the permissions on the  the "collect" command, to allow only power or admin roles to use it, [EDIT]  &lt;STRONG&gt;first method not working&lt;/STRONG&gt; &lt;/LI&gt;
&lt;/UL&gt;&lt;/LI&gt;
&lt;LI&gt;&lt;P&gt;scheduled search with the option "summary"&lt;/P&gt;

&lt;UL&gt;
&lt;LI&gt;For scheduled summary populating searches, they are already limited to power users (regular users cannot schedule a search by default), you may want to verify the the role capabilities see "schedule_search"
&lt;A href="http://docs.splunk.com/Documentation/Splunk/6.0.2/Security/Rolesandcapabilities"&gt;http://docs.splunk.com/Documentation/Splunk/6.0.2/Security/Rolesandcapabilities&lt;/A&gt;&lt;/LI&gt;
&lt;/UL&gt;&lt;/LI&gt;
&lt;/UL&gt;</description>
      <pubDate>Wed, 26 Mar 2014 14:59:35 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Security/Restrict-a-user-s-ability-to-write-to-indexes/m-p/199274#M5812</guid>
      <dc:creator>yannK</dc:creator>
      <dc:date>2014-03-26T14:59:35Z</dc:date>
    </item>
    <item>
      <title>Re: Restrict a user's ability to write to indexes</title>
      <link>https://community.splunk.com/t5/Security/Restrict-a-user-s-ability-to-write-to-indexes/m-p/199275#M5813</link>
      <description>&lt;P&gt;I like your comment about disabling collect.. how is this done?&lt;/P&gt;</description>
      <pubDate>Wed, 26 Mar 2014 15:49:52 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Security/Restrict-a-user-s-ability-to-write-to-indexes/m-p/199275#M5813</guid>
      <dc:creator>w531t4</dc:creator>
      <dc:date>2014-03-26T15:49:52Z</dc:date>
    </item>
    <item>
      <title>Re: Restrict a user's ability to write to indexes</title>
      <link>https://community.splunk.com/t5/Security/Restrict-a-user-s-ability-to-write-to-indexes/m-p/199276#M5814</link>
      <description>&lt;P&gt;in the UI go to settings &amp;gt; Advanced search &amp;gt;  Search commands&lt;BR /&gt;
filter for the search app, and search for "collect"&lt;BR /&gt;
then change permissions based on role.&lt;/P&gt;</description>
      <pubDate>Wed, 26 Mar 2014 17:11:16 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Security/Restrict-a-user-s-ability-to-write-to-indexes/m-p/199276#M5814</guid>
      <dc:creator>yannK</dc:creator>
      <dc:date>2014-03-26T17:11:16Z</dc:date>
    </item>
    <item>
      <title>Re: Restrict a user's ability to write to indexes</title>
      <link>https://community.splunk.com/t5/Security/Restrict-a-user-s-ability-to-write-to-indexes/m-p/199277#M5815</link>
      <description>&lt;P&gt;'collect' is not listed as a search command in the search app. There's pycollect and pystash. I've made those read/write admin only and i'm still able to use the collect command as a under-priveldged user&lt;/P&gt;</description>
      <pubDate>Fri, 04 Apr 2014 19:19:36 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Security/Restrict-a-user-s-ability-to-write-to-indexes/m-p/199277#M5815</guid>
      <dc:creator>w531t4</dc:creator>
      <dc:date>2014-04-04T19:19:36Z</dc:date>
    </item>
    <item>
      <title>Re: Restrict a user's ability to write to indexes</title>
      <link>https://community.splunk.com/t5/Security/Restrict-a-user-s-ability-to-write-to-indexes/m-p/199278#M5816</link>
      <description>&lt;P&gt;I confirm, I tested and the permissions change on&lt;CODE&gt;[commands/pycollect]&lt;/CODE&gt; or &lt;CODE&gt;[commands/collect]&lt;/CODE&gt; are not preventing an user to use the command.&lt;BR /&gt;
Adding an option to Disable this command will be a new feature request.&lt;/P&gt;</description>
      <pubDate>Fri, 04 Apr 2014 20:28:47 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Security/Restrict-a-user-s-ability-to-write-to-indexes/m-p/199278#M5816</guid>
      <dc:creator>yannK</dc:creator>
      <dc:date>2014-04-04T20:28:47Z</dc:date>
    </item>
    <item>
      <title>Re: Restrict a user's ability to write to indexes</title>
      <link>https://community.splunk.com/t5/Security/Restrict-a-user-s-ability-to-write-to-indexes/m-p/199279#M5817</link>
      <description>&lt;P&gt;There is currently an outstanding ER for it:&lt;BR /&gt;
SPL-133287: ability to specify an index as read-only&lt;/P&gt;</description>
      <pubDate>Fri, 16 Mar 2018 22:47:15 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Security/Restrict-a-user-s-ability-to-write-to-indexes/m-p/199279#M5817</guid>
      <dc:creator>splunkIT</dc:creator>
      <dc:date>2018-03-16T22:47:15Z</dc:date>
    </item>
    <item>
      <title>Re: Restrict a user's ability to write to indexes</title>
      <link>https://community.splunk.com/t5/Security/Restrict-a-user-s-ability-to-write-to-indexes/m-p/199280#M5818</link>
      <description>&lt;P&gt;Do not give the [capability::indexes_edit] permission in authorize.conf&lt;/P&gt;</description>
      <pubDate>Mon, 04 Jun 2018 16:01:28 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Security/Restrict-a-user-s-ability-to-write-to-indexes/m-p/199280#M5818</guid>
      <dc:creator>alanden_splunk</dc:creator>
      <dc:date>2018-06-04T16:01:28Z</dc:date>
    </item>
    <item>
      <title>Re: Restrict a user's ability to write to indexes</title>
      <link>https://community.splunk.com/t5/Security/Restrict-a-user-s-ability-to-write-to-indexes/m-p/199281#M5819</link>
      <description>&lt;P&gt;"indexes_edit" is for the ability to modify the properties of the index. It doesn't change the ability to write data to an index.&lt;/P&gt;

&lt;P&gt;from the docs at &lt;A href="http://docs.splunk.com/Documentation/Splunk/7.1.1/Security/Rolesandcapabilities"&gt;http://docs.splunk.com/Documentation/Splunk/7.1.1/Security/Rolesandcapabilities&lt;/A&gt;&lt;/P&gt;

&lt;P&gt;"indexes_edit   Lets the user change any index settings such as file size and memory limits. "&lt;/P&gt;</description>
      <pubDate>Mon, 04 Jun 2018 16:45:21 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Security/Restrict-a-user-s-ability-to-write-to-indexes/m-p/199281#M5819</guid>
      <dc:creator>sbrant_splunk</dc:creator>
      <dc:date>2018-06-04T16:45:21Z</dc:date>
    </item>
    <item>
      <title>Re: Restrict a user's ability to write to indexes</title>
      <link>https://community.splunk.com/t5/Security/Restrict-a-user-s-ability-to-write-to-indexes/m-p/199282#M5820</link>
      <description>&lt;P&gt;Normally, that is my instinct as well, but I can tell you that only a few hours ago I saw a user account for a customer denied permission to use the collect command until after the customer reported giving the indexes_edit capability.  After which time, the collect command worked perfectly.  So I can report that after the customer reported giving that capability and doing nothing else, I saw the collect command become functional for the user.  I will verify that I understood their report correctly, but I am 99% sure at this point.&lt;/P&gt;</description>
      <pubDate>Mon, 04 Jun 2018 20:23:37 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Security/Restrict-a-user-s-ability-to-write-to-indexes/m-p/199282#M5820</guid>
      <dc:creator>alanden_splunk</dc:creator>
      <dc:date>2018-06-04T20:23:37Z</dc:date>
    </item>
  </channel>
</rss>

