<?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: Import XSOAR incidents into MySQL DB in Cortex XSOAR Discussions</title>
    <link>https://live.paloaltonetworks.com/t5/cortex-xsoar-discussions/import-xsoar-incidents-into-mysql-db/m-p/533718#M1872</link>
    <description>&lt;P&gt;What I would like to do is to retrieve the incidents details in below screenshot into MySQL DB column id, name, type, severity, status, owner, roles, playbook, occurred, sla, etc. Once all incidents are imported into MySQL DB, I may create a script to retrieve the new incident and update the incident with the status "active" only.&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="2023-03-09 09_53_21-Incidents and 20 more pages - Profile 1 - Microsoft​ Edge.png" style="width: 999px;"&gt;&lt;img src="https://live.paloaltonetworks.com/t5/image/serverpage/image-id/48570iC801743161454DA4/image-size/large/is-moderation-mode/true?v=v2&amp;amp;px=999" role="button" title="2023-03-09 09_53_21-Incidents and 20 more pages - Profile 1 - Microsoft​ Edge.png" alt="2023-03-09 09_53_21-Incidents and 20 more pages - Profile 1 - Microsoft​ Edge.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I will look at "ExportIncidentsToCSV" and see if I can parse the details into MySQL DB, thanks.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;DIV id="tinyMceEditor_57ec5b67f570d0ce13_1" class="mceNonEditable lia-copypaste-placeholder"&gt;&amp;nbsp;&lt;/DIV&gt;
&lt;DIV id="tinyMceEditor_57ec5b67f570d0ce13_2" class="mceNonEditable lia-copypaste-placeholder"&gt;&amp;nbsp;&lt;/DIV&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>Thu, 09 Mar 2023 02:00:23 GMT</pubDate>
    <dc:creator>ce13</dc:creator>
    <dc:date>2023-03-09T02:00:23Z</dc:date>
    <item>
      <title>Import XSOAR incidents into MySQL DB</title>
      <link>https://live.paloaltonetworks.com/t5/cortex-xsoar-discussions/import-xsoar-incidents-into-mysql-db/m-p/533591#M1869</link>
      <description>&lt;P&gt;Hello all,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I have MySQL DB to collect data from different projects/products and using Metabase to create dashboards. I would like to import all incidents into MySQL DB from XSOAR. Is there any integration can do it directly or I have to write python code to retrieve all incidents through XSOAR API?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;If API is the only option, should I use "Search incidents by filter" to get all incidents from XSOAR?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;{&lt;BR /&gt;"filter" : {&lt;BR /&gt;"fromDate" : "2023-01-01T00:00:00Z"&lt;BR /&gt;}&lt;BR /&gt;}&lt;/P&gt;
&lt;H3 id="_searchincidents"&gt;Search incidents by filter&lt;/H3&gt;
&lt;DIV class="literalblock"&gt;
&lt;DIV class="content"&gt;
&lt;PRE&gt;POST /incidents/search&lt;/PRE&gt;
&lt;/DIV&gt;
&lt;/DIV&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Best Regards,&lt;/P&gt;
&lt;P&gt;K&lt;/P&gt;</description>
      <pubDate>Wed, 08 Mar 2023 14:42:53 GMT</pubDate>
      <guid>https://live.paloaltonetworks.com/t5/cortex-xsoar-discussions/import-xsoar-incidents-into-mysql-db/m-p/533591#M1869</guid>
      <dc:creator>ce13</dc:creator>
      <dc:date>2023-03-08T14:42:53Z</dc:date>
    </item>
    <item>
      <title>Re: Import XSOAR incidents into MySQL DB</title>
      <link>https://live.paloaltonetworks.com/t5/cortex-xsoar-discussions/import-xsoar-incidents-into-mysql-db/m-p/533621#M1871</link>
      <description>&lt;P&gt;You can use the &lt;STRONG&gt;ExportIncidentsToCSV&lt;/STRONG&gt; automation from the common scripts pack, which will write the file to the war room.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;If you want to export using the API, look at the &lt;STRONG&gt;/incident/batch/exportTo/Csv&lt;/STRONG&gt; endpoint, which is the same one the above automation uses.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I wouldn't recommend trying to export ALL incidents at once, but rather batch it by day or week to keep the results small.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 08 Mar 2023 19:18:02 GMT</pubDate>
      <guid>https://live.paloaltonetworks.com/t5/cortex-xsoar-discussions/import-xsoar-incidents-into-mysql-db/m-p/533621#M1871</guid>
      <dc:creator>MBeauchamp2</dc:creator>
      <dc:date>2023-03-08T19:18:02Z</dc:date>
    </item>
    <item>
      <title>Re: Import XSOAR incidents into MySQL DB</title>
      <link>https://live.paloaltonetworks.com/t5/cortex-xsoar-discussions/import-xsoar-incidents-into-mysql-db/m-p/533718#M1872</link>
      <description>&lt;P&gt;What I would like to do is to retrieve the incidents details in below screenshot into MySQL DB column id, name, type, severity, status, owner, roles, playbook, occurred, sla, etc. Once all incidents are imported into MySQL DB, I may create a script to retrieve the new incident and update the incident with the status "active" only.&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="2023-03-09 09_53_21-Incidents and 20 more pages - Profile 1 - Microsoft​ Edge.png" style="width: 999px;"&gt;&lt;img src="https://live.paloaltonetworks.com/t5/image/serverpage/image-id/48570iC801743161454DA4/image-size/large/is-moderation-mode/true?v=v2&amp;amp;px=999" role="button" title="2023-03-09 09_53_21-Incidents and 20 more pages - Profile 1 - Microsoft​ Edge.png" alt="2023-03-09 09_53_21-Incidents and 20 more pages - Profile 1 - Microsoft​ Edge.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I will look at "ExportIncidentsToCSV" and see if I can parse the details into MySQL DB, thanks.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;DIV id="tinyMceEditor_57ec5b67f570d0ce13_1" class="mceNonEditable lia-copypaste-placeholder"&gt;&amp;nbsp;&lt;/DIV&gt;
&lt;DIV id="tinyMceEditor_57ec5b67f570d0ce13_2" class="mceNonEditable lia-copypaste-placeholder"&gt;&amp;nbsp;&lt;/DIV&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>Thu, 09 Mar 2023 02:00:23 GMT</pubDate>
      <guid>https://live.paloaltonetworks.com/t5/cortex-xsoar-discussions/import-xsoar-incidents-into-mysql-db/m-p/533718#M1872</guid>
      <dc:creator>ce13</dc:creator>
      <dc:date>2023-03-09T02:00:23Z</dc:date>
    </item>
  </channel>
</rss>

