<?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: Automatic Adaptive response action based on correlation search in Splunk Enterprise Security</title>
    <link>https://community.splunk.com/t5/Splunk-Enterprise-Security/Automatic-Adaptive-response-action-based-on-correlation-search/m-p/304816#M2734</link>
    <description>&lt;P&gt;Thanks. It worked &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;/P&gt;</description>
    <pubDate>Tue, 28 Nov 2017 07:40:16 GMT</pubDate>
    <dc:creator>ramesh_babu71</dc:creator>
    <dc:date>2017-11-28T07:40:16Z</dc:date>
    <item>
      <title>Automatic Adaptive response action based on correlation search</title>
      <link>https://community.splunk.com/t5/Splunk-Enterprise-Security/Automatic-Adaptive-response-action-based-on-correlation-search/m-p/304814#M2732</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;

&lt;P&gt;I'm trying out a Adaptive response action of VirusTotal which i created by following this site &lt;A href="http://dev.splunk.com/view/addon-builder/SP-CAAAFBQ" target="_blank"&gt;http://dev.splunk.com/view/addon-builder/SP-CAAAFBQ&lt;/A&gt;. &lt;/P&gt;

&lt;P&gt;The following screnarios are working&lt;/P&gt;

&lt;OL&gt;
&lt;LI&gt;Running the Adaptive response on ad-hoc mode where in I have to provide a complete url (like &lt;A href="http://www.google.com)as" target="_blank"&gt;http://www.google.com)as&lt;/A&gt; parameter. &lt;/LI&gt;
&lt;LI&gt;Running the Adaptive response from correlation search using Adaptive Response Actions where in I provide a complete url (like &lt;A href="http://www.google.com" target="_blank"&gt;http://www.google.com&lt;/A&gt;) as parameter.&lt;/LI&gt;
&lt;/OL&gt;

&lt;P&gt;However on the same correlation search If I try to pass on the parameter as $url$ it fails to execute and I get failure under Notable events details. &lt;/P&gt;

&lt;P&gt;The correlation search query is basic one which reads data from a lookup table which contains only one column called url. It returns the URL&lt;/P&gt;

&lt;P&gt;&lt;STRONG&gt;Correlation Search query&lt;/STRONG&gt;&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;| inputlookup demoARdata | where isnotnull(url)
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;&lt;STRONG&gt;Adaptive response action&lt;/STRONG&gt;&lt;BR /&gt;
&lt;IMG src="https://community.splunk.com/storage/temp/219889-adaptive-response-action.jpg" alt="alt text" /&gt;&lt;/P&gt;

&lt;P&gt;Error Message in log file &lt;STRONG&gt;VirusTotal_modalert.log&lt;/STRONG&gt;&lt;BR /&gt;
&lt;STRONG&gt;2017-11-27 19:16:38,641 INFO pid=16371 tid=MainThread file=setup_util.py:log_info:114 | Log level is not set, use default INFO&lt;BR /&gt;
2017-11-27 19:16:38,642 ERROR pid=16371 tid=MainThread file=cim_actions.py:message:271 | sendmodaction - signature="url is a mandatory parameter, but its value is None." action_name="VirusTotal" search_name="Threat - Splunk alert $url$ - Rule" sid="scheduler_&lt;EM&gt;admin&lt;/EM&gt;&lt;EM&gt;SplunkEnterpriseSecuritySuite&lt;/EM&gt;_RMD5839fb9bced15ebfc_at_1511790360_253" rid="0" app="SplunkEnterpriseSecuritySuite" user="admin" action_mode="saved" action_status="failure"&lt;/STRONG&gt;&lt;/P&gt;

&lt;P&gt;Not sure where I went wrong? &lt;span class="lia-unicode-emoji" title=":disappointed_face:"&gt;😞&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 29 Sep 2020 16:57:41 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Enterprise-Security/Automatic-Adaptive-response-action-based-on-correlation-search/m-p/304814#M2732</guid>
      <dc:creator>ramesh_babu71</dc:creator>
      <dc:date>2020-09-29T16:57:41Z</dc:date>
    </item>
    <item>
      <title>Re: Automatic Adaptive response action based on correlation search</title>
      <link>https://community.splunk.com/t5/Splunk-Enterprise-Security/Automatic-Adaptive-response-action-based-on-correlation-search/m-p/304815#M2733</link>
      <description>&lt;P&gt;You can try &lt;CODE&gt;$result.url$&lt;/CODE&gt;  &lt;/P&gt;

&lt;P&gt;However though this will work for an event, it is not the most correct way. Inside your code, you should pull and loop through all urls for all events sent into the AR in case it is somehow used on multiple events. So really you don't want to pass url at all. You want to just pull it from each event sent to the AR and execute per result.&lt;/P&gt;</description>
      <pubDate>Mon, 27 Nov 2017 17:15:23 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Enterprise-Security/Automatic-Adaptive-response-action-based-on-correlation-search/m-p/304815#M2733</guid>
      <dc:creator>starcher</dc:creator>
      <dc:date>2017-11-27T17:15:23Z</dc:date>
    </item>
    <item>
      <title>Re: Automatic Adaptive response action based on correlation search</title>
      <link>https://community.splunk.com/t5/Splunk-Enterprise-Security/Automatic-Adaptive-response-action-based-on-correlation-search/m-p/304816#M2734</link>
      <description>&lt;P&gt;Thanks. It worked &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 28 Nov 2017 07:40:16 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Enterprise-Security/Automatic-Adaptive-response-action-based-on-correlation-search/m-p/304816#M2734</guid>
      <dc:creator>ramesh_babu71</dc:creator>
      <dc:date>2017-11-28T07:40:16Z</dc:date>
    </item>
    <item>
      <title>Re: Automatic Adaptive response action based on correlation search</title>
      <link>https://community.splunk.com/t5/Splunk-Enterprise-Security/Automatic-Adaptive-response-action-based-on-correlation-search/m-p/304817#M2735</link>
      <description>&lt;P&gt;Thanks It worked &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 28 Nov 2017 07:40:52 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Enterprise-Security/Automatic-Adaptive-response-action-based-on-correlation-search/m-p/304817#M2735</guid>
      <dc:creator>ramesh_babu71</dc:creator>
      <dc:date>2017-11-28T07:40:52Z</dc:date>
    </item>
  </channel>
</rss>

