<?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 Installing Python Libraries for Custom Automations in Cortex XSOAR Discussions</title>
    <link>https://live.paloaltonetworks.com/t5/cortex-xsoar-discussions/installing-python-libraries-for-custom-automations/m-p/525349#M1576</link>
    <description>&lt;P&gt;I have a need to use a library called "Beautiful Soup" for scraping and HTML Parsing on a Custom Automation I am writing for use in a playbook. How do I install the dependencies so that I can use any library that I need ?&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Traditional on VSCode I would use pip install etc on the server I see that it isn't so simple.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thanks in advance&lt;/P&gt;
&lt;P&gt;&lt;LI-PRODUCT title="Cortex XSOAR" id="Cortex_XSOAR"&gt;&lt;/LI-PRODUCT&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Wed, 28 Dec 2022 10:22:20 GMT</pubDate>
    <dc:creator>michaelsysec242</dc:creator>
    <dc:date>2022-12-28T10:22:20Z</dc:date>
    <item>
      <title>Installing Python Libraries for Custom Automations</title>
      <link>https://live.paloaltonetworks.com/t5/cortex-xsoar-discussions/installing-python-libraries-for-custom-automations/m-p/525349#M1576</link>
      <description>&lt;P&gt;I have a need to use a library called "Beautiful Soup" for scraping and HTML Parsing on a Custom Automation I am writing for use in a playbook. How do I install the dependencies so that I can use any library that I need ?&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Traditional on VSCode I would use pip install etc on the server I see that it isn't so simple.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thanks in advance&lt;/P&gt;
&lt;P&gt;&lt;LI-PRODUCT title="Cortex XSOAR" id="Cortex_XSOAR"&gt;&lt;/LI-PRODUCT&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 28 Dec 2022 10:22:20 GMT</pubDate>
      <guid>https://live.paloaltonetworks.com/t5/cortex-xsoar-discussions/installing-python-libraries-for-custom-automations/m-p/525349#M1576</guid>
      <dc:creator>michaelsysec242</dc:creator>
      <dc:date>2022-12-28T10:22:20Z</dc:date>
    </item>
    <item>
      <title>Re: Installing Python Libraries for Custom Automations</title>
      <link>https://live.paloaltonetworks.com/t5/cortex-xsoar-discussions/installing-python-libraries-for-custom-automations/m-p/525388#M1579</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://live.paloaltonetworks.com/t5/user/viewprofilepage/user-id/209373"&gt;@michaelsysec242&lt;/a&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;One of docker images has Beautiful Soup installed so you will need to change the docker image name as below for the automation scrip that you are trying to run. Then you can import Beautiful Soup functions.&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="ysato_0-1672251882487.png" style="width: 400px;"&gt;&lt;img src="https://live.paloaltonetworks.com/t5/image/serverpage/image-id/46536iDC2D8852EC92AE84/image-size/medium/is-moderation-mode/true?v=v2&amp;amp;px=400" role="button" title="ysato_0-1672251882487.png" alt="ysato_0-1672251882487.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;If you need to install other dependencies that might not be pre-installed, you can use the built-in command "/docker_image_create" and specifying other parameters. The only potential issue is you wont be able to deleted dockers from the UI, you will need to go into the server to delete them.&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="ysato_1-1672252136942.png" style="width: 400px;"&gt;&lt;img src="https://live.paloaltonetworks.com/t5/image/serverpage/image-id/46537iC282C4BC594D7106/image-size/medium/is-moderation-mode/true?v=v2&amp;amp;px=400" role="button" title="ysato_1-1672252136942.png" alt="ysato_1-1672252136942.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;I hope this helps!&lt;/P&gt;</description>
      <pubDate>Wed, 28 Dec 2022 18:30:45 GMT</pubDate>
      <guid>https://live.paloaltonetworks.com/t5/cortex-xsoar-discussions/installing-python-libraries-for-custom-automations/m-p/525388#M1579</guid>
      <dc:creator>yuki_sato</dc:creator>
      <dc:date>2022-12-28T18:30:45Z</dc:date>
    </item>
  </channel>
</rss>

