<?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 Inquiry on how Javascript integration works with Cortex XSOAR in Cortex XSOAR Discussions</title>
    <link>https://live.paloaltonetworks.com/t5/cortex-xsoar-discussions/inquiry-on-how-javascript-integration-works-with-cortex-xsoar/m-p/543008#M2171</link>
    <description>&lt;P&gt;Hi Support,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;We have a special setup on our cortex xsoar which allows podman to use a Proxy A for pulling images from docker repositories (via http_proxy and http_proxy) and a Proxy B for python integration (Via python.extra.keys) to access internet.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;However with this setup, Javascript integrations are not working as by default it references http_proxy and https_proxy which uses Proxy A. Proxy A can only access docker repositories and not the internet. We need to set it to Proxy B.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Is there any configuration key we can use to allow Javascript integrations to use a specify proxy.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;If not, does anyone have any idea how Javascript Integration is executed by XSOAR?&lt;/P&gt;
&lt;P&gt;What type of Javascript Engine is used? (Nodejs, deno, etc)&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Your help is greatly appreciated.&lt;/P&gt;
&lt;P&gt;Thanks!&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Best Regards,&lt;/P&gt;
&lt;P&gt;Jovi&lt;/P&gt;</description>
    <pubDate>Tue, 23 May 2023 07:15:19 GMT</pubDate>
    <dc:creator>JoviTan</dc:creator>
    <dc:date>2023-05-23T07:15:19Z</dc:date>
    <item>
      <title>Inquiry on how Javascript integration works with Cortex XSOAR</title>
      <link>https://live.paloaltonetworks.com/t5/cortex-xsoar-discussions/inquiry-on-how-javascript-integration-works-with-cortex-xsoar/m-p/543008#M2171</link>
      <description>&lt;P&gt;Hi Support,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;We have a special setup on our cortex xsoar which allows podman to use a Proxy A for pulling images from docker repositories (via http_proxy and http_proxy) and a Proxy B for python integration (Via python.extra.keys) to access internet.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;However with this setup, Javascript integrations are not working as by default it references http_proxy and https_proxy which uses Proxy A. Proxy A can only access docker repositories and not the internet. We need to set it to Proxy B.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Is there any configuration key we can use to allow Javascript integrations to use a specify proxy.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;If not, does anyone have any idea how Javascript Integration is executed by XSOAR?&lt;/P&gt;
&lt;P&gt;What type of Javascript Engine is used? (Nodejs, deno, etc)&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Your help is greatly appreciated.&lt;/P&gt;
&lt;P&gt;Thanks!&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Best Regards,&lt;/P&gt;
&lt;P&gt;Jovi&lt;/P&gt;</description>
      <pubDate>Tue, 23 May 2023 07:15:19 GMT</pubDate>
      <guid>https://live.paloaltonetworks.com/t5/cortex-xsoar-discussions/inquiry-on-how-javascript-integration-works-with-cortex-xsoar/m-p/543008#M2171</guid>
      <dc:creator>JoviTan</dc:creator>
      <dc:date>2023-05-23T07:15:19Z</dc:date>
    </item>
    <item>
      <title>Re: Inquiry on how Javascript integration works with Cortex XSOAR</title>
      <link>https://live.paloaltonetworks.com/t5/cortex-xsoar-discussions/inquiry-on-how-javascript-integration-works-with-cortex-xsoar/m-p/546450#M2241</link>
      <description>&lt;P&gt;Javascript doesn't run in containers like the other runtimes, and I don't see any settings for http proxy specific to javascript executions so this is a bit tricky.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;One thing I think would be worth trying would be to set a config level (ie&amp;nbsp;&lt;SPAN&gt;/etc/containers/containers.conf or similar) config in podman for proxy A and then set the XSOAR http_proxy to proxy B and see if you can get it to work that way.&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Also, having two proxies like this seems confusing and not ideal, but if it's absolutely unavoidable I'd suggest saving yourself some pain and using tinyproxy (or similar) with conditional upstreams (eg,&amp;nbsp;&lt;SPAN&gt;upstream http proxyA:8000 ".docker.io") then pointing everything at the local tinyproxy. This gives you even more control if you need to add additional domains to proxyA, or some other, third proxy in the future.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 20 Jun 2023 08:04:12 GMT</pubDate>
      <guid>https://live.paloaltonetworks.com/t5/cortex-xsoar-discussions/inquiry-on-how-javascript-integration-works-with-cortex-xsoar/m-p/546450#M2241</guid>
      <dc:creator>chrking</dc:creator>
      <dc:date>2023-06-20T08:04:12Z</dc:date>
    </item>
  </channel>
</rss>

