<?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: How to restrict access to web access data based on user role? in Security</title>
    <link>https://community.splunk.com/t5/Security/How-to-restrict-access-to-web-access-data-based-on-user-role/m-p/260130#M7140</link>
    <description>&lt;P&gt;dflodstrom,&lt;/P&gt;

&lt;P&gt;The data is of different index:&lt;/P&gt;

&lt;UL&gt;
&lt;LI&gt;Active directory (ldap | collect)&lt;/LI&gt;
&lt;LI&gt;Wsa cisco (syslog)&lt;/LI&gt;
&lt;/UL&gt;

&lt;P&gt;Groups / Users come from AD through LDAP Authentication&lt;/P&gt;

&lt;P&gt;No roles have yet been defined for these groups / users, but it would not be a problem if they had to share the same roles&lt;/P&gt;</description>
    <pubDate>Thu, 01 Dec 2016 18:27:16 GMT</pubDate>
    <dc:creator>markuxProof</dc:creator>
    <dc:date>2016-12-01T18:27:16Z</dc:date>
    <item>
      <title>How to restrict access to web access data based on user role?</title>
      <link>https://community.splunk.com/t5/Security/How-to-restrict-access-to-web-access-data-based-on-user-role/m-p/260128#M7138</link>
      <description>&lt;P&gt;Greetings,&lt;/P&gt;

&lt;P&gt;I'm having trouble solving a problem. I need to restrict the viewing of web access data. The rules for viewing are as follows:&lt;/P&gt;

&lt;UL&gt;
&lt;LI&gt;Normal user: You can see only the data related to your accesses.&lt;/LI&gt;
&lt;LI&gt;User Manager: You can view your web access data and all your managed data.&lt;/LI&gt;
&lt;LI&gt;No manager can see data from another management.&lt;/LI&gt;
&lt;LI&gt;Managers who are managers of other managers can see both the data of these managers and the data of those who are managed indirectly by them.&lt;/LI&gt;
&lt;/UL&gt;

&lt;P&gt;I made this diagram for a better understanding&lt;/P&gt;

&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="diagram"&gt;&lt;img src="https://community.splunk.com/t5/image/serverpage/image-id/2211i18C1BA9D70E075C2/image-size/large?v=v2&amp;amp;px=999" role="button" title="diagram" alt="diagram" /&gt;&lt;/span&gt;&lt;/P&gt;

&lt;P&gt;C1 - Your data and all of the company's data&lt;BR /&gt;
D1 - View your data, M1 data and data of all members of G1&lt;BR /&gt;
D2 - View your data, data of, M2, M3 and the data of all members of G2 and G3&lt;BR /&gt;
M1 - View your data and G1 data&lt;BR /&gt;
M2 - View your data and G2 data&lt;BR /&gt;
M3 - View your G3 data and data&lt;BR /&gt;
G1, G2, G3 - Each member only sees their data&lt;/P&gt;

&lt;P&gt;I have not been able to do this through SPL so far because the amount of data is too large and the queries take a long time to finish.&lt;BR /&gt;
Anyone have any suggestions?&lt;/P&gt;</description>
      <pubDate>Thu, 01 Dec 2016 17:51:54 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Security/How-to-restrict-access-to-web-access-data-based-on-user-role/m-p/260128#M7138</guid>
      <dc:creator>markuxProof</dc:creator>
      <dc:date>2016-12-01T17:51:54Z</dc:date>
    </item>
    <item>
      <title>Re: How to restrict access to web access data based on user role?</title>
      <link>https://community.splunk.com/t5/Security/How-to-restrict-access-to-web-access-data-based-on-user-role/m-p/260129#M7139</link>
      <description>&lt;P&gt;Is all of this data in the same index? Do these users all share the same role?&lt;/P&gt;</description>
      <pubDate>Thu, 01 Dec 2016 18:17:35 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Security/How-to-restrict-access-to-web-access-data-based-on-user-role/m-p/260129#M7139</guid>
      <dc:creator>dflodstrom</dc:creator>
      <dc:date>2016-12-01T18:17:35Z</dc:date>
    </item>
    <item>
      <title>Re: How to restrict access to web access data based on user role?</title>
      <link>https://community.splunk.com/t5/Security/How-to-restrict-access-to-web-access-data-based-on-user-role/m-p/260130#M7140</link>
      <description>&lt;P&gt;dflodstrom,&lt;/P&gt;

&lt;P&gt;The data is of different index:&lt;/P&gt;

&lt;UL&gt;
&lt;LI&gt;Active directory (ldap | collect)&lt;/LI&gt;
&lt;LI&gt;Wsa cisco (syslog)&lt;/LI&gt;
&lt;/UL&gt;

&lt;P&gt;Groups / Users come from AD through LDAP Authentication&lt;/P&gt;

&lt;P&gt;No roles have yet been defined for these groups / users, but it would not be a problem if they had to share the same roles&lt;/P&gt;</description>
      <pubDate>Thu, 01 Dec 2016 18:27:16 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Security/How-to-restrict-access-to-web-access-data-based-on-user-role/m-p/260130#M7140</guid>
      <dc:creator>markuxProof</dc:creator>
      <dc:date>2016-12-01T18:27:16Z</dc:date>
    </item>
    <item>
      <title>Re: How to restrict access to web access data based on user role?</title>
      <link>https://community.splunk.com/t5/Security/How-to-restrict-access-to-web-access-data-based-on-user-role/m-p/260131#M7141</link>
      <description>&lt;P&gt;Very interesting. We had a cheerful discussion recently about a similar design challenge at &lt;A href="https://answers.splunk.com/answers/470293/is-my-setup-for-authentication-and-access-control.html#answer-472844"&gt;Is my setup for authentication and access control on data within different indexes and same dashboard appropriate?&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 01 Dec 2016 18:30:30 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Security/How-to-restrict-access-to-web-access-data-based-on-user-role/m-p/260131#M7141</guid>
      <dc:creator>ddrillic</dc:creator>
      <dc:date>2016-12-01T18:30:30Z</dc:date>
    </item>
    <item>
      <title>Re: How to restrict access to web access data based on user role?</title>
      <link>https://community.splunk.com/t5/Security/How-to-restrict-access-to-web-access-data-based-on-user-role/m-p/260132#M7142</link>
      <description>&lt;P&gt;Is this supposed to be a suggestion to users, e.g. a pre-built filter in a dashboard, or a secure hard limit to what they can search even if they tried?&lt;/P&gt;</description>
      <pubDate>Thu, 01 Dec 2016 21:24:27 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Security/How-to-restrict-access-to-web-access-data-based-on-user-role/m-p/260132#M7142</guid>
      <dc:creator>martin_mueller</dc:creator>
      <dc:date>2016-12-01T21:24:27Z</dc:date>
    </item>
    <item>
      <title>Re: How to restrict access to web access data based on user role?</title>
      <link>https://community.splunk.com/t5/Security/How-to-restrict-access-to-web-access-data-based-on-user-role/m-p/260133#M7143</link>
      <description>&lt;P&gt;Are you asking me Martin?&lt;/P&gt;</description>
      <pubDate>Thu, 01 Dec 2016 21:26:35 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Security/How-to-restrict-access-to-web-access-data-based-on-user-role/m-p/260133#M7143</guid>
      <dc:creator>ddrillic</dc:creator>
      <dc:date>2016-12-01T21:26:35Z</dc:date>
    </item>
    <item>
      <title>Re: How to restrict access to web access data based on user role?</title>
      <link>https://community.splunk.com/t5/Security/How-to-restrict-access-to-web-access-data-based-on-user-role/m-p/260134#M7144</link>
      <description>&lt;P&gt;I'm asking about the question itself. If you can answer, fine &lt;span class="lia-unicode-emoji" title=":face_with_tongue:"&gt;😛&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 01 Dec 2016 21:32:37 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Security/How-to-restrict-access-to-web-access-data-based-on-user-role/m-p/260134#M7144</guid>
      <dc:creator>martin_mueller</dc:creator>
      <dc:date>2016-12-01T21:32:37Z</dc:date>
    </item>
    <item>
      <title>Re: How to restrict access to web access data based on user role?</title>
      <link>https://community.splunk.com/t5/Security/How-to-restrict-access-to-web-access-data-based-on-user-role/m-p/260135#M7145</link>
      <description>&lt;P&gt;Hi martin_mueller,&lt;/P&gt;

&lt;P&gt;I want to implement a strict insurance limit for what they can view. Search will only be allowed for administrators. I was thinking of implementing this limit of the second way:&lt;/P&gt;

&lt;P&gt;(Index = cisco_wsa OR index = active_directory) | Eval term = case (user_login = $env:user$, user_login, user_login = manager, bunit) | Search (user_login = term OR bunit = term) | ...&lt;/P&gt;

&lt;P&gt;But implementing this in all queries is very costly for Splunk since the huge mass of data&lt;/P&gt;</description>
      <pubDate>Tue, 29 Sep 2020 12:00:49 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Security/How-to-restrict-access-to-web-access-data-based-on-user-role/m-p/260135#M7145</guid>
      <dc:creator>markuxProof</dc:creator>
      <dc:date>2020-09-29T12:00:49Z</dc:date>
    </item>
    <item>
      <title>Re: How to restrict access to web access data based on user role?</title>
      <link>https://community.splunk.com/t5/Security/How-to-restrict-access-to-web-access-data-based-on-user-role/m-p/260136#M7146</link>
      <description>&lt;P&gt;The best way to do is to create "separate" indexes based on your organisational structure (say your company is ABC)&lt;BR /&gt;
The indexes should be &lt;/P&gt;

&lt;P&gt;ABC_network_ops&lt;BR /&gt;
ABC_os_windows&lt;BR /&gt;
ABC_os_linux&lt;BR /&gt;
ABC_database_oracle&lt;BR /&gt;
ABC_database_db2&lt;/P&gt;

&lt;P&gt;etc. and pump your data into individual indexes.&lt;BR /&gt;
ASsign role access to specific indexes. For example, if you want to give data to "DBA's" , give them  "ABC_database*" in their role.&lt;/P&gt;

&lt;P&gt;Naming convention is of utmost important. I never use "default" indexes of any app, but always use our own indexes with correct naming conventions. The only thing you need to design is to make in-line with your organisational structure&lt;/P&gt;</description>
      <pubDate>Tue, 29 Sep 2020 11:58:08 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Security/How-to-restrict-access-to-web-access-data-based-on-user-role/m-p/260136#M7146</guid>
      <dc:creator>koshyk</dc:creator>
      <dc:date>2020-09-29T11:58:08Z</dc:date>
    </item>
    <item>
      <title>Re: How to restrict access to web access data based on user role?</title>
      <link>https://community.splunk.com/t5/Security/How-to-restrict-access-to-web-access-data-based-on-user-role/m-p/260137#M7147</link>
      <description>&lt;P&gt;Mkay... I'd split this into two problems.&lt;/P&gt;

&lt;P&gt;First, you have a hierarchy of groups and managers. This can be mapped well with indexes and role-based assigment of indexes.&lt;BR /&gt;
For each group Gn you'd create one (set of) indexes and a role. That role inherits capabilities from the default user role, all it contains on top is "this role may search the (set of) indexes for this group".&lt;BR /&gt;
Then you remove all default index visibilities from the default user role. Else everyone would be able to search all non-internal indexes.&lt;BR /&gt;
Now you map your AD groups to roles: Each Gn gets the Gn role, each manager of Gn gets the Gn role, each director gets all Gn underneath that director, and the C-level gets all Gn roles.&lt;/P&gt;

&lt;P&gt;Now you know for certain that no Gn member can search a Gn+1 index, and you have that distinction implemented in a fast way. Any further inefficient dashboard-based restriction you build on top will only have to crawl through this subset of data, speeding up things massively.&lt;/P&gt;</description>
      <pubDate>Fri, 02 Dec 2016 09:19:50 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Security/How-to-restrict-access-to-web-access-data-based-on-user-role/m-p/260137#M7147</guid>
      <dc:creator>martin_mueller</dc:creator>
      <dc:date>2016-12-02T09:19:50Z</dc:date>
    </item>
    <item>
      <title>Re: How to restrict access to web access data based on user role?</title>
      <link>https://community.splunk.com/t5/Security/How-to-restrict-access-to-web-access-data-based-on-user-role/m-p/260138#M7148</link>
      <description>&lt;P&gt;Hi Martin, &lt;/P&gt;

&lt;P&gt;Thanks for the answer. This seems to me the most correct solution. &lt;BR /&gt;
I will implement this way.&lt;/P&gt;</description>
      <pubDate>Fri, 16 Dec 2016 16:25:10 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Security/How-to-restrict-access-to-web-access-data-based-on-user-role/m-p/260138#M7148</guid>
      <dc:creator>markuxProof</dc:creator>
      <dc:date>2016-12-16T16:25:10Z</dc:date>
    </item>
    <item>
      <title>Re: How to restrict access to web access data based on user role?</title>
      <link>https://community.splunk.com/t5/Security/How-to-restrict-access-to-web-access-data-based-on-user-role/m-p/260139#M7149</link>
      <description>&lt;P&gt;@markuxProof - Did the answer provided by martin_mueller help provide a working solution to your question? If yes, please don't forget to resolve this post by clicking "Accept". If no, please leave a comment with more feedback. Thanks!&lt;/P&gt;</description>
      <pubDate>Sat, 17 Dec 2016 08:03:12 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Security/How-to-restrict-access-to-web-access-data-based-on-user-role/m-p/260139#M7149</guid>
      <dc:creator>aaraneta_splunk</dc:creator>
      <dc:date>2016-12-17T08:03:12Z</dc:date>
    </item>
  </channel>
</rss>

