<?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: capabilities required for enabling/disabling maintenance mode in Security</title>
    <link>https://community.splunk.com/t5/Security/What-are-the-capabilities-required-for-enabling-disabling/m-p/590477#M16009</link>
    <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.splunk.com/t5/user/viewprofilepage/user-id/244207"&gt;@splkjk&lt;/a&gt;&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;are you trying to enable/disbale maintenace mode from Clustermaster UI?. we dont have option to enable /disable from UI&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;&amp;nbsp;after adding capability &lt;STRONG&gt;edit_indexer_cluster&amp;nbsp;&lt;/STRONG&gt;try to execute follwing commands from CLI&amp;nbsp;&lt;STRONG&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;/STRONG&gt;$SPLUNK_HOME$/bin&lt;/P&gt;&lt;P&gt;./splunk show maintenance-mode&amp;nbsp;-auth &amp;lt;splunkusername&amp;gt;:&amp;lt;password&amp;gt;&lt;/P&gt;&lt;P&gt;./splunk enable maintenance-mode&amp;nbsp;&amp;lt;splunkusername&amp;gt;:&amp;lt;password&amp;gt;&lt;BR /&gt;&lt;BR /&gt;./splunk disable maintenance-mode&amp;nbsp;&amp;lt;splunkusername&amp;gt;:&amp;lt;password&amp;gt;&lt;/P&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;P&gt;&lt;STRONG&gt;&amp;nbsp;&lt;/STRONG&gt;&lt;/P&gt;</description>
    <pubDate>Wed, 23 Mar 2022 16:02:13 GMT</pubDate>
    <dc:creator>SanjayReddy</dc:creator>
    <dc:date>2022-03-23T16:02:13Z</dc:date>
    <item>
      <title>What are the capabilities required for enabling/disabling maintenance mode?</title>
      <link>https://community.splunk.com/t5/Security/What-are-the-capabilities-required-for-enabling-disabling/m-p/590457#M16008</link>
      <description>&lt;P&gt;Hello Team, What capabilities are required for enabling and disabling the maintenance mode. Based on the following link&amp;nbsp;&lt;A href="https://community.splunk.com/t5/Security/Capabilities-needed-for-a-service-account-to-enable-Maintenance/m-p/345744" target="_blank" rel="noopener"&gt;https://community.splunk.com/t5/Security/Capabilities-needed-for-a-service-account-to-enable-Maintenance/m-p/345744&lt;/A&gt;&amp;nbsp;, i did provide the following capability&amp;nbsp;&lt;STRONG&gt;edit_indexer_cluster ,&amp;nbsp;&lt;/STRONG&gt; but no breakthrough.&lt;/P&gt;</description>
      <pubDate>Wed, 23 Mar 2022 16:22:19 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Security/What-are-the-capabilities-required-for-enabling-disabling/m-p/590457#M16008</guid>
      <dc:creator>splkjk</dc:creator>
      <dc:date>2022-03-23T16:22:19Z</dc:date>
    </item>
    <item>
      <title>Re: capabilities required for enabling/disabling maintenance mode</title>
      <link>https://community.splunk.com/t5/Security/What-are-the-capabilities-required-for-enabling-disabling/m-p/590477#M16009</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.splunk.com/t5/user/viewprofilepage/user-id/244207"&gt;@splkjk&lt;/a&gt;&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;are you trying to enable/disbale maintenace mode from Clustermaster UI?. we dont have option to enable /disable from UI&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;&amp;nbsp;after adding capability &lt;STRONG&gt;edit_indexer_cluster&amp;nbsp;&lt;/STRONG&gt;try to execute follwing commands from CLI&amp;nbsp;&lt;STRONG&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;/STRONG&gt;$SPLUNK_HOME$/bin&lt;/P&gt;&lt;P&gt;./splunk show maintenance-mode&amp;nbsp;-auth &amp;lt;splunkusername&amp;gt;:&amp;lt;password&amp;gt;&lt;/P&gt;&lt;P&gt;./splunk enable maintenance-mode&amp;nbsp;&amp;lt;splunkusername&amp;gt;:&amp;lt;password&amp;gt;&lt;BR /&gt;&lt;BR /&gt;./splunk disable maintenance-mode&amp;nbsp;&amp;lt;splunkusername&amp;gt;:&amp;lt;password&amp;gt;&lt;/P&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;P&gt;&lt;STRONG&gt;&amp;nbsp;&lt;/STRONG&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 23 Mar 2022 16:02:13 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Security/What-are-the-capabilities-required-for-enabling-disabling/m-p/590477#M16009</guid>
      <dc:creator>SanjayReddy</dc:creator>
      <dc:date>2022-03-23T16:02:13Z</dc:date>
    </item>
    <item>
      <title>Re: capabilities required for enabling/disabling maintenance mode</title>
      <link>https://community.splunk.com/t5/Security/What-are-the-capabilities-required-for-enabling-disabling/m-p/590501#M16011</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.splunk.com/t5/user/viewprofilepage/user-id/236694"&gt;@SanjayReddy&lt;/a&gt;&amp;nbsp;, Thanks for the inputs...&lt;/P&gt;&lt;P&gt;nope, I'm not using GUI for enabling or disabling maintenance mode.&lt;/P&gt;&lt;P&gt;we did add&amp;nbsp;&lt;STRONG&gt;edit_indexer_cluster&amp;nbsp;&lt;/STRONG&gt;, but when i try to execute enable maintenance with below error&lt;/P&gt;&lt;P&gt;******:~ $ /opt/splunk/bin/splunk enable maintenance-mode&lt;BR /&gt;Warning: In maintenance mode, the cluster manager will not attempt to replace any missing replicated or searchable bucket copies. This mode should be enabled only while performing maintenance on peers. Do you want to continue? [y/n]: y&lt;BR /&gt;Your session is invalid. Please login.&lt;BR /&gt;Splunk username: testuser&lt;BR /&gt;Password:&lt;BR /&gt;Login failed&lt;BR /&gt;call not properly authenticated&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;below are the capability added for that role&lt;/P&gt;&lt;P&gt;[role_supp_team]&lt;BR /&gt;cumulativeRTSrchJobsQuota = 0&lt;BR /&gt;cumulativeSrchJobsQuota = 0&lt;BR /&gt;edit_indexer_cluster = enabled&lt;BR /&gt;importRoles = user&lt;BR /&gt;srchMaxTime = 8640000&lt;/P&gt;</description>
      <pubDate>Wed, 23 Mar 2022 16:58:06 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Security/What-are-the-capabilities-required-for-enabling-disabling/m-p/590501#M16011</guid>
      <dc:creator>splkjk</dc:creator>
      <dc:date>2022-03-23T16:58:06Z</dc:date>
    </item>
    <item>
      <title>Re: capabilities required for enabling/disabling maintenance mode</title>
      <link>https://community.splunk.com/t5/Security/What-are-the-capabilities-required-for-enabling-disabling/m-p/590560#M16013</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.splunk.com/t5/user/viewprofilepage/user-id/244207"&gt;@splkjk&lt;/a&gt;&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;it seems login failed due to&amp;nbsp; there was issue with username/password,&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;please try to use correct username/password, or reset the creds and try again&lt;BR /&gt;&lt;BR /&gt;I am able to to enable/disable&amp;nbsp;&lt;SPAN&gt;maintenance&amp;nbsp;mode from same configuration you mentioned,&lt;BR /&gt;&lt;BR /&gt;have you added&amp;nbsp;role_supp_team to test user under users settings&lt;BR /&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="SanjayReddy_2-1648096207187.png" style="width: 400px;"&gt;&lt;img src="https://community.splunk.com/t5/image/serverpage/image-id/18731i42F7F0C3C88FDCCB/image-size/medium?v=v2&amp;amp;px=400" role="button" title="SanjayReddy_2-1648096207187.png" alt="SanjayReddy_2-1648096207187.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 24 Mar 2022 04:30:20 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Security/What-are-the-capabilities-required-for-enabling-disabling/m-p/590560#M16013</guid>
      <dc:creator>SanjayReddy</dc:creator>
      <dc:date>2022-03-24T04:30:20Z</dc:date>
    </item>
    <item>
      <title>Re: capabilities required for enabling/disabling maintenance mode</title>
      <link>https://community.splunk.com/t5/Security/What-are-the-capabilities-required-for-enabling-disabling/m-p/590854#M16025</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.splunk.com/t5/user/viewprofilepage/user-id/236694"&gt;@SanjayReddy&lt;/a&gt;&amp;nbsp;, i am able to login to splunk via GUI , by providing the same id and password. But when I try to execute the enable the maintenance mode on Cluster master, it gets failed&amp;nbsp; and i do have the same role that is mentioned in your screenshot.&lt;/P&gt;&lt;P&gt;I am still getting the same error&lt;/P&gt;&lt;P&gt;Your session is invalid. Please login.&lt;BR /&gt;Splunk username: testuser&lt;BR /&gt;Password:&lt;BR /&gt;Login failed&lt;BR /&gt;call not properly authenticated&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 25 Mar 2022 12:33:05 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Security/What-are-the-capabilities-required-for-enabling-disabling/m-p/590854#M16025</guid>
      <dc:creator>splkjk</dc:creator>
      <dc:date>2022-03-25T12:33:05Z</dc:date>
    </item>
    <item>
      <title>Re: capabilities required for enabling/disabling maintenance mode</title>
      <link>https://community.splunk.com/t5/Security/What-are-the-capabilities-required-for-enabling-disabling/m-p/590874#M16027</link>
      <description>&lt;P&gt;Hello&amp;nbsp;&lt;a href="https://community.splunk.com/t5/user/viewprofilepage/user-id/236694"&gt;@SanjayReddy&lt;/a&gt;&amp;nbsp; tried crossing 1 hurdle..&lt;/P&gt;&lt;P&gt;so, our environment is a cluster environment with few search heads and few indexers, a Cluster master and Deployer. so i created user on search head and that was the reason i was able to login to splunk GUI, but not able to enable the maintenance mode on CM. so i have created the same role and user on cluster master and tried executing the maintenance mode , it did get executed, but now with different error, i have provided&amp;nbsp;&amp;nbsp;edit_indexer_cluster capability, still getting the error, not sure why...., any insights&lt;/P&gt;&lt;P&gt;Your session is invalid. Please login.&lt;BR /&gt;Splunk username: testuser&lt;BR /&gt;Password:&lt;BR /&gt;You (user=testuser) do not have permission to perform this operation (requires capability: edit_indexer_cluster).&lt;/P&gt;</description>
      <pubDate>Fri, 25 Mar 2022 15:03:23 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Security/What-are-the-capabilities-required-for-enabling-disabling/m-p/590874#M16027</guid>
      <dc:creator>splkjk</dc:creator>
      <dc:date>2022-03-25T15:03:23Z</dc:date>
    </item>
  </channel>
</rss>

