<?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 XSIAM Incidents notes and messenger in Cortex XSIAM Discussions</title>
    <link>https://live.paloaltonetworks.com/t5/cortex-xsiam-discussions/xsiam-incidents-notes-and-messenger/m-p/1066340#M134</link>
    <description>&lt;P&gt;Hi everyone,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I am trying to get all the information added to the Notepad or Messenger fields (Incident Discussion) from the incidents.&lt;BR /&gt;I do not need the information contained in the RESOLVE_COMMENT column of the incidents table.&lt;BR /&gt;Would it be possible to get this information using XQL?&lt;/P&gt;</description>
    <pubDate>Tue, 14 Jan 2025 04:15:14 GMT</pubDate>
    <dc:creator>Geyciane_Tavares</dc:creator>
    <dc:date>2025-01-14T04:15:14Z</dc:date>
    <item>
      <title>XSIAM Incidents notes and messenger</title>
      <link>https://live.paloaltonetworks.com/t5/cortex-xsiam-discussions/xsiam-incidents-notes-and-messenger/m-p/1066340#M134</link>
      <description>&lt;P&gt;Hi everyone,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I am trying to get all the information added to the Notepad or Messenger fields (Incident Discussion) from the incidents.&lt;BR /&gt;I do not need the information contained in the RESOLVE_COMMENT column of the incidents table.&lt;BR /&gt;Would it be possible to get this information using XQL?&lt;/P&gt;</description>
      <pubDate>Tue, 14 Jan 2025 04:15:14 GMT</pubDate>
      <guid>https://live.paloaltonetworks.com/t5/cortex-xsiam-discussions/xsiam-incidents-notes-and-messenger/m-p/1066340#M134</guid>
      <dc:creator>Geyciane_Tavares</dc:creator>
      <dc:date>2025-01-14T04:15:14Z</dc:date>
    </item>
    <item>
      <title>Re: XSIAM Incidents notes and messenger</title>
      <link>https://live.paloaltonetworks.com/t5/cortex-xsiam-discussions/xsiam-incidents-notes-and-messenger/m-p/1219994#M155</link>
      <description>&lt;P&gt;By default you can't extract this via XQL. Messanger - I didn't see the history of messages in json_raw of the incident but for Notes it's available.&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;So, what you can do - build python script "IncidentNoteExtraction" that will call API to get last 24 hours incident and will extract the notes. The script should push the results to the custom dataset "IncidentNotes" that you can create. The format can be IncidentId, Notes. And after, you can make join XQL to connect Incident Dataset with IncidentNotes.&lt;BR /&gt;&lt;BR /&gt;The function to get incident should looks like:&lt;BR /&gt;&lt;BR /&gt;def get_incidents(date, values):&lt;BR /&gt;data = execute_command("core-get-incidents", {"gte_modification_time": date})&lt;BR /&gt;for incident in data:&lt;BR /&gt;if incident.get('parentIncidentFields') is not None:&lt;BR /&gt;if incident['parentIncidentFields'].get('Notes') is not None:&lt;BR /&gt;values[incident['incident_id']] = incident['parentIncidentFields']['notes']&lt;BR /&gt;values[incident['incident_id']] += "-"&lt;BR /&gt;values[incident['incident_id']] += incident['severity']&lt;BR /&gt;&lt;BR /&gt;Next function is to call XSIAM API with JSON request to pull data into dataset.&amp;nbsp;&lt;A href="https://cortex-panw.stoplight.io/docs/cortex-xsiam-1/lwa2otkysbkd9-add-dataset" target="_blank"&gt;https://cortex-panw.stoplight.io/docs/cortex-xsiam-1/lwa2otkysbkd9-add-dataset&lt;/A&gt;&lt;BR /&gt;If the script is ready, just configure the Job to run it.&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 11 Feb 2025 09:50:16 GMT</pubDate>
      <guid>https://live.paloaltonetworks.com/t5/cortex-xsiam-discussions/xsiam-incidents-notes-and-messenger/m-p/1219994#M155</guid>
      <dc:creator>MDovirak</dc:creator>
      <dc:date>2025-02-11T09:50:16Z</dc:date>
    </item>
  </channel>
</rss>

