<?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 File upload from XSOAR war room  to Sentinel watchlist in Cortex XSOAR Discussions</title>
    <link>https://live.paloaltonetworks.com/t5/cortex-xsoar-discussions/file-upload-from-xsoar-war-room-to-sentinel-watchlist/m-p/532060#M1829</link>
    <description>&lt;P&gt;Hi,&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Newbie to Xsoar and working on an automation when a csv file is uploaded to war room, it should upload the csv to Azure Sentinel watchlist.&amp;nbsp;&amp;nbsp;From what I understand, I can do this by grabbing the file entry id of the latest file uploaded and then using the entry id upload it to Sentinel watchlist.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;OL&gt;
&lt;LI&gt;Is there a better way to do this ?&lt;/LI&gt;
&lt;LI&gt;If no to the above question, what are the commands I can use to get the file entry id of the recent file uploaded&lt;/LI&gt;
&lt;/OL&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thank you !!&lt;/P&gt;
&lt;P&gt;A&amp;nbsp;&lt;/P&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;
&lt;P&gt;&amp;nbsp;&lt;/P&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, 23 Feb 2023 06:27:31 GMT</pubDate>
    <dc:creator>A_Menon</dc:creator>
    <dc:date>2023-02-23T06:27:31Z</dc:date>
    <item>
      <title>File upload from XSOAR war room  to Sentinel watchlist</title>
      <link>https://live.paloaltonetworks.com/t5/cortex-xsoar-discussions/file-upload-from-xsoar-war-room-to-sentinel-watchlist/m-p/532060#M1829</link>
      <description>&lt;P&gt;Hi,&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Newbie to Xsoar and working on an automation when a csv file is uploaded to war room, it should upload the csv to Azure Sentinel watchlist.&amp;nbsp;&amp;nbsp;From what I understand, I can do this by grabbing the file entry id of the latest file uploaded and then using the entry id upload it to Sentinel watchlist.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;OL&gt;
&lt;LI&gt;Is there a better way to do this ?&lt;/LI&gt;
&lt;LI&gt;If no to the above question, what are the commands I can use to get the file entry id of the recent file uploaded&lt;/LI&gt;
&lt;/OL&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thank you !!&lt;/P&gt;
&lt;P&gt;A&amp;nbsp;&lt;/P&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;
&lt;P&gt;&amp;nbsp;&lt;/P&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, 23 Feb 2023 06:27:31 GMT</pubDate>
      <guid>https://live.paloaltonetworks.com/t5/cortex-xsoar-discussions/file-upload-from-xsoar-war-room-to-sentinel-watchlist/m-p/532060#M1829</guid>
      <dc:creator>A_Menon</dc:creator>
      <dc:date>2023-02-23T06:27:31Z</dc:date>
    </item>
    <item>
      <title>Re: File upload from XSOAR war room  to Sentinel watchlist</title>
      <link>https://live.paloaltonetworks.com/t5/cortex-xsoar-discussions/file-upload-from-xsoar-war-room-to-sentinel-watchlist/m-p/532460#M1840</link>
      <description>&lt;P&gt;Hello I a not familiar with the Azure Sentinel but I am sure the process is the same for most integrations.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Firstly use the Variable ${File.EntryID} that appears in the context when the file is added. What I recommend is to create a test incident to see how this feature works. If you have multiple files then it can make things confusing so I would recommend saving this EntryID in a different location when It is added to the XSOAR incident. Or, you could try tagging it and then querying the context but this can be a bit of over-kill. Another option is to loop over all the files in context using the variable ${File.[].EntryID}, notice the empty brackets allowed all the nested json to be iterated over like a loop and then specificy the pre-determined name of&amp;nbsp; what you want.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;To Be honest there are many options. Please elaborate some more including the playbook segment so that I can provide you a more direct solution to your issue.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Many thanks,&amp;nbsp;&lt;/P&gt;
&lt;P&gt;MR&lt;/P&gt;
&lt;P&gt;P.S. The Attached picture shows how the file is laid out in the context.&amp;nbsp;&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="michaelsysec242_0-1677593439553.png" style="width: 400px;"&gt;&lt;img src="https://live.paloaltonetworks.com/t5/image/serverpage/image-id/48227i5E8408CA2C060DFA/image-size/medium/is-moderation-mode/true?v=v2&amp;amp;px=400" role="button" title="michaelsysec242_0-1677593439553.png" alt="michaelsysec242_0-1677593439553.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 28 Feb 2023 14:15:40 GMT</pubDate>
      <guid>https://live.paloaltonetworks.com/t5/cortex-xsoar-discussions/file-upload-from-xsoar-war-room-to-sentinel-watchlist/m-p/532460#M1840</guid>
      <dc:creator>michaelsysec242</dc:creator>
      <dc:date>2023-02-28T14:15:40Z</dc:date>
    </item>
    <item>
      <title>Re: File upload from XSOAR war room  to Sentinel watchlist</title>
      <link>https://live.paloaltonetworks.com/t5/cortex-xsoar-discussions/file-upload-from-xsoar-war-room-to-sentinel-watchlist/m-p/532601#M1845</link>
      <description>&lt;P&gt;this helps. The&amp;nbsp;&lt;SPAN&gt;${File.[].EntryID} sounds good and further narrowed it down on time based condition&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 01 Mar 2023 04:28:07 GMT</pubDate>
      <guid>https://live.paloaltonetworks.com/t5/cortex-xsoar-discussions/file-upload-from-xsoar-war-room-to-sentinel-watchlist/m-p/532601#M1845</guid>
      <dc:creator>A_Menon</dc:creator>
      <dc:date>2023-03-01T04:28:07Z</dc:date>
    </item>
  </channel>
</rss>

