<?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: What capability is required to be able to execute a shell script when an alert is fired? in Alerting</title>
    <link>https://community.splunk.com/t5/Alerting/What-capability-is-required-to-be-able-to-execute-a-shell-script/m-p/257259#M4774</link>
    <description>&lt;P&gt;I'm able to schedule the alert, but when the alert is fired, the 'runshellscript' search term can't be fired.   But when I add role 'admin' to my user, I don't get the error and 'runshellscript' is runnable.&lt;/P&gt;

&lt;P&gt;Hence my suspicion that my user is lacking a 'capability'.&lt;/P&gt;</description>
    <pubDate>Sun, 04 Oct 2015 19:04:22 GMT</pubDate>
    <dc:creator>robertlight</dc:creator>
    <dc:date>2015-10-04T19:04:22Z</dc:date>
    <item>
      <title>What capability is required to be able to execute a shell script when an alert is fired?</title>
      <link>https://community.splunk.com/t5/Alerting/What-capability-is-required-to-be-able-to-execute-a-shell-script/m-p/257257#M4772</link>
      <description>&lt;P&gt;I cannot run a shell script as part of my alert. It is clear that I need my user to have a particular splunk capability - when I add the "admin" role, I am able to run my shell script, without "admin" role, I get an error saying it can't find search "runshellscript"&lt;/P&gt;

&lt;P&gt;What splunk "capability" is required to run a shell script??&lt;/P&gt;</description>
      <pubDate>Fri, 02 Oct 2015 19:21:41 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Alerting/What-capability-is-required-to-be-able-to-execute-a-shell-script/m-p/257257#M4772</guid>
      <dc:creator>robertlight</dc:creator>
      <dc:date>2015-10-02T19:21:41Z</dc:date>
    </item>
    <item>
      <title>Re: What capability is required to be able to execute a shell script when an alert is fired?</title>
      <link>https://community.splunk.com/t5/Alerting/What-capability-is-required-to-be-able-to-execute-a-shell-script/m-p/257258#M4773</link>
      <description>&lt;P&gt;Hi.. I don't think there is a specific capability requirement to allow scripts within alerts. As along as "schedule_search" capability is allowed for the role. The users within that role should be able to setup script for alert actions.&lt;BR /&gt;
There is very good documentation for setting up alerts &lt;A href="http://docs.splunk.com/Documentation/Splunk/6.2.5/alert/ConfiguringScriptedAlerts"&gt;here&lt;/A&gt;&lt;BR /&gt;
Some info on troubleshooting &lt;A href="http://wiki.splunk.com/Community:TroubleshootingAlertScripts"&gt;here&lt;/A&gt;&lt;/P&gt;

&lt;P&gt;Hope the info resolves your current issue.&lt;/P&gt;</description>
      <pubDate>Fri, 02 Oct 2015 19:53:35 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Alerting/What-capability-is-required-to-be-able-to-execute-a-shell-script/m-p/257258#M4773</guid>
      <dc:creator>Yasaswy</dc:creator>
      <dc:date>2015-10-02T19:53:35Z</dc:date>
    </item>
    <item>
      <title>Re: What capability is required to be able to execute a shell script when an alert is fired?</title>
      <link>https://community.splunk.com/t5/Alerting/What-capability-is-required-to-be-able-to-execute-a-shell-script/m-p/257259#M4774</link>
      <description>&lt;P&gt;I'm able to schedule the alert, but when the alert is fired, the 'runshellscript' search term can't be fired.   But when I add role 'admin' to my user, I don't get the error and 'runshellscript' is runnable.&lt;/P&gt;

&lt;P&gt;Hence my suspicion that my user is lacking a 'capability'.&lt;/P&gt;</description>
      <pubDate>Sun, 04 Oct 2015 19:04:22 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Alerting/What-capability-is-required-to-be-able-to-execute-a-shell-script/m-p/257259#M4774</guid>
      <dc:creator>robertlight</dc:creator>
      <dc:date>2015-10-04T19:04:22Z</dc:date>
    </item>
    <item>
      <title>Re: What capability is required to be able to execute a shell script when an alert is fired?</title>
      <link>https://community.splunk.com/t5/Alerting/What-capability-is-required-to-be-able-to-execute-a-shell-script/m-p/257260#M4775</link>
      <description>&lt;P&gt;Ah.. reasonable suspicion.  The list of offered capabilities is not that &lt;A href="http://docs.splunk.com/Documentation/Splunk/5.0/Security/Rolesandcapabilities"&gt;long&lt;/A&gt; .. and nothing seems to jump out pointing to this specific retirement (for me). So if you set any other kind of alert (email for eg).. does it work (without needing admin role)? What are the permissions on the script?  &lt;/P&gt;</description>
      <pubDate>Mon, 05 Oct 2015 15:38:39 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Alerting/What-capability-is-required-to-be-able-to-execute-a-shell-script/m-p/257260#M4775</guid>
      <dc:creator>Yasaswy</dc:creator>
      <dc:date>2015-10-05T15:38:39Z</dc:date>
    </item>
    <item>
      <title>Re: What capability is required to be able to execute a shell script when an alert is fired?</title>
      <link>https://community.splunk.com/t5/Alerting/What-capability-is-required-to-be-able-to-execute-a-shell-script/m-p/257261#M4776</link>
      <description>&lt;P&gt;The capability "edit_scripted" is required to use the "runshellscript"&lt;/P&gt;

&lt;P&gt;I don't see where splunk documenation states this but via trial and error (in v6.2.2) it is indeed the case.&lt;/P&gt;</description>
      <pubDate>Wed, 07 Oct 2015 16:06:57 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Alerting/What-capability-is-required-to-be-able-to-execute-a-shell-script/m-p/257261#M4776</guid>
      <dc:creator>robertlight</dc:creator>
      <dc:date>2015-10-07T16:06:57Z</dc:date>
    </item>
  </channel>
</rss>

