<?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: Users with multiple Splunk Roles in Security</title>
    <link>https://community.splunk.com/t5/Security/Users-with-multiple-Splunk-Roles/m-p/48817#M1601</link>
    <description>&lt;P&gt;YannK,&lt;/P&gt;

&lt;P&gt;I have verified that &lt;EM&gt;srchIndexesAllowed&lt;/EM&gt; values are correctly being inherited, i.e. members of the foo and goo groups get the combination of the two:&lt;BR /&gt;&lt;BR /&gt;
foo --&amp;gt;&lt;EM&gt;srchIndexesAllowed&lt;/EM&gt;=&lt;STRONG&gt;foo&lt;/STRONG&gt;&lt;BR /&gt;&lt;BR /&gt;
goo --&amp;gt; &lt;EM&gt;srchIndexesAllowed&lt;/EM&gt;=&lt;STRONG&gt;goo&lt;/STRONG&gt;&lt;BR /&gt;&lt;BR /&gt;
ending with the user getting --&amp;gt; &lt;EM&gt;srchIndexesAllowed&lt;/EM&gt;=&lt;STRONG&gt;foo,goo&lt;/STRONG&gt; &lt;/P&gt;

&lt;P&gt;However, the &lt;EM&gt;SrchIndexesDefault&lt;/EM&gt; fields are not working in the same way. To use the example from above:&lt;/P&gt;

&lt;P&gt;foo --&amp;gt;&lt;EM&gt;srchIndexesAllowed&lt;/EM&gt;=&lt;STRONG&gt;foo&lt;/STRONG&gt;&lt;BR /&gt;&lt;BR /&gt;
goo --&amp;gt; &lt;EM&gt;srchIndexesAllowed&lt;/EM&gt;=&lt;STRONG&gt;goo&lt;/STRONG&gt;&lt;BR /&gt;&lt;BR /&gt;
ending with the user getting --&amp;gt; &lt;EM&gt;srchIndexesAllowed&lt;/EM&gt;=&lt;STRONG&gt;goo&lt;/STRONG&gt; &lt;/P&gt;

&lt;P&gt;Will file a support ticket.&lt;/P&gt;</description>
    <pubDate>Mon, 14 May 2012 19:21:45 GMT</pubDate>
    <dc:creator>cbowles</dc:creator>
    <dc:date>2012-05-14T19:21:45Z</dc:date>
    <item>
      <title>Users with multiple Splunk Roles</title>
      <link>https://community.splunk.com/t5/Security/Users-with-multiple-Splunk-Roles/m-p/48815#M1599</link>
      <description>&lt;P&gt;I've got a Splunk Installation with multiple independent Splunk Roles that grant access to individual indexes and also list that index as the default search index.  My assumption was that the SrchIndexesDefault field would be &lt;STRONG&gt;OR&lt;/STRONG&gt;'d between the various group memberships, similar to how the &lt;STRONG&gt;srchFilter&lt;/STRONG&gt; works, so that the final default search indexes would be the combination of all of the individual groups.&lt;/P&gt;

&lt;P&gt;However, I have found that instead it is the final Splunk group that provides the SrchIndexesDefault value.  &lt;/P&gt;

&lt;P&gt;I.e. if the user was a member of &lt;STRONG&gt;foo&lt;/STRONG&gt; and &lt;STRONG&gt;goo&lt;/STRONG&gt; , it would be the SrchIndexesDefault from &lt;STRONG&gt;goo&lt;/STRONG&gt; that would apply to the user.&lt;/P&gt;

&lt;P&gt;Two questions:&lt;/P&gt;

&lt;OL&gt;
&lt;LI&gt;Am I missing something here, or is this implementation of &lt;STRONG&gt;SrchIndexesDefault&lt;/STRONG&gt; working as designed?&lt;BR /&gt;&lt;/LI&gt;
&lt;LI&gt;What is the recommended manner for granting access to multiple independent indexes?  I am considering creating  higher-level groups that inherit the values of the lower level groups, but I would prefer to preserve my building block approach if possible.&lt;/LI&gt;
&lt;/OL&gt;

&lt;P&gt;Thanks!&lt;/P&gt;

&lt;P&gt;Chris Bowles&lt;/P&gt;</description>
      <pubDate>Thu, 10 May 2012 22:03:56 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Security/Users-with-multiple-Splunk-Roles/m-p/48815#M1599</guid>
      <dc:creator>cbowles</dc:creator>
      <dc:date>2012-05-10T22:03:56Z</dc:date>
    </item>
    <item>
      <title>Re: Users with multiple Splunk Roles</title>
      <link>https://community.splunk.com/t5/Security/Users-with-multiple-Splunk-Roles/m-p/48816#M1600</link>
      <description>&lt;P&gt;Please differentiate &lt;EM&gt;srchIndexesAllowed&lt;/EM&gt; and &lt;EM&gt;SrchIndexesDefault&lt;/EM&gt;, the first one contains the real permissions, the second one can be easily bypassed at search time with by index=*.&lt;/P&gt;

&lt;P&gt;According to the docs : "Members of multiple roles inherit properties from the role with the broadest permissions."&lt;/P&gt;

&lt;P&gt;So if user has the foo and goo :&lt;/P&gt;

&lt;UL&gt;
&lt;LI&gt;foo SrchIndexesDefault=A&lt;/LI&gt;
&lt;LI&gt;goo SrchIndexesDefault=B&lt;/LI&gt;
&lt;/UL&gt;

&lt;P&gt;at the end the user should be able to search on both A and B by default.&lt;/P&gt;

&lt;P&gt;If this is not the case, please fill a support case.&lt;/P&gt;</description>
      <pubDate>Thu, 10 May 2012 22:51:00 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Security/Users-with-multiple-Splunk-Roles/m-p/48816#M1600</guid>
      <dc:creator>yannK</dc:creator>
      <dc:date>2012-05-10T22:51:00Z</dc:date>
    </item>
    <item>
      <title>Re: Users with multiple Splunk Roles</title>
      <link>https://community.splunk.com/t5/Security/Users-with-multiple-Splunk-Roles/m-p/48817#M1601</link>
      <description>&lt;P&gt;YannK,&lt;/P&gt;

&lt;P&gt;I have verified that &lt;EM&gt;srchIndexesAllowed&lt;/EM&gt; values are correctly being inherited, i.e. members of the foo and goo groups get the combination of the two:&lt;BR /&gt;&lt;BR /&gt;
foo --&amp;gt;&lt;EM&gt;srchIndexesAllowed&lt;/EM&gt;=&lt;STRONG&gt;foo&lt;/STRONG&gt;&lt;BR /&gt;&lt;BR /&gt;
goo --&amp;gt; &lt;EM&gt;srchIndexesAllowed&lt;/EM&gt;=&lt;STRONG&gt;goo&lt;/STRONG&gt;&lt;BR /&gt;&lt;BR /&gt;
ending with the user getting --&amp;gt; &lt;EM&gt;srchIndexesAllowed&lt;/EM&gt;=&lt;STRONG&gt;foo,goo&lt;/STRONG&gt; &lt;/P&gt;

&lt;P&gt;However, the &lt;EM&gt;SrchIndexesDefault&lt;/EM&gt; fields are not working in the same way. To use the example from above:&lt;/P&gt;

&lt;P&gt;foo --&amp;gt;&lt;EM&gt;srchIndexesAllowed&lt;/EM&gt;=&lt;STRONG&gt;foo&lt;/STRONG&gt;&lt;BR /&gt;&lt;BR /&gt;
goo --&amp;gt; &lt;EM&gt;srchIndexesAllowed&lt;/EM&gt;=&lt;STRONG&gt;goo&lt;/STRONG&gt;&lt;BR /&gt;&lt;BR /&gt;
ending with the user getting --&amp;gt; &lt;EM&gt;srchIndexesAllowed&lt;/EM&gt;=&lt;STRONG&gt;goo&lt;/STRONG&gt; &lt;/P&gt;

&lt;P&gt;Will file a support ticket.&lt;/P&gt;</description>
      <pubDate>Mon, 14 May 2012 19:21:45 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Security/Users-with-multiple-Splunk-Roles/m-p/48817#M1601</guid>
      <dc:creator>cbowles</dc:creator>
      <dc:date>2012-05-14T19:21:45Z</dc:date>
    </item>
    <item>
      <title>Re: Users with multiple Splunk Roles</title>
      <link>https://community.splunk.com/t5/Security/Users-with-multiple-Splunk-Roles/m-p/48818#M1602</link>
      <description>&lt;P&gt;&lt;STRONG&gt;Followup - Problem Resolved&lt;/STRONG&gt;&lt;/P&gt;

&lt;P&gt;At it turns out, Splunk was working as advertised.  The problem observed was the result of two different configurations interacting in an unexpected way.&lt;/P&gt;

&lt;P&gt;The user in question had been granted access to the index in question via a Splunk Group that had only granted access (but not set the index as a "default search")  The group that was supposed to grant access &lt;STRONG&gt;and&lt;/STRONG&gt; set the index as default was not being used since its corresponding Active Directory group was empty.&lt;/P&gt;

&lt;P&gt;Under the assumption that the specific group was working correctly, the only explanation was that there was a Splunk bug with how the &lt;EM&gt;SrchIndexesDefault&lt;/EM&gt; variable was being combined for the user.  &lt;/P&gt;

&lt;P&gt;Once I discovered that the user was being given access to the index through a group that did &lt;STRONG&gt;not&lt;/STRONG&gt; set the &lt;EM&gt;SrchIndexesDefault&lt;/EM&gt; variable, the pieces fell into place.&lt;/P&gt;

&lt;P&gt;I rectified the config and test, and Splunk worked correctly.&lt;/P&gt;</description>
      <pubDate>Fri, 18 May 2012 17:01:00 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Security/Users-with-multiple-Splunk-Roles/m-p/48818#M1602</guid>
      <dc:creator>cbowles</dc:creator>
      <dc:date>2012-05-18T17:01:00Z</dc:date>
    </item>
  </channel>
</rss>

