- Access exclusive content
- Connect with peers
- Share your expertise
- Find support resources
02-22-2023 10:27 PM
Hi,
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. 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.
Thank you !!
A
02-28-2023 06:15 AM
Hello I a not familiar with the Azure Sentinel but I am sure the process is the same for most integrations.
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 what you want.
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.
Many thanks,
MR
P.S. The Attached picture shows how the file is laid out in the context.
02-28-2023 06:15 AM
Hello I a not familiar with the Azure Sentinel but I am sure the process is the same for most integrations.
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 what you want.
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.
Many thanks,
MR
P.S. The Attached picture shows how the file is laid out in the context.
02-28-2023 08:28 PM
this helps. The ${File.[].EntryID} sounds good and further narrowed it down on time based condition
Click Accept as Solution to acknowledge that the answer to your question has been provided.
The button appears next to the replies on topics you’ve started. The member who gave the solution and all future visitors to this topic will appreciate it!
These simple actions take just seconds of your time, but go a long way in showing appreciation for community members and the LIVEcommunity as a whole!
The LIVEcommunity thanks you for your participation!