- Access exclusive content
- Connect with peers
- Share your expertise
- Find support resources
03-17-2024 01:05 AM
I want to be able to click on an Indicator (i.e. a domain) in the Incidents page, run a script to kick off an approval process, once approved, continue to block.
I've come to the conclusion that script execution in XSOAR is not synchronous; the script feature doesn't have the capability to wait for the user to confirm via War Room or anything else for that matter before execution the rest of the script. Interaction with the user happens through playbooks. If this is true (please correct me if I'm wrong), then the next logical approach is to use a script to execute a playbook, passing along any arguments. This is not possible.
Is there a way to achieve this?
03-20-2024 01:04 AM
Yes, you need a playbook to achieve this. You can create a playbook for this purpose and run it by pressing Create Incident button from TIM page. You can tag indicators as blocked and filter them to run the playbook.
03-18-2024 01:30 AM
Hi @alan.chan ,
You can implement an approval process by using workarounds as below.
A boolean field that can be put in the layout must be set to true before clicking the button. The wrapper script checks the field value, if not set to True, returns error. Otherwise, run the function and then reset the field back to False.
I hope one of them will help you to implement the logic.
03-18-2024 07:34 AM
I want to send approval process to a separate technology, for instance, Slack. Can you run the script to ask for approval in Slack, wait for a response (can take a few hours), and then continue with script execution after request is approved? I don't think this is possible without going through playbooks.
03-20-2024 01:04 AM
Yes, you need a playbook to achieve this. You can create a playbook for this purpose and run it by pressing Create Incident button from TIM page. You can tag indicators as blocked and filter them to run the playbook.
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!