<?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 manage authorize.conf and authentication.conf in a SHC? in Splunk Enterprise</title>
    <link>https://community.splunk.com/t5/Splunk-Enterprise/How-to-manage-authorize-conf-and-authentication-conf-in-a-SHC/m-p/648554#M16673</link>
    <description>&lt;P&gt;hi&amp;nbsp;&lt;a href="https://community.splunk.com/t5/user/viewprofilepage/user-id/194981"&gt;@dural_yyz&lt;/a&gt;&amp;nbsp; many thanks for the response.&lt;BR /&gt;&lt;BR /&gt;Do you have an example of what the config likes. I know what I am trying to achieve but struggling with what the actual config should look like&lt;/P&gt;</description>
    <pubDate>Wed, 28 Jun 2023 14:49:32 GMT</pubDate>
    <dc:creator>pbrinkman</dc:creator>
    <dc:date>2023-06-28T14:49:32Z</dc:date>
    <item>
      <title>How to manage authorize.conf and authentication.conf in a SHC?</title>
      <link>https://community.splunk.com/t5/Splunk-Enterprise/How-to-manage-authorize-conf-and-authentication-conf-in-a-SHC/m-p/575679#M10770</link>
      <description>&lt;P&gt;Hello.&lt;/P&gt;&lt;P&gt;I am running 8.2.2 on Linux.&amp;nbsp; I have a SHC with three members.&lt;/P&gt;&lt;P&gt;I have three indexes.&amp;nbsp; I would like to restrict the searchable index for each role and I would like to understand the best way to distribute that change.&lt;/P&gt;&lt;P&gt;I used the web GUI to create the roles, which the cluster replicated.&amp;nbsp; However, the GUI does not permit non-internal indexes to be deselected.&amp;nbsp; Therefore, I have edited &lt;FONT face="courier new,courier"&gt;authorize.conf&lt;/FONT&gt; on each member.&amp;nbsp; I am using&amp;nbsp;&lt;FONT face="courier new,courier"&gt;srchIndexesDisallowed&lt;/FONT&gt;.&amp;nbsp; An account with&amp;nbsp;&lt;FONT face="courier new,courier"&gt;role_user_a&lt;/FONT&gt;&amp;nbsp;should only be able to search &lt;FONT face="courier new,courier"&gt;index_a&lt;/FONT&gt;.&amp;nbsp; &amp;nbsp;The configuration below works, but how should I manage changes like this given the GUI limitation -- should I continue to edit the file directly (along with &lt;FONT face="courier new,courier"&gt;authentication.conf&lt;/FONT&gt;) going forward (and not use the GUI)?&lt;/P&gt;&lt;PRE&gt;$ splunk btool --debug authorize list role_user_a&lt;BR /&gt;/opt/splunk/etc/system/local/authorize.conf [role_user_a]&lt;BR /&gt;/opt/splunk/etc/system/local/authorize.conf cumulativeRTSrchJobsQuota = 0&lt;BR /&gt;/opt/splunk/etc/system/local/authorize.conf cumulativeSrchJobsQuota = 0&lt;BR /&gt;/opt/splunk/etc/system/local/authorize.conf importRoles = user&lt;BR /&gt;/opt/splunk/etc/system/default/authorize.conf rtSrchJobsQuota = 6&lt;BR /&gt;/opt/splunk/etc/system/default/authorize.conf run_collect = enabled&lt;BR /&gt;/opt/splunk/etc/system/default/authorize.conf run_mcollect = enabled&lt;BR /&gt;/opt/splunk/etc/system/default/authorize.conf schedule_rtsearch = enabled&lt;BR /&gt;/opt/splunk/etc/system/default/authorize.conf srchDiskQuota = 100&lt;BR /&gt;/opt/splunk/etc/system/default/authorize.conf srchFilterSelecting = true&lt;BR /&gt;/opt/splunk/etc/system/local/authorize.conf srchIndexesAllowed = index_a&lt;BR /&gt;/opt/splunk/etc/system/local/authorize.conf srchIndexesDefault = index_a&lt;BR /&gt;/opt/splunk/etc/system/local/authorize.conf srchIndexesDisallowed = index_b;index_c&lt;BR /&gt;/opt/splunk/etc/system/default/authorize.conf srchJobsQuota = 3&lt;/PRE&gt;&lt;P&gt;Thanks for your help.&lt;/P&gt;</description>
      <pubDate>Fri, 19 Nov 2021 16:33:55 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Enterprise/How-to-manage-authorize-conf-and-authentication-conf-in-a-SHC/m-p/575679#M10770</guid>
      <dc:creator>Jamie</dc:creator>
      <dc:date>2021-11-19T16:33:55Z</dc:date>
    </item>
    <item>
      <title>Re: How to manage authorize.conf and authentication.conf in a SHC?</title>
      <link>https://community.splunk.com/t5/Splunk-Enterprise/How-to-manage-authorize-conf-and-authentication-conf-in-a-SHC/m-p/575688#M10772</link>
      <description>&lt;P&gt;Move the settings from etc/system/local/ to an app then deploy the app from the SHC deployer.&lt;/P&gt;</description>
      <pubDate>Fri, 19 Nov 2021 16:47:25 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Enterprise/How-to-manage-authorize-conf-and-authentication-conf-in-a-SHC/m-p/575688#M10772</guid>
      <dc:creator>richgalloway</dc:creator>
      <dc:date>2021-11-19T16:47:25Z</dc:date>
    </item>
    <item>
      <title>Re: How to manage authorize.conf and authentication.conf in a SHC?</title>
      <link>https://community.splunk.com/t5/Splunk-Enterprise/How-to-manage-authorize-conf-and-authentication-conf-in-a-SHC/m-p/575689#M10773</link>
      <description>&lt;P&gt;&lt;a href="https://community.splunk.com/t5/user/viewprofilepage/user-id/213957"&gt;@richgalloway&lt;/a&gt;,&lt;/P&gt;&lt;P&gt;Thanks for the quick response.&amp;nbsp; I had considered that, but given that both files are included in the SHC replication I thought that might lead to problems.&amp;nbsp; Do you manage the files that way and does that mean further GUI edits of both files need to be avoided, do you know?&amp;nbsp; Thanks again.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 19 Nov 2021 16:51:24 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Enterprise/How-to-manage-authorize-conf-and-authentication-conf-in-a-SHC/m-p/575689#M10773</guid>
      <dc:creator>Jamie</dc:creator>
      <dc:date>2021-11-19T16:51:24Z</dc:date>
    </item>
    <item>
      <title>Re: How to manage authorize.conf and authentication.conf in a SHC?</title>
      <link>https://community.splunk.com/t5/Splunk-Enterprise/How-to-manage-authorize-conf-and-authentication-conf-in-a-SHC/m-p/575699#M10775</link>
      <description>&lt;P&gt;The fact that the GUI doesn't let you do all you need to do should be enough to steer you toward another method.&amp;nbsp; IMO, clusters should be managed as clusters, with the deployer as the Source of Truth for what the configuration should be.&amp;nbsp; Configuration changes should be made at the deployer and then deployed to SHC members.&lt;/P&gt;</description>
      <pubDate>Fri, 19 Nov 2021 17:47:38 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Enterprise/How-to-manage-authorize-conf-and-authentication-conf-in-a-SHC/m-p/575699#M10775</guid>
      <dc:creator>richgalloway</dc:creator>
      <dc:date>2021-11-19T17:47:38Z</dc:date>
    </item>
    <item>
      <title>Re: How to manage authorize.conf and authentication.conf in a SHC?</title>
      <link>https://community.splunk.com/t5/Splunk-Enterprise/How-to-manage-authorize-conf-and-authentication-conf-in-a-SHC/m-p/648522#M16669</link>
      <description>&lt;P&gt;Agree with&amp;nbsp;&lt;a href="https://community.splunk.com/t5/user/viewprofilepage/user-id/213957"&gt;@richgalloway&lt;/a&gt;&amp;nbsp; the gui doesnt allow the flexibility to manage users / roles.&amp;nbsp; Although it would be nice to see some clear documentation as to how to set this up from a deployer server correctly.&amp;nbsp; Does anyone have any configuration examples ?&lt;/P&gt;</description>
      <pubDate>Wed, 28 Jun 2023 12:43:03 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Enterprise/How-to-manage-authorize-conf-and-authentication-conf-in-a-SHC/m-p/648522#M16669</guid>
      <dc:creator>pbrinkman</dc:creator>
      <dc:date>2023-06-28T12:43:03Z</dc:date>
    </item>
    <item>
      <title>Re: How to manage authorize.conf and authentication.conf in a SHC?</title>
      <link>https://community.splunk.com/t5/Splunk-Enterprise/How-to-manage-authorize-conf-and-authentication-conf-in-a-SHC/m-p/648528#M16670</link>
      <description>&lt;P&gt;You already have your answer that work for you which is great.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;In our environment we cloned the default user and removed the allowed=* from the clone.&amp;nbsp; We build all roles to inherit the cloned user account.&amp;nbsp; That way you have all the same capabilities but don't inherit the allowed=* for indexes.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Food for thought.&lt;/P&gt;</description>
      <pubDate>Wed, 28 Jun 2023 12:51:04 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Enterprise/How-to-manage-authorize-conf-and-authentication-conf-in-a-SHC/m-p/648528#M16670</guid>
      <dc:creator>dural_yyz</dc:creator>
      <dc:date>2023-06-28T12:51:04Z</dc:date>
    </item>
    <item>
      <title>Re: How to manage authorize.conf and authentication.conf in a SHC?</title>
      <link>https://community.splunk.com/t5/Splunk-Enterprise/How-to-manage-authorize-conf-and-authentication-conf-in-a-SHC/m-p/648554#M16673</link>
      <description>&lt;P&gt;hi&amp;nbsp;&lt;a href="https://community.splunk.com/t5/user/viewprofilepage/user-id/194981"&gt;@dural_yyz&lt;/a&gt;&amp;nbsp; many thanks for the response.&lt;BR /&gt;&lt;BR /&gt;Do you have an example of what the config likes. I know what I am trying to achieve but struggling with what the actual config should look like&lt;/P&gt;</description>
      <pubDate>Wed, 28 Jun 2023 14:49:32 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Enterprise/How-to-manage-authorize-conf-and-authentication-conf-in-a-SHC/m-p/648554#M16673</guid>
      <dc:creator>pbrinkman</dc:creator>
      <dc:date>2023-06-28T14:49:32Z</dc:date>
    </item>
    <item>
      <title>Re: How to manage authorize.conf and authentication.conf in a SHC?</title>
      <link>https://community.splunk.com/t5/Splunk-Enterprise/How-to-manage-authorize-conf-and-authentication-conf-in-a-SHC/m-p/648555#M16674</link>
      <description>&lt;P&gt;thanks&amp;nbsp;&lt;a href="https://community.splunk.com/t5/user/viewprofilepage/user-id/194981"&gt;@dural_yyz&lt;/a&gt;&amp;nbsp; do you have an example of the actual configuration.&amp;nbsp; Thanks what I am struggling with at the moment, knowing what the config should look like in authorise.conf&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;cheers&lt;/P&gt;</description>
      <pubDate>Wed, 28 Jun 2023 14:51:58 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Enterprise/How-to-manage-authorize-conf-and-authentication-conf-in-a-SHC/m-p/648555#M16674</guid>
      <dc:creator>pbrinkman</dc:creator>
      <dc:date>2023-06-28T14:51:58Z</dc:date>
    </item>
    <item>
      <title>Re: How to manage authorize.conf and authentication.conf in a SHC?</title>
      <link>https://community.splunk.com/t5/Splunk-Enterprise/How-to-manage-authorize-conf-and-authentication-conf-in-a-SHC/m-p/648644#M16682</link>
      <description>&lt;P&gt;I can't show how my configuration is exactly so here is a mock up of general rules.&lt;/P&gt;&lt;PRE&gt;[role_user-clone]&lt;BR /&gt;&amp;lt;omitted but all default user capabilities should be here as well&amp;gt;&lt;BR /&gt;## Validate upgrades don't change default capabilities, keep in sync post upgrade&lt;BR /&gt;srchIndexesAllowed = main; index-1; index-n&lt;BR /&gt;srchIndexesDefault = main&lt;BR /&gt;&lt;BR /&gt;[role_custom]&lt;BR /&gt;srchIndexesAllowed = index-A; index-B&lt;BR /&gt;importRoles = user-clone&lt;/PRE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Here the custom user will inherit all rights of the user-clone for search Indexes Allow which doesn't include wild cards so is restrictive, but often environments may have index(es) which all users can view.&lt;/P&gt;&lt;P&gt;Post upgrades in our environment we audit all Splunk Default roles against our cloned roles for any capability changes.&amp;nbsp; We use this more to ensure restricted access to indexes than any other capability control (ex: we don't mess with capabilities for sharing or report building).&lt;/P&gt;&lt;P&gt;Just make sure that your custom roles do not import default roles or they will inherit default search indexes.&lt;/P&gt;</description>
      <pubDate>Thu, 29 Jun 2023 12:49:06 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Enterprise/How-to-manage-authorize-conf-and-authentication-conf-in-a-SHC/m-p/648644#M16682</guid>
      <dc:creator>dural_yyz</dc:creator>
      <dc:date>2023-06-29T12:49:06Z</dc:date>
    </item>
    <item>
      <title>Re: How to manage authorize.conf and authentication.conf in a SHC?</title>
      <link>https://community.splunk.com/t5/Splunk-Enterprise/How-to-manage-authorize-conf-and-authentication-conf-in-a-SHC/m-p/648665#M16688</link>
      <description>&lt;P&gt;Hi&lt;/P&gt;&lt;P&gt;my 2 cents for this.&lt;/P&gt;&lt;P&gt;You definitely should manage all configurations (which you can) by Deployer on SHC. Otherwise you will have huge mesh quite soon &lt;span class="lia-unicode-emoji" title=":disappointed_face:"&gt;😞&lt;/span&gt;&lt;/P&gt;&lt;P&gt;Don't mix access and capabilities on one role!!! Those should be always in separate roles. Otherwise you will get really hard times to debug why something works or not on users.&lt;/P&gt;&lt;P&gt;Don't do inheritance chains like&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;role1 -&amp;gt; role2 -&amp;gt; role3 -&amp;gt; role4&lt;/LI-CODE&gt;&lt;P&gt;It's much easies debug/know what you have when when you do only one level inheritance&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;role1 -&amp;gt; role4
role2 -&amp;gt; role4
role3 -&amp;gt; role4&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;Try to create your own base roles instead of use splunk's user/power/admin where inherit to another. Then you always know what capabilities those have instead of guessing what has changes when Splunk versions has updated.&lt;/P&gt;&lt;P&gt;r. Ismo&lt;/P&gt;</description>
      <pubDate>Thu, 29 Jun 2023 14:39:15 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Enterprise/How-to-manage-authorize-conf-and-authentication-conf-in-a-SHC/m-p/648665#M16688</guid>
      <dc:creator>isoutamo</dc:creator>
      <dc:date>2023-06-29T14:39:15Z</dc:date>
    </item>
    <item>
      <title>Re: How to manage authorize.conf and authentication.conf in a SHC?</title>
      <link>https://community.splunk.com/t5/Splunk-Enterprise/How-to-manage-authorize-conf-and-authentication-conf-in-a-SHC/m-p/649223#M16723</link>
      <description>&lt;P&gt;One more. I haven't ever understand why there should be&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;srchIndexesDefault&lt;/PRE&gt;&lt;P&gt;My advice is don't use it! With this your users never learn to define index=abc and then you need to debug why one can see data and other cannot! Much better to force them to use indexes on search.&lt;/P&gt;&lt;P&gt;Another is&lt;/P&gt;&lt;PRE&gt;srchFilter&lt;/PRE&gt;&lt;P&gt;&amp;nbsp;that will generate much more issues than solve those if you have environment with several roles etc.&lt;/P&gt;</description>
      <pubDate>Tue, 04 Jul 2023 20:06:57 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Enterprise/How-to-manage-authorize-conf-and-authentication-conf-in-a-SHC/m-p/649223#M16723</guid>
      <dc:creator>isoutamo</dc:creator>
      <dc:date>2023-07-04T20:06:57Z</dc:date>
    </item>
  </channel>
</rss>

