<?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: Ad hoc adaptive response executed twice in Splunk Enterprise Security</title>
    <link>https://community.splunk.com/t5/Splunk-Enterprise-Security/Ad-hoc-adaptive-response-executed-twice/m-p/547563#M9868</link>
    <description>&lt;P&gt;Yes please. We would like to give a shot with&amp;nbsp;&lt;SPAN&gt;one liner fix in python.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Can you please send it?&lt;/SPAN&gt;&lt;/P&gt;</description>
    <pubDate>Mon, 12 Apr 2021 07:06:09 GMT</pubDate>
    <dc:creator>goran_epl</dc:creator>
    <dc:date>2021-04-12T07:06:09Z</dc:date>
    <item>
      <title>Ad hoc adaptive response executed twice</title>
      <link>https://community.splunk.com/t5/Splunk-Enterprise-Security/Ad-hoc-adaptive-response-executed-twice/m-p/537878#M9664</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;I've created adaptive response action with Add-on builder 3.0.1. It creates a ticket in ticketing system.&amp;nbsp;&lt;/P&gt;&lt;P&gt;Splunk enterprise security 6.2.0 is running in a cluster. Indexers are also clustered, multi-site. Splunk is 8.0.6.&lt;/P&gt;&lt;P&gt;When action is triggered from saved alert, it works perfectly.&amp;nbsp;When running ad hoc action from Incident review page the script gets executed twice and creates two same tickets. There is a 5 seconds difference between two actions.&lt;/P&gt;&lt;P&gt;Why would it be executed twice?&lt;/P&gt;&lt;P&gt;Goran&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 29 Jan 2021 16:45:06 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Enterprise-Security/Ad-hoc-adaptive-response-executed-twice/m-p/537878#M9664</guid>
      <dc:creator>goran_epl</dc:creator>
      <dc:date>2021-01-29T16:45:06Z</dc:date>
    </item>
    <item>
      <title>Re: Ad hoc adaptive response executed twice</title>
      <link>https://community.splunk.com/t5/Splunk-Enterprise-Security/Ad-hoc-adaptive-response-executed-twice/m-p/540562#M9720</link>
      <description>&lt;P&gt;&lt;a href="https://community.splunk.com/t5/user/viewprofilepage/user-id/124252"&gt;@goran_epl&lt;/a&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Were you able to find a solution? If so, there's a similar situation occurring with another customer and we're trying to figure out a solution. The issue is that we can't replicate what's going on. Any ideas?&lt;/P&gt;</description>
      <pubDate>Fri, 19 Feb 2021 17:56:35 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Enterprise-Security/Ad-hoc-adaptive-response-executed-twice/m-p/540562#M9720</guid>
      <dc:creator>ebond_splunk</dc:creator>
      <dc:date>2021-02-19T17:56:35Z</dc:date>
    </item>
    <item>
      <title>Re: Ad hoc adaptive response executed twice</title>
      <link>https://community.splunk.com/t5/Splunk-Enterprise-Security/Ad-hoc-adaptive-response-executed-twice/m-p/547422#M9862</link>
      <description>&lt;P&gt;We are also seeing the same exact situation on Splunk 8.1.1 and ES 6.4.1&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 09 Apr 2021 17:45:50 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Enterprise-Security/Ad-hoc-adaptive-response-executed-twice/m-p/547422#M9862</guid>
      <dc:creator>morawi5</dc:creator>
      <dc:date>2021-04-09T17:45:50Z</dc:date>
    </item>
    <item>
      <title>Re: Ad hoc adaptive response executed twice</title>
      <link>https://community.splunk.com/t5/Splunk-Enterprise-Security/Ad-hoc-adaptive-response-executed-twice/m-p/547423#M9863</link>
      <description>&lt;P&gt;@Anonymous&amp;nbsp;&lt;a href="https://community.splunk.com/t5/user/viewprofilepage/user-id/2076"&gt;@ebond_splunk&lt;/a&gt;&amp;nbsp; - Are you also seeing duplicates when using something like "ping" too?&lt;/P&gt;</description>
      <pubDate>Fri, 09 Apr 2021 17:46:41 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Enterprise-Security/Ad-hoc-adaptive-response-executed-twice/m-p/547423#M9863</guid>
      <dc:creator>morawi5</dc:creator>
      <dc:date>2021-04-09T17:46:41Z</dc:date>
    </item>
    <item>
      <title>Re: Ad hoc adaptive response executed twice</title>
      <link>https://community.splunk.com/t5/Splunk-Enterprise-Security/Ad-hoc-adaptive-response-executed-twice/m-p/547425#M9864</link>
      <description>&lt;P&gt;Hey&amp;nbsp;&lt;a href="https://community.splunk.com/t5/user/viewprofilepage/user-id/205499"&gt;@morawi5&lt;/a&gt;&amp;nbsp;, yep,&amp;nbsp; we figured out that all dispatched adhoc mod actions are duplicating. But we also discovered the problem and implemented a fix for the next maintenance release.&amp;nbsp; If you have access to your splunk instance files, I can show you what file to update. It's a one liner fix in python. Let me know!&lt;/P&gt;</description>
      <pubDate>Fri, 09 Apr 2021 17:50:45 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Enterprise-Security/Ad-hoc-adaptive-response-executed-twice/m-p/547425#M9864</guid>
      <dc:creator>ebond_splunk</dc:creator>
      <dc:date>2021-04-09T17:50:45Z</dc:date>
    </item>
    <item>
      <title>Re: Ad hoc adaptive response executed twice</title>
      <link>https://community.splunk.com/t5/Splunk-Enterprise-Security/Ad-hoc-adaptive-response-executed-twice/m-p/547426#M9865</link>
      <description>&lt;P&gt;Yep, I do have access, just private messaged you.&lt;/P&gt;</description>
      <pubDate>Fri, 09 Apr 2021 18:04:36 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Enterprise-Security/Ad-hoc-adaptive-response-executed-twice/m-p/547426#M9865</guid>
      <dc:creator>morawi5</dc:creator>
      <dc:date>2021-04-09T18:04:36Z</dc:date>
    </item>
    <item>
      <title>Re: Ad hoc adaptive response executed twice</title>
      <link>https://community.splunk.com/t5/Splunk-Enterprise-Security/Ad-hoc-adaptive-response-executed-twice/m-p/547563#M9868</link>
      <description>&lt;P&gt;Yes please. We would like to give a shot with&amp;nbsp;&lt;SPAN&gt;one liner fix in python.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Can you please send it?&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 12 Apr 2021 07:06:09 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Enterprise-Security/Ad-hoc-adaptive-response-executed-twice/m-p/547563#M9868</guid>
      <dc:creator>goran_epl</dc:creator>
      <dc:date>2021-04-12T07:06:09Z</dc:date>
    </item>
    <item>
      <title>Re: Ad hoc adaptive response executed twice</title>
      <link>https://community.splunk.com/t5/Splunk-Enterprise-Security/Ad-hoc-adaptive-response-executed-twice/m-p/547602#M9869</link>
      <description>&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;So you'll need to open file "&lt;SPAN class="s1"&gt;etc/apps/Splunk_SA_CIM/bin/modaction_adhoc_rest_handler.py&lt;/SPAN&gt;". And add to line 561.&lt;/P&gt;&lt;PRE&gt;'preview': 'false',&lt;/PRE&gt;&lt;P&gt;&amp;nbsp; Basically you'll want the code block to look like this:&lt;/P&gt;&lt;PRE&gt;args = {
    'output_mode': 'json',
    # CIM-944: adhoc_search_level essential to proper field extraction
    'adhoc_search_level': 'verbose',
    'preview': 'false',
    'search': search
}&lt;/PRE&gt;&lt;P&gt;&amp;nbsp;Restart afterwards - This worked from me, kudos to&amp;nbsp;&lt;a href="https://community.splunk.com/t5/user/viewprofilepage/user-id/2076"&gt;@ebond_splunk&lt;/a&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 12 Apr 2021 12:33:19 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Enterprise-Security/Ad-hoc-adaptive-response-executed-twice/m-p/547602#M9869</guid>
      <dc:creator>morawi5</dc:creator>
      <dc:date>2021-04-12T12:33:19Z</dc:date>
    </item>
  </channel>
</rss>

