<?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: How can I close a Notable from Phantom? in Splunk SOAR</title>
    <link>https://community.splunk.com/t5/Splunk-SOAR/How-can-I-close-a-Notable-from-Phantom/m-p/514929#M454</link>
    <description>&lt;P&gt;Hi&amp;nbsp;&lt;SPAN&gt;mzambrana123,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;Thanks for the candid feedback, but I'm not sure you've understood the question correctly.&lt;/P&gt;&lt;P&gt;The problem isn't sending a Notable to Phantom, it's using Phantom to tell ES the Notable should be closed. If you're using latest version of the Splunk app within Phantom (1.3.41 at the time of writing) the action to update a status is broken as it assumes that notables will have an entry in the Incident Review lookup, which isn't true until someone makes a change to the case in ES i.e. assigns it to an analyst, changes, the status, leaves a comment etc.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Wed, 19 Aug 2020 12:21:18 GMT</pubDate>
    <dc:creator>gf13579</dc:creator>
    <dc:date>2020-08-19T12:21:18Z</dc:date>
    <item>
      <title>How can I close a Notable from Phantom?</title>
      <link>https://community.splunk.com/t5/Splunk-SOAR/How-can-I-close-a-Notable-from-Phantom/m-p/510136#M424</link>
      <description>&lt;P&gt;I'm trying to close a Notable in ES from Phantom. I'm using the&amp;nbsp;&lt;STRONG&gt;update event&lt;/STRONG&gt; action from the Splunk app (v1.3.41) but it's failing when trying to validate my ES event_id.&lt;/P&gt;&lt;P&gt;That action validates the notable event ID by checking the incident review lookup. This lookup doesn't automatically have an entry for new notables - only when their status/comments/other is changed. The validation code in question - from&amp;nbsp;splunk_connector.pyc - is as follows:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="python"&gt;search_query = ('|`incident_review` | search rule_id={0}').format(ids)
            ret_val = self._run_query(search_query, action_result)
            if phantom.is_fail(ret_val):
                return action_result.set_status(phantom.APP_ERROR, ('Error occurred while validating the provided event ID. Error: {0}').format(action_result.get_message()))
            if int(action_result.get_data_size()) &amp;lt;= 0:
                return action_result.set_status(phantom.APP_ERROR, 'Please provide a valid event ID')&lt;/LI-CODE&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;</description>
      <pubDate>Tue, 21 Jul 2020 00:45:05 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-SOAR/How-can-I-close-a-Notable-from-Phantom/m-p/510136#M424</guid>
      <dc:creator>gf13579</dc:creator>
      <dc:date>2020-07-21T00:45:05Z</dc:date>
    </item>
    <item>
      <title>Re: How can I close a Notable from Phantom?</title>
      <link>https://community.splunk.com/t5/Splunk-SOAR/How-can-I-close-a-Notable-from-Phantom/m-p/510138#M425</link>
      <description>&lt;P&gt;We're working around this by using a Close Notable playbook that submits the following 'query' to Splunk:&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;| eval event_id="{0}"
| eval _key=event_id, rule_id=event_id, comment="Closing from Phantom", time=now(), status=5, user="admin"
| table _key comment rule_id time status rule_name user
| outputlookup append=true incident_review_lookup&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;Where {0} is filtered-data:filter_1:condition_1:artifact:*.cef.event_id and the filter is just locating the artifact with the event_id.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="screenie.png" style="width: 900px;"&gt;&lt;img src="https://community.splunk.com/t5/image/serverpage/image-id/9798iD8AC0D330B0C73EE/image-size/large?v=v2&amp;amp;px=999" role="button" title="screenie.png" alt="screenie.png" /&gt;&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 21 Jul 2020 00:43:16 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-SOAR/How-can-I-close-a-Notable-from-Phantom/m-p/510138#M425</guid>
      <dc:creator>gf13579</dc:creator>
      <dc:date>2020-07-21T00:43:16Z</dc:date>
    </item>
    <item>
      <title>Re: How can I close a Notable from Phantom?</title>
      <link>https://community.splunk.com/t5/Splunk-SOAR/How-can-I-close-a-Notable-from-Phantom/m-p/510698#M434</link>
      <description>&lt;P&gt;There are much simpler and effective ways to do this. Assuming you have ES.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;OL&gt;&lt;LI&gt;Set up your asset configuration for splunk to point to ES .&amp;nbsp;&lt;/LI&gt;&lt;LI&gt;You can send an event through either an automated action inside a saved search, phantom app with a saved search forwarding a specific event to an active playbook or even a adaptive response action.&amp;nbsp;&lt;/LI&gt;&lt;LI&gt;All you need is to pass the ES Notable Event ID, Status and Integer and you should be able to do so.&amp;nbsp;&lt;/LI&gt;&lt;/OL&gt;&lt;P&gt;The search provided does the job but here are other options worth considering.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 23 Jul 2020 17:14:07 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-SOAR/How-can-I-close-a-Notable-from-Phantom/m-p/510698#M434</guid>
      <dc:creator>mzambrana123</dc:creator>
      <dc:date>2020-07-23T17:14:07Z</dc:date>
    </item>
    <item>
      <title>Re: How can I close a Notable from Phantom?</title>
      <link>https://community.splunk.com/t5/Splunk-SOAR/How-can-I-close-a-Notable-from-Phantom/m-p/514929#M454</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;SPAN&gt;mzambrana123,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;Thanks for the candid feedback, but I'm not sure you've understood the question correctly.&lt;/P&gt;&lt;P&gt;The problem isn't sending a Notable to Phantom, it's using Phantom to tell ES the Notable should be closed. If you're using latest version of the Splunk app within Phantom (1.3.41 at the time of writing) the action to update a status is broken as it assumes that notables will have an entry in the Incident Review lookup, which isn't true until someone makes a change to the case in ES i.e. assigns it to an analyst, changes, the status, leaves a comment etc.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 19 Aug 2020 12:21:18 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-SOAR/How-can-I-close-a-Notable-from-Phantom/m-p/514929#M454</guid>
      <dc:creator>gf13579</dc:creator>
      <dc:date>2020-08-19T12:21:18Z</dc:date>
    </item>
  </channel>
</rss>

