<?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 [XSOAR] Issue downloading files in Cortex XSOAR Discussions</title>
    <link>https://live.paloaltonetworks.com/t5/cortex-xsoar-discussions/xsoar-issue-downloading-files/m-p/430385#M326</link>
    <description>&lt;P&gt;Hello!&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;We want to create an automation which download a file from a given URL (which contains a file. pe:&amp;nbsp;&lt;A href="https://www.comunidad.madrid/sites/default/files/doc/sanidad/epid/informe_epidemiologico_semanal_covid_s32.pdf" target="_blank"&gt;https://www.comunidad.madrid/sites/default/files/doc/sanidad/epid/informe_epidemiologico_semanal_covid_s32.pdf&lt;/A&gt;)&lt;/P&gt;&lt;P&gt;The idea is to store the file in the XSOAR incident to analyze it with our tools.&lt;/P&gt;&lt;P&gt;It is easy to do with Python in a local machine, but as XSOAR dockerize and works with files in a different way we don't know how to proceed.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Does anyone know the best way to download files and store them in the same incident?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks in advance,&lt;/P&gt;&lt;P&gt;Alejandro Bracamonte.&lt;/P&gt;</description>
    <pubDate>Tue, 31 Aug 2021 12:32:53 GMT</pubDate>
    <dc:creator>abracamontesauz</dc:creator>
    <dc:date>2021-08-31T12:32:53Z</dc:date>
    <item>
      <title>[XSOAR] Issue downloading files</title>
      <link>https://live.paloaltonetworks.com/t5/cortex-xsoar-discussions/xsoar-issue-downloading-files/m-p/430385#M326</link>
      <description>&lt;P&gt;Hello!&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;We want to create an automation which download a file from a given URL (which contains a file. pe:&amp;nbsp;&lt;A href="https://www.comunidad.madrid/sites/default/files/doc/sanidad/epid/informe_epidemiologico_semanal_covid_s32.pdf" target="_blank"&gt;https://www.comunidad.madrid/sites/default/files/doc/sanidad/epid/informe_epidemiologico_semanal_covid_s32.pdf&lt;/A&gt;)&lt;/P&gt;&lt;P&gt;The idea is to store the file in the XSOAR incident to analyze it with our tools.&lt;/P&gt;&lt;P&gt;It is easy to do with Python in a local machine, but as XSOAR dockerize and works with files in a different way we don't know how to proceed.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Does anyone know the best way to download files and store them in the same incident?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks in advance,&lt;/P&gt;&lt;P&gt;Alejandro Bracamonte.&lt;/P&gt;</description>
      <pubDate>Tue, 31 Aug 2021 12:32:53 GMT</pubDate>
      <guid>https://live.paloaltonetworks.com/t5/cortex-xsoar-discussions/xsoar-issue-downloading-files/m-p/430385#M326</guid>
      <dc:creator>abracamontesauz</dc:creator>
      <dc:date>2021-08-31T12:32:53Z</dc:date>
    </item>
    <item>
      <title>Re: [XSOAR] Issue downloading files</title>
      <link>https://live.paloaltonetworks.com/t5/cortex-xsoar-discussions/xsoar-issue-downloading-files/m-p/430413#M328</link>
      <description>&lt;P&gt;Hello&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I run into the same problem, as I would avoid that XSOAR Playbook scans URLs, which XSOAR already did.&lt;/P&gt;&lt;P&gt;The dockerize hindering me too to store already scanned urls.&lt;/P&gt;&lt;P&gt;So I've build an own Integration which use FTP as a store.&lt;/P&gt;&lt;P&gt;My solution for the FTP: it runs on the demisto machine, with vsfdpd...&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;regards&lt;/P&gt;&lt;P&gt;roger&lt;/P&gt;</description>
      <pubDate>Tue, 31 Aug 2021 13:32:39 GMT</pubDate>
      <guid>https://live.paloaltonetworks.com/t5/cortex-xsoar-discussions/xsoar-issue-downloading-files/m-p/430413#M328</guid>
      <dc:creator>r_buchwalder</dc:creator>
      <dc:date>2021-08-31T13:32:39Z</dc:date>
    </item>
    <item>
      <title>Re: [XSOAR] Issue downloading files</title>
      <link>https://live.paloaltonetworks.com/t5/cortex-xsoar-discussions/xsoar-issue-downloading-files/m-p/430698#M334</link>
      <description>&lt;P&gt;Hello Roger,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The problem here is the same, we want to get the EntryID of the file so we can execute other tasks in XSOAR to analyze the file.&lt;/P&gt;&lt;P&gt;How do you access the file from an incident when it is stored in the FTP server?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Reagrds,&lt;/P&gt;&lt;P&gt;Alejandro Bracamonte.&lt;/P&gt;</description>
      <pubDate>Wed, 01 Sep 2021 07:47:35 GMT</pubDate>
      <guid>https://live.paloaltonetworks.com/t5/cortex-xsoar-discussions/xsoar-issue-downloading-files/m-p/430698#M334</guid>
      <dc:creator>abracamontesauz</dc:creator>
      <dc:date>2021-09-01T07:47:35Z</dc:date>
    </item>
    <item>
      <title>Re: [XSOAR] Issue downloading files</title>
      <link>https://live.paloaltonetworks.com/t5/cortex-xsoar-discussions/xsoar-issue-downloading-files/m-p/430872#M337</link>
      <description>&lt;P&gt;Hi!&amp;nbsp; So the easy way to get the EntryID of the file is using the variable ${File.EntryID}&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="DougCouch_0-1630522462050.png" style="width: 400px;"&gt;&lt;img src="https://live.paloaltonetworks.com/t5/image/serverpage/image-id/36025i2F90A6500B54DCBD/image-size/medium/is-moderation-mode/true?v=v2&amp;amp;px=400" role="button" title="DougCouch_0-1630522462050.png" alt="DougCouch_0-1630522462050.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;If you want to get more specific and insure you are getting a certain file you'll need to add a filter into the query, otherwise you'll bring back all of the files.&lt;/P&gt;&lt;P&gt;It sounds like several of you are experimenting with writing your own Automation to do something specific with the contents of a file.&amp;nbsp; If you want a good example of how we do that take a look at the ReadFile automation.&amp;nbsp; It simply reads the contents of a file and dumps it into a context value.&amp;nbsp;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Let me know if that helps or you are still missing something on this.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks!&lt;/P&gt;&lt;P&gt;-Doug&lt;/P&gt;</description>
      <pubDate>Wed, 01 Sep 2021 18:57:41 GMT</pubDate>
      <guid>https://live.paloaltonetworks.com/t5/cortex-xsoar-discussions/xsoar-issue-downloading-files/m-p/430872#M337</guid>
      <dc:creator>DougCouch</dc:creator>
      <dc:date>2021-09-01T18:57:41Z</dc:date>
    </item>
    <item>
      <title>Re: [XSOAR] Issue downloading files</title>
      <link>https://live.paloaltonetworks.com/t5/cortex-xsoar-discussions/xsoar-issue-downloading-files/m-p/430983#M340</link>
      <description>&lt;P&gt;Hi Doug!&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thank you for your response. Our problem here is not to get the EntryID from the context. We are downloading a file using requests library in a automation and we want to store that file in the incident adding the information to the context. We don't know how to do this in the same automation.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Alejandro.&lt;/P&gt;</description>
      <pubDate>Thu, 02 Sep 2021 06:24:56 GMT</pubDate>
      <guid>https://live.paloaltonetworks.com/t5/cortex-xsoar-discussions/xsoar-issue-downloading-files/m-p/430983#M340</guid>
      <dc:creator>abracamontesauz</dc:creator>
      <dc:date>2021-09-02T06:24:56Z</dc:date>
    </item>
    <item>
      <title>Re: [XSOAR] Issue downloading files</title>
      <link>https://live.paloaltonetworks.com/t5/cortex-xsoar-discussions/xsoar-issue-downloading-files/m-p/431046#M341</link>
      <description>&lt;P&gt;Hi Alejandro&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Just found it out.&lt;/P&gt;&lt;P&gt;If you email it with&amp;nbsp;mail-sender-new:&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;AttachedID&lt;/STRONG&gt; is &amp;lt;id&amp;gt;@&amp;lt;ticketnumber&amp;gt; -&amp;gt; &lt;A href="mailto:31@1234" target="_blank"&gt;31@1234&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;attachNames&lt;/STRONG&gt; is the name of the attachment, you would like to see in the Mail Attachment -&amp;gt; "picture.png"&lt;BR /&gt;&lt;STRONG&gt;attachCIDs&lt;/STRONG&gt; is the name in the war room, in the "command"-Part of the entry 31 -&amp;gt; "picture"&lt;/P&gt;&lt;P&gt;You need all three entries. You may put more than one attachment, just put a coma in between -&amp;gt; "31@1234,45@1234" etc&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Finally I've got it working &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;&lt;P&gt;greets&lt;/P&gt;&lt;P&gt;roger&lt;/P&gt;</description>
      <pubDate>Thu, 02 Sep 2021 12:02:47 GMT</pubDate>
      <guid>https://live.paloaltonetworks.com/t5/cortex-xsoar-discussions/xsoar-issue-downloading-files/m-p/431046#M341</guid>
      <dc:creator>r_buchwalder</dc:creator>
      <dc:date>2021-09-02T12:02:47Z</dc:date>
    </item>
  </channel>
</rss>

