<?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 Re: XSOAR - Using a script to run playbook in Cortex XSOAR Discussions</title>
    <link>https://live.paloaltonetworks.com/t5/cortex-xsoar-discussions/xsoar-using-a-script-to-run-playbook/m-p/580999#M3165</link>
    <description>&lt;P&gt;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.&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="gyldz_0-1710921878304.png" style="width: 400px;"&gt;&lt;img src="https://live.paloaltonetworks.com/t5/image/serverpage/image-id/58491iF8A5E4207D378FE1/image-size/medium/is-moderation-mode/true?v=v2&amp;amp;px=400" role="button" title="gyldz_0-1710921878304.png" alt="gyldz_0-1710921878304.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Wed, 20 Mar 2024 08:04:50 GMT</pubDate>
    <dc:creator>gyldz</dc:creator>
    <dc:date>2024-03-20T08:04:50Z</dc:date>
    <item>
      <title>XSOAR - Using a script to run playbook</title>
      <link>https://live.paloaltonetworks.com/t5/cortex-xsoar-discussions/xsoar-using-a-script-to-run-playbook/m-p/580661#M3149</link>
      <description>&lt;P&gt;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.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;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.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Is there a way to achieve this?&lt;/P&gt;</description>
      <pubDate>Sun, 17 Mar 2024 08:05:20 GMT</pubDate>
      <guid>https://live.paloaltonetworks.com/t5/cortex-xsoar-discussions/xsoar-using-a-script-to-run-playbook/m-p/580661#M3149</guid>
      <dc:creator>alan.chan</dc:creator>
      <dc:date>2024-03-17T08:05:20Z</dc:date>
    </item>
    <item>
      <title>Re: XSOAR - Using a script to run playbook</title>
      <link>https://live.paloaltonetworks.com/t5/cortex-xsoar-discussions/xsoar-using-a-script-to-run-playbook/m-p/580747#M3150</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://live.paloaltonetworks.com/t5/user/viewprofilepage/user-id/1211942971"&gt;@alan.chan&lt;/a&gt;&amp;nbsp;,&lt;BR /&gt;&lt;BR /&gt;You can implement an approval process by using workarounds as below.&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;
&lt;UL class="p-rich_text_list p-rich_text_list__bullet" data-stringify-type="unordered-list" data-indent="0" data-border="0"&gt;
&lt;LI data-stringify-indent="0" data-stringify-border="0"&gt;A button runs the approval process via script with a mandatory argument (such as a short text comment or drop-down list option. When they press the button, they must provide this before the automation runs.&lt;/LI&gt;
&lt;/UL&gt;
&lt;P&gt;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.&lt;BR /&gt;&lt;BR /&gt;I hope one of them will help you to implement the logic.&lt;/P&gt;</description>
      <pubDate>Mon, 18 Mar 2024 08:30:59 GMT</pubDate>
      <guid>https://live.paloaltonetworks.com/t5/cortex-xsoar-discussions/xsoar-using-a-script-to-run-playbook/m-p/580747#M3150</guid>
      <dc:creator>gyldz</dc:creator>
      <dc:date>2024-03-18T08:30:59Z</dc:date>
    </item>
    <item>
      <title>Re: XSOAR - Using a script to run playbook</title>
      <link>https://live.paloaltonetworks.com/t5/cortex-xsoar-discussions/xsoar-using-a-script-to-run-playbook/m-p/580799#M3156</link>
      <description>&lt;P&gt;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.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 18 Mar 2024 14:34:12 GMT</pubDate>
      <guid>https://live.paloaltonetworks.com/t5/cortex-xsoar-discussions/xsoar-using-a-script-to-run-playbook/m-p/580799#M3156</guid>
      <dc:creator>alan.chan</dc:creator>
      <dc:date>2024-03-18T14:34:12Z</dc:date>
    </item>
    <item>
      <title>Re: XSOAR - Using a script to run playbook</title>
      <link>https://live.paloaltonetworks.com/t5/cortex-xsoar-discussions/xsoar-using-a-script-to-run-playbook/m-p/580999#M3165</link>
      <description>&lt;P&gt;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.&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="gyldz_0-1710921878304.png" style="width: 400px;"&gt;&lt;img src="https://live.paloaltonetworks.com/t5/image/serverpage/image-id/58491iF8A5E4207D378FE1/image-size/medium/is-moderation-mode/true?v=v2&amp;amp;px=400" role="button" title="gyldz_0-1710921878304.png" alt="gyldz_0-1710921878304.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 20 Mar 2024 08:04:50 GMT</pubDate>
      <guid>https://live.paloaltonetworks.com/t5/cortex-xsoar-discussions/xsoar-using-a-script-to-run-playbook/m-p/580999#M3165</guid>
      <dc:creator>gyldz</dc:creator>
      <dc:date>2024-03-20T08:04:50Z</dc:date>
    </item>
  </channel>
</rss>

