<?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: Need Restricted Access(Read Only) to splunk user in Security</title>
    <link>https://community.splunk.com/t5/Security/Need-Restricted-Access-Read-Only-to-splunk-user/m-p/138494#M4283</link>
    <description>&lt;P&gt;To achieve the next requirement of having  selected links on Search App, we can further edit same file like mentioned below:&lt;BR /&gt;
$SPLUNK_HOME/etc/apps/search/metadata/local.meta&lt;/P&gt;

&lt;P&gt;If we don't need Alerts and Pivots to be shown to another user than Admin then we can add below stanzas:&lt;/P&gt;

&lt;P&gt;[views/alerts]&lt;BR /&gt;
access = read : [ admin ], write : [ admin, power ]&lt;BR /&gt;
export = system&lt;/P&gt;

&lt;P&gt;[views/data_models]&lt;BR /&gt;
access = read : [ admin ], write : [ admin, power ]&lt;BR /&gt;
export = system&lt;/P&gt;</description>
    <pubDate>Fri, 15 Nov 2013 04:52:54 GMT</pubDate>
    <dc:creator>dishasaxena</dc:creator>
    <dc:date>2013-11-15T04:52:54Z</dc:date>
    <item>
      <title>Need Restricted Access(Read Only) to splunk user</title>
      <link>https://community.splunk.com/t5/Security/Need-Restricted-Access-Read-Only-to-splunk-user/m-p/138490#M4279</link>
      <description>&lt;P&gt;I need to create a role which would grant access only to search bar and logout button. I don’t want a user with this role to look any other dropdowns like Settings, Messages, Activity or Help.&lt;/P&gt;

&lt;P&gt;Under search App, I would like to make only Search Icon to be appeared, no any other icons like Pivot, Reports, Alerts or Dashboards.&lt;/P&gt;

&lt;P&gt;I am also restricting this user to access only single index, I am trying to use below capabilities only:&lt;/P&gt;

&lt;P&gt;[role_readaccess]&lt;BR /&gt;
cumulativeRTSrchJobsQuota = 0&lt;BR /&gt;
cumulativeSrchJobsQuota = 0&lt;BR /&gt;
get_metadata = enabled&lt;BR /&gt;
list_inputs = enabled&lt;BR /&gt;
search = enabled&lt;BR /&gt;
srchIndexesAllowed = tcp_syslog&lt;BR /&gt;
srchIndexesDefault = tcp_syslog&lt;BR /&gt;
srchMaxTime = 0&lt;/P&gt;

&lt;P&gt;I have checked the feasibility by using local.meta but couldn't get it. Can anyone please help me on above requirement?&lt;/P&gt;

&lt;P&gt;I have also tried to change the permissions of Pivot from User Interface-&amp;gt;Views-&amp;gt;Pivot for read\write to only admin, no any read\write to everyone, in order to not the Pivot accessible to other users but it didn’t help.&lt;/P&gt;</description>
      <pubDate>Mon, 28 Sep 2020 15:15:22 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Security/Need-Restricted-Access-Read-Only-to-splunk-user/m-p/138490#M4279</guid>
      <dc:creator>dishasaxena</dc:creator>
      <dc:date>2020-09-28T15:15:22Z</dc:date>
    </item>
    <item>
      <title>Re: Need Restricted Access(Read Only) to splunk user</title>
      <link>https://community.splunk.com/t5/Security/Need-Restricted-Access-Read-Only-to-splunk-user/m-p/138491#M4280</link>
      <description>&lt;P&gt;You can create a stanza in a .meta file to e.g. restrict access to Manager to only be allowed by admin. In ~/etc/apps/search/metadata/default.meta you find a stanza named manager;&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;[manager]
access = read : [ * ], write : [ admin ]
export = system
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;Copy this to &lt;STRONG&gt;~/etc/apps/search/metadata/local.meta&lt;/STRONG&gt; and change &lt;STRONG&gt;read : [ * ]&lt;/STRONG&gt; to &lt;STRONG&gt;read : [ admin ]&lt;/STRONG&gt; like this;&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;[manager]
access = read : [ admin ], write : [ admin ]
export = system
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;NB: You will then also kill a user's ability to e.g. change password etc.&lt;/P&gt;

&lt;P&gt;Without having this tested, I would guestimate the same approach would work for other elements in the GUI.&lt;/P&gt;</description>
      <pubDate>Tue, 12 Nov 2013 13:52:40 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Security/Need-Restricted-Access-Read-Only-to-splunk-user/m-p/138491#M4280</guid>
      <dc:creator>dolxor</dc:creator>
      <dc:date>2013-11-12T13:52:40Z</dc:date>
    </item>
    <item>
      <title>Re: Need Restricted Access(Read Only) to splunk user</title>
      <link>https://community.splunk.com/t5/Security/Need-Restricted-Access-Read-Only-to-splunk-user/m-p/138492#M4281</link>
      <description>&lt;P&gt;Hi Dolxor,&lt;/P&gt;

&lt;P&gt;Thabks for your response. I have checked the local.meta file on location $SPLUNK_HOME\etc\apps\search\metadata\local.meta but there was no predefined tag of [manager], so I created a new tag for it and write it in same suggeted way, and checked after restarting splunk services, it is now not showing anything while clicking Settings dropdown by anyother user, but it didn't serve my purpose as I am still unable to remove these items from Navigation Menu.&lt;/P&gt;

&lt;P&gt;NB: I am using Splunk 6.0 version.&lt;/P&gt;

&lt;P&gt;Regards,&lt;BR /&gt;
Disha&lt;/P&gt;</description>
      <pubDate>Thu, 14 Nov 2013 05:39:28 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Security/Need-Restricted-Access-Read-Only-to-splunk-user/m-p/138492#M4281</guid>
      <dc:creator>dishasaxena</dc:creator>
      <dc:date>2013-11-14T05:39:28Z</dc:date>
    </item>
    <item>
      <title>Re: Need Restricted Access(Read Only) to splunk user</title>
      <link>https://community.splunk.com/t5/Security/Need-Restricted-Access-Read-Only-to-splunk-user/m-p/138493#M4282</link>
      <description>&lt;P&gt;Regarding requirement on Search Application, I have found a way to remove unwanted icons by changing the XML at:&lt;BR /&gt;
E:\Program Files\Splunk\etc\apps\search\default\data\ui\nav\default.xml&lt;BR /&gt;
The new contents would be like: &lt;/P&gt;

&lt;P&gt;&lt;NAV search_view="search" color="#65A637"&gt;&lt;BR /&gt;
  &lt;VIEW name="search" default="true"&gt;&lt;/VIEW&gt;&lt;BR /&gt;
&amp;lt;/nav&lt;/NAV&gt;&lt;/P&gt;

&lt;P&gt;By doing this I am able to get the required thing done, but this would become applicable to all users. I need to do the same for only a single user or role.&lt;/P&gt;

&lt;P&gt;Regards,&lt;BR /&gt;
Disha&lt;/P&gt;</description>
      <pubDate>Thu, 14 Nov 2013 05:39:56 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Security/Need-Restricted-Access-Read-Only-to-splunk-user/m-p/138493#M4282</guid>
      <dc:creator>dishasaxena</dc:creator>
      <dc:date>2013-11-14T05:39:56Z</dc:date>
    </item>
    <item>
      <title>Re: Need Restricted Access(Read Only) to splunk user</title>
      <link>https://community.splunk.com/t5/Security/Need-Restricted-Access-Read-Only-to-splunk-user/m-p/138494#M4283</link>
      <description>&lt;P&gt;To achieve the next requirement of having  selected links on Search App, we can further edit same file like mentioned below:&lt;BR /&gt;
$SPLUNK_HOME/etc/apps/search/metadata/local.meta&lt;/P&gt;

&lt;P&gt;If we don't need Alerts and Pivots to be shown to another user than Admin then we can add below stanzas:&lt;/P&gt;

&lt;P&gt;[views/alerts]&lt;BR /&gt;
access = read : [ admin ], write : [ admin, power ]&lt;BR /&gt;
export = system&lt;/P&gt;

&lt;P&gt;[views/data_models]&lt;BR /&gt;
access = read : [ admin ], write : [ admin, power ]&lt;BR /&gt;
export = system&lt;/P&gt;</description>
      <pubDate>Fri, 15 Nov 2013 04:52:54 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Security/Need-Restricted-Access-Read-Only-to-splunk-user/m-p/138494#M4283</guid>
      <dc:creator>dishasaxena</dc:creator>
      <dc:date>2013-11-15T04:52:54Z</dc:date>
    </item>
    <item>
      <title>Re: Need Restricted Access(Read Only) to splunk user</title>
      <link>https://community.splunk.com/t5/Security/Need-Restricted-Access-Read-Only-to-splunk-user/m-p/138495#M4284</link>
      <description>&lt;P&gt;Hello. I am very sorry, but I now see there is a typo in my answer. I told you to copy the [manager] stanza from ~/etc/apps/search/metadata/local.meta. The correct answer is that you will find this stanza in ~/etc/apps/search/metadata/default.meta. I edited my answer to fix this.&lt;/P&gt;

&lt;P&gt;Hope this clear things up &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 15 Nov 2013 07:04:03 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Security/Need-Restricted-Access-Read-Only-to-splunk-user/m-p/138495#M4284</guid>
      <dc:creator>dolxor</dc:creator>
      <dc:date>2013-11-15T07:04:03Z</dc:date>
    </item>
  </channel>
</rss>

