<?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: Generating reports through automation in Cortex XSOAR Discussions</title>
    <link>https://live.paloaltonetworks.com/t5/cortex-xsoar-discussions/generating-reports-through-automation/m-p/553736#M2525</link>
    <description>&lt;P&gt;&lt;a href="https://live.paloaltonetworks.com/t5/user/viewprofilepage/user-id/208028"&gt;@jfernandes1&lt;/a&gt; genarateGeneralReport works thank you &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Tue, 15 Aug 2023 06:28:09 GMT</pubDate>
    <dc:creator>EnesOzdemir</dc:creator>
    <dc:date>2023-08-15T06:28:09Z</dc:date>
    <item>
      <title>Generating reports through automation</title>
      <link>https://live.paloaltonetworks.com/t5/cortex-xsoar-discussions/generating-reports-through-automation/m-p/553488#M2516</link>
      <description>&lt;P&gt;Hi everyone,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;In our environment, we are supposed to generate reports through playbooks since we want to be able to customize the template according to the incident type. Executing the report is simple but downloading is not that simple.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I am following the api documentation &lt;A href="https://docs-cortex.paloaltonetworks.com/r/Cortex-XSOAR-API/" target="_blank"&gt;https://docs-cortex.paloaltonetworks.com/r/Cortex-XSOAR-API/&lt;/A&gt; here&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN class="http-path"&gt;&lt;SPAN&gt;/&lt;SPAN class="proto-highlight"&gt;report&lt;/SPAN&gt;/{id}/{requestId}/execute&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN class="http-path"&gt;/report/{id}/latest&lt;BR /&gt;&lt;BR /&gt;I am trying to download the latest report but it won't download unless I give it the full file name as&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;/report/criticalAndHighIncidentsReport/latest/report_Critical_and_High_incidents_1691757152936982691.pdf&lt;/SPAN&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;SPAN class="http-path"&gt;I am not sure if I am missing something here. How can I download the latest report without having to provide the file name? The file name here appears to be downloaded right away on the UI but this piece of information is not available in the api.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 11 Aug 2023 13:06:16 GMT</pubDate>
      <guid>https://live.paloaltonetworks.com/t5/cortex-xsoar-discussions/generating-reports-through-automation/m-p/553488#M2516</guid>
      <dc:creator>EnesOzdemir</dc:creator>
      <dc:date>2023-08-11T13:06:16Z</dc:date>
    </item>
    <item>
      <title>Re: Generating reports through automation</title>
      <link>https://live.paloaltonetworks.com/t5/cortex-xsoar-discussions/generating-reports-through-automation/m-p/553489#M2517</link>
      <description>&lt;P&gt;forgot to mention the error I get from executing &lt;SPAN class="http-path"&gt;/report/&lt;SPAN&gt;criticalAndHighIncidentsReport&lt;/SPAN&gt;/latest&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;PRE class="data"&gt;{"id":"errDownloadLatestReport","status":400,"title":"Failed to download latest report","detail":"Failed to download latest report","error":"","encrypted":false,"multires":null}&lt;/PRE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 11 Aug 2023 13:07:58 GMT</pubDate>
      <guid>https://live.paloaltonetworks.com/t5/cortex-xsoar-discussions/generating-reports-through-automation/m-p/553489#M2517</guid>
      <dc:creator>EnesOzdemir</dc:creator>
      <dc:date>2023-08-11T13:07:58Z</dc:date>
    </item>
    <item>
      <title>Re: Generating reports through automation</title>
      <link>https://live.paloaltonetworks.com/t5/cortex-xsoar-discussions/generating-reports-through-automation/m-p/553622#M2521</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://live.paloaltonetworks.com/t5/user/viewprofilepage/user-id/204366"&gt;@EnesOzdemir&lt;/a&gt;, If you go down the API route, you will need to grab the file from the filesystem or you can return the file object to the warroom. Before I suggest solution for this method, have you tried using the OOTB command like&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;!GenerateSummaryReports ids=&amp;lt;incidentID&amp;gt; type=pdf name=&amp;lt;template&amp;gt;&lt;/P&gt;
&lt;P&gt;!GenerateInvestigationSummaryReport&lt;/P&gt;
&lt;P&gt;!generateGeneralReport&lt;/P&gt;
&lt;P&gt;!generateSummaryReport&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I think they all do the same thing. But have you tried these, you can specify the template name. Once the report is ready it will be added to the context.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 14 Aug 2023 07:28:39 GMT</pubDate>
      <guid>https://live.paloaltonetworks.com/t5/cortex-xsoar-discussions/generating-reports-through-automation/m-p/553622#M2521</guid>
      <dc:creator>jfernandes1</dc:creator>
      <dc:date>2023-08-14T07:28:39Z</dc:date>
    </item>
    <item>
      <title>Re: Generating reports through automation</title>
      <link>https://live.paloaltonetworks.com/t5/cortex-xsoar-discussions/generating-reports-through-automation/m-p/553736#M2525</link>
      <description>&lt;P&gt;&lt;a href="https://live.paloaltonetworks.com/t5/user/viewprofilepage/user-id/208028"&gt;@jfernandes1&lt;/a&gt; genarateGeneralReport works thank you &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 15 Aug 2023 06:28:09 GMT</pubDate>
      <guid>https://live.paloaltonetworks.com/t5/cortex-xsoar-discussions/generating-reports-through-automation/m-p/553736#M2525</guid>
      <dc:creator>EnesOzdemir</dc:creator>
      <dc:date>2023-08-15T06:28:09Z</dc:date>
    </item>
  </channel>
</rss>

