<?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 create application specific user roles? in Security</title>
    <link>https://community.splunk.com/t5/Security/How-to-create-application-specific-user-roles/m-p/285853#M7633</link>
    <description>&lt;P&gt;@davesplunk01 - Did the answer provided by jkat54 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>Sun, 12 Mar 2017 22:27:21 GMT</pubDate>
    <dc:creator>aaraneta_splunk</dc:creator>
    <dc:date>2017-03-12T22:27:21Z</dc:date>
    <item>
      <title>How to create application specific user roles?</title>
      <link>https://community.splunk.com/t5/Security/How-to-create-application-specific-user-roles/m-p/285851#M7631</link>
      <description>&lt;P&gt;how to create application specific user roles. I have multiple applications, need to keep an set of users to perform read and another set of users to write. but the same set of users may required edit permission on the other applications. &lt;BR /&gt;
Example&lt;/P&gt;

&lt;P&gt;user1 - app1_read, app2_power, app3_read&lt;BR /&gt;
user2- app1_read, app2_read, app3_power&lt;BR /&gt;
user3 - app1_power,app2_read, app3_read&lt;/P&gt;

&lt;P&gt;app_read - can only access like basic user&lt;BR /&gt;
app_power - can edit the knowledge objects and update the permission of other users like (admin).&lt;/P&gt;

&lt;P&gt;thanks, &lt;/P&gt;</description>
      <pubDate>Tue, 29 Sep 2020 12:47:31 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Security/How-to-create-application-specific-user-roles/m-p/285851#M7631</guid>
      <dc:creator>davesplunk01</dc:creator>
      <dc:date>2020-09-29T12:47:31Z</dc:date>
    </item>
    <item>
      <title>Re: How to create application specific user roles?</title>
      <link>https://community.splunk.com/t5/Security/How-to-create-application-specific-user-roles/m-p/285852#M7632</link>
      <description>&lt;P&gt;Typically this is how I do it.&lt;/P&gt;

&lt;P&gt;I will create apps for each integration.  Lets say we're pulling in windows event logs from a sharepoint team's farm...&lt;/P&gt;

&lt;P&gt;myorg_sharpoint_inputs - contains inputs.conf settings (goes to forwarders only)&lt;BR /&gt;
myorg_sharepoint_props - contains props.conf and transforms.conf (goes to forwarders and indexers)&lt;BR /&gt;
myorg_sharepoint_search - contains authorization settings, dashboards, search time knowledge objects (props and transforms too), etc (goes to search heads only)&lt;/P&gt;

&lt;P&gt;In myorg_sharepoint_search i will include the following files in /default (you may chose to use /local instead, depending on your needs):&lt;BR /&gt;
authorize.conf&lt;BR /&gt;
authentication.conf&lt;/P&gt;

&lt;P&gt;authorize.conf will contain something like this:&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;[role_sharepoint_indexes]
srchIndexesAllowed = sharepoint_windows_eventlogs
srchIndexesDefault = sharepoint_windows_eventlogs
...

[role_sharepoint_app_read]
...

[role_sharepoint_app_write]
...

[role_sharepoint_user]
importRoles = role_sharepoint_app_read, role_sharepoint_indexes
... 

[role_sharepoint_power]
importRoles = role_sharepoint_user, role_sharepoint_app_write, role_sharepoint_indexes
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;And authentication.conf will contain something similar to this:&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;[roleMap_LDAPsTRATEGYnAME]
role_sharepoint_user = sharepoint_user_group_name_in_ldap
role_sharepoint_power = sharepoint_power_group_name_in_ldap
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;And also i create a metadata folder with default.meta like this:&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;[]
access = read : [ role_sharepoint_app_read ], write : [ role_sharepoint_app_write, admin ]
export = none
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;I do this for every integration, and specify other stuff in power/user roles in relation to their other capabilities.. (like schedule_rtsearch = disabled, etc.)&lt;/P&gt;

&lt;P&gt;I typically clone the out of the box power &amp;amp; user profiles and then reduce the capabilities according to what the requirements are. So you'll notice im not importing power or user roles &lt;/P&gt;

&lt;P&gt;Sometimes I have a further need for something like role_sharepoint_groupA_filter in case I need to give different groups of users within the sharepoint team different search filters.&lt;/P&gt;

&lt;P&gt;So in conclusion a good model for "personas" is to have a role for each of the following:&lt;BR /&gt;
Index Access&lt;BR /&gt;
Application Access&lt;BR /&gt;
Splunk Capabilities &lt;BR /&gt;
Search Filters&lt;/P&gt;

&lt;P&gt;So that someone can be a member of multiple roles in case they manage more than one team, require access to more than just their team's data, and many other reasons.&lt;/P&gt;</description>
      <pubDate>Tue, 29 Sep 2020 12:50:42 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Security/How-to-create-application-specific-user-roles/m-p/285852#M7632</guid>
      <dc:creator>jkat54</dc:creator>
      <dc:date>2020-09-29T12:50:42Z</dc:date>
    </item>
    <item>
      <title>Re: How to create application specific user roles?</title>
      <link>https://community.splunk.com/t5/Security/How-to-create-application-specific-user-roles/m-p/285853#M7633</link>
      <description>&lt;P&gt;@davesplunk01 - Did the answer provided by jkat54 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>Sun, 12 Mar 2017 22:27:21 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Security/How-to-create-application-specific-user-roles/m-p/285853#M7633</guid>
      <dc:creator>aaraneta_splunk</dc:creator>
      <dc:date>2017-03-12T22:27:21Z</dc:date>
    </item>
  </channel>
</rss>

