<?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 Upload a File to the &amp;quot;Attachments&amp;quot; Section of an Incident in Cortex XSOAR Discussions</title>
    <link>https://live.paloaltonetworks.com/t5/cortex-xsoar-discussions/upload-a-file-to-the-quot-attachments-quot-section-of-an/m-p/569307#M2897</link>
    <description>&lt;P&gt;Hello all!&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I have an automation in which I'm trying to upload a file to the "Attachments" section of the current incident.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I can upload the file to the war room, but I would also like to move the file to the attachments section of the incident so that user's can easily access it.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;My Current Implementation:&lt;/P&gt;
&lt;LI-CODE lang="python"&gt;log_content = log_buffer.getvalue()
log_buffer.close()

demisto.results(fileResult("results.csv", log_content))&lt;/LI-CODE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I want the file to show up here:&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="BowenAguero_0-1702310406529.png" style="width: 400px;"&gt;&lt;img src="https://live.paloaltonetworks.com/t5/image/serverpage/image-id/55818i3855253C79D02898/image-size/medium/is-moderation-mode/true?v=v2&amp;amp;px=400" role="button" title="BowenAguero_0-1702310406529.png" alt="BowenAguero_0-1702310406529.png" /&gt;&lt;/span&gt;&lt;/P&gt;</description>
    <pubDate>Mon, 11 Dec 2023 16:01:25 GMT</pubDate>
    <dc:creator>BowenAguero</dc:creator>
    <dc:date>2023-12-11T16:01:25Z</dc:date>
    <item>
      <title>Upload a File to the "Attachments" Section of an Incident</title>
      <link>https://live.paloaltonetworks.com/t5/cortex-xsoar-discussions/upload-a-file-to-the-quot-attachments-quot-section-of-an/m-p/569307#M2897</link>
      <description>&lt;P&gt;Hello all!&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I have an automation in which I'm trying to upload a file to the "Attachments" section of the current incident.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I can upload the file to the war room, but I would also like to move the file to the attachments section of the incident so that user's can easily access it.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;My Current Implementation:&lt;/P&gt;
&lt;LI-CODE lang="python"&gt;log_content = log_buffer.getvalue()
log_buffer.close()

demisto.results(fileResult("results.csv", log_content))&lt;/LI-CODE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I want the file to show up here:&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="BowenAguero_0-1702310406529.png" style="width: 400px;"&gt;&lt;img src="https://live.paloaltonetworks.com/t5/image/serverpage/image-id/55818i3855253C79D02898/image-size/medium/is-moderation-mode/true?v=v2&amp;amp;px=400" role="button" title="BowenAguero_0-1702310406529.png" alt="BowenAguero_0-1702310406529.png" /&gt;&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 11 Dec 2023 16:01:25 GMT</pubDate>
      <guid>https://live.paloaltonetworks.com/t5/cortex-xsoar-discussions/upload-a-file-to-the-quot-attachments-quot-section-of-an/m-p/569307#M2897</guid>
      <dc:creator>BowenAguero</dc:creator>
      <dc:date>2023-12-11T16:01:25Z</dc:date>
    </item>
    <item>
      <title>Re: Upload a File to the "Attachments" Section of an Incident</title>
      <link>https://live.paloaltonetworks.com/t5/cortex-xsoar-discussions/upload-a-file-to-the-quot-attachments-quot-section-of-an/m-p/569484#M2900</link>
      <description>&lt;P&gt;&lt;a href="https://live.paloaltonetworks.com/t5/user/viewprofilepage/user-id/374146271"&gt;@BowenAguero&lt;/a&gt;,&lt;BR /&gt;&lt;BR /&gt;To upload a file as an attachment, it will require the DemistoAPI integration to be set up.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Once the integration is running, you can run this command in your automation or directly in the playbook as a task.&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;
&lt;LI-CODE lang="python"&gt;!demisto-api-multipart uri="/incident/upload/&amp;lt;incident_id&amp;gt;" entryID=&amp;lt;artifact_entry_id&amp;gt;&lt;/LI-CODE&gt;
&lt;P&gt;&lt;BR /&gt;Thanks&lt;/P&gt;</description>
      <pubDate>Tue, 12 Dec 2023 15:19:08 GMT</pubDate>
      <guid>https://live.paloaltonetworks.com/t5/cortex-xsoar-discussions/upload-a-file-to-the-quot-attachments-quot-section-of-an/m-p/569484#M2900</guid>
      <dc:creator>AbelSantamarina</dc:creator>
      <dc:date>2023-12-12T15:19:08Z</dc:date>
    </item>
  </channel>
</rss>

