<?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 Getting data from multiple incident contexts? in Cortex XSOAR Discussions</title>
    <link>https://live.paloaltonetworks.com/t5/cortex-xsoar-discussions/getting-data-from-multiple-incident-contexts/m-p/565932#M2832</link>
    <description>&lt;P&gt;Hi!&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I want to extract specific key data from context of multiple incidents. The context key I'm looking for is not under "incident". Specifically, I have many incidents of type "Phishing" and want to output the contents of "Recipient Selection.Answers.0" key from all of them.&lt;/P&gt;
&lt;P&gt;I thought of using&amp;nbsp;&lt;EM&gt;SearchIncidentsV2&lt;/EM&gt; but it does not seem to include specific context key.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Any suggestions on how to automatically get that data out?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thanks,&lt;/P&gt;
&lt;P&gt;Antanas&lt;/P&gt;</description>
    <pubDate>Thu, 16 Nov 2023 05:53:00 GMT</pubDate>
    <dc:creator>Antanas</dc:creator>
    <dc:date>2023-11-16T05:53:00Z</dc:date>
    <item>
      <title>Getting data from multiple incident contexts?</title>
      <link>https://live.paloaltonetworks.com/t5/cortex-xsoar-discussions/getting-data-from-multiple-incident-contexts/m-p/565932#M2832</link>
      <description>&lt;P&gt;Hi!&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I want to extract specific key data from context of multiple incidents. The context key I'm looking for is not under "incident". Specifically, I have many incidents of type "Phishing" and want to output the contents of "Recipient Selection.Answers.0" key from all of them.&lt;/P&gt;
&lt;P&gt;I thought of using&amp;nbsp;&lt;EM&gt;SearchIncidentsV2&lt;/EM&gt; but it does not seem to include specific context key.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Any suggestions on how to automatically get that data out?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thanks,&lt;/P&gt;
&lt;P&gt;Antanas&lt;/P&gt;</description>
      <pubDate>Thu, 16 Nov 2023 05:53:00 GMT</pubDate>
      <guid>https://live.paloaltonetworks.com/t5/cortex-xsoar-discussions/getting-data-from-multiple-incident-contexts/m-p/565932#M2832</guid>
      <dc:creator>Antanas</dc:creator>
      <dc:date>2023-11-16T05:53:00Z</dc:date>
    </item>
    <item>
      <title>Re: Getting data from multiple incident contexts?</title>
      <link>https://live.paloaltonetworks.com/t5/cortex-xsoar-discussions/getting-data-from-multiple-incident-contexts/m-p/565999#M2833</link>
      <description>&lt;P&gt;You can use the getContext method via a custom automation script to retrieve the context from a given Incident ID.&amp;nbsp; Then you'll have to get the key you're looking for.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;You'll need to know the ID of the incidents you want, because as you've said, context is not searchable.&amp;nbsp; It would also not be very efficient to run the getContext across a large number of Incidents to "search" for the value, better to know the ones you're looking for.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;For example, if you're playbook set a field that indicated that the user did indeed respond to the data collection task, then you could search for just those ones based on the field, and pass their IDs into the automation to loop through.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Screenshot 2023-11-16 at 8.23.46 AM.png" style="width: 417px;"&gt;&lt;img src="https://live.paloaltonetworks.com/t5/image/serverpage/image-id/55239i27C9FE68B31399F4/image-size/large?v=v2&amp;amp;px=999" role="button" title="Screenshot 2023-11-16 at 8.23.46 AM.png" alt="Screenshot 2023-11-16 at 8.23.46 AM.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;If you're not familiar with how to write automations, then check out video 15 here -&amp;nbsp;&lt;A href="https://live.paloaltonetworks.com/t5/cortex-xsoar-how-to-videos/cortex-xsoar-how-to-customer-success-engineering-training-video/ta-p/484604" target="_blank"&gt;https://live.paloaltonetworks.com/t5/cortex-xsoar-how-to-videos/cortex-xsoar-how-to-customer-success-engineering-training-video/ta-p/484604&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 16 Nov 2023 15:28:09 GMT</pubDate>
      <guid>https://live.paloaltonetworks.com/t5/cortex-xsoar-discussions/getting-data-from-multiple-incident-contexts/m-p/565999#M2833</guid>
      <dc:creator>MBeauchamp2</dc:creator>
      <dc:date>2023-11-16T15:28:09Z</dc:date>
    </item>
  </channel>
</rss>

