<?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: Access a list from an integration in Cortex XSOAR Discussions</title>
    <link>https://live.paloaltonetworks.com/t5/cortex-xsoar-discussions/access-a-list-from-an-integration/m-p/1232272#M4078</link>
    <description>&lt;P&gt;Yes!! It works, thanks!!!&lt;/P&gt;</description>
    <pubDate>Sat, 21 Jun 2025 19:40:30 GMT</pubDate>
    <dc:creator>EnriqueSanz</dc:creator>
    <dc:date>2025-06-21T19:40:30Z</dc:date>
    <item>
      <title>Access a list from an integration</title>
      <link>https://live.paloaltonetworks.com/t5/cortex-xsoar-discussions/access-a-list-from-an-integration/m-p/533797#M1875</link>
      <description>&lt;P&gt;&lt;SPAN class="HwtZe"&gt;&lt;SPAN class="jCAhz ChMk0b"&gt;&lt;SPAN class="ryNqvb"&gt;To access a list from an automation I use something like:&lt;/SPAN&gt;&lt;/SPAN&gt; &lt;/SPAN&gt;&lt;/P&gt;
&lt;LI-CODE lang="python"&gt;json = json.loads(demisto.executeCommand("getList", {"listName": "blabla"})&lt;/LI-CODE&gt;
&lt;P&gt;&lt;SPAN class="HwtZe"&gt;&lt;SPAN class="jCAhz ChMk0b"&gt;&lt;SPAN class="ryNqvb"&gt;However, from an integration I cannot use the executeCommand method.&lt;/SPAN&gt;&lt;/SPAN&gt; &lt;SPAN class="jCAhz ChMk0b"&gt;&lt;SPAN class="ryNqvb"&gt;Is there any way to access a list from an integration?&lt;/SPAN&gt;&lt;/SPAN&gt; &lt;SPAN class="jCAhz ChMk0b"&gt;&lt;SPAN class="ryNqvb"&gt;If it is not possible, what alternative do I have to access static information (it is a large list of dictionaries).&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;SPAN class="HwtZe"&gt;&lt;SPAN class="jCAhz ChMk0b"&gt;&lt;SPAN class="ryNqvb"&gt;Thanks!&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN class="HwtZe"&gt;&lt;SPAN class="jCAhz ChMk0b"&gt;&lt;SPAN class="ryNqvb"&gt;Rafa.&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 09 Mar 2023 16:02:39 GMT</pubDate>
      <guid>https://live.paloaltonetworks.com/t5/cortex-xsoar-discussions/access-a-list-from-an-integration/m-p/533797#M1875</guid>
      <dc:creator>rdevega</dc:creator>
      <dc:date>2023-03-09T16:02:39Z</dc:date>
    </item>
    <item>
      <title>Re: Access a list from an integration</title>
      <link>https://live.paloaltonetworks.com/t5/cortex-xsoar-discussions/access-a-list-from-an-integration/m-p/533803#M1876</link>
      <description>&lt;P&gt;As you noted you cannot get a list from an integration, as integrations are designed to reach out and interact with external systems.&amp;nbsp;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;You can have the integration reach out and grab the data from an external source, or you can use an Automation Script to run the demisto.executeCommand , and then getList and do something from there.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 09 Mar 2023 16:35:08 GMT</pubDate>
      <guid>https://live.paloaltonetworks.com/t5/cortex-xsoar-discussions/access-a-list-from-an-integration/m-p/533803#M1876</guid>
      <dc:creator>MBeauchamp2</dc:creator>
      <dc:date>2023-03-09T16:35:08Z</dc:date>
    </item>
    <item>
      <title>Re: Access a list from an integration</title>
      <link>https://live.paloaltonetworks.com/t5/cortex-xsoar-discussions/access-a-list-from-an-integration/m-p/533988#M1881</link>
      <description>&lt;H2&gt;internalHttpRequest&lt;A class="hash-link" title="Direct link to heading" href="https://xsoar.pan.dev/docs/reference/api/demisto-class#internalhttprequest" target="_blank"&gt;#&lt;/A&gt;&lt;/H2&gt;
&lt;DIV class="codeBlockContainer_K1bP"&gt;
&lt;DIV class="codeBlockContent_hGly python"&gt;
&lt;DIV class="prism-code language-python codeBlock_23N8 thin-scrollbar" tabindex="0"&gt;
&lt;DIV class="codeBlockLines_39YC" style="color: #bfc7d5; background-color: #292d3e;"&gt;
&lt;DIV class="token-line" style="color: #bfc7d5;"&gt;&lt;SPAN class="token plain"&gt;demisto&lt;/SPAN&gt;&lt;SPAN class="token punctuation"&gt;.&lt;/SPAN&gt;&lt;SPAN class="token plain"&gt;internalHttpRequest&lt;/SPAN&gt;&lt;SPAN class="token punctuation"&gt;(&lt;/SPAN&gt;&lt;SPAN class="token plain"&gt;method&lt;/SPAN&gt;&lt;SPAN class="token punctuation"&gt;,&lt;/SPAN&gt;&lt;SPAN class="token plain"&gt; uri&lt;/SPAN&gt;&lt;SPAN class="token punctuation"&gt;,&lt;/SPAN&gt;&lt;SPAN class="token plain"&gt; body&lt;/SPAN&gt;&lt;SPAN class="token operator"&gt;=&lt;/SPAN&gt;&lt;SPAN class="token boolean"&gt;None&lt;/SPAN&gt;&lt;SPAN class="token punctuation"&gt;)&lt;/SPAN&gt;&lt;/DIV&gt;
&lt;/DIV&gt;
&lt;/DIV&gt;
&lt;/DIV&gt;
&lt;/DIV&gt;
&lt;P&gt;Run an internal HTTP request to the XSOAR server. The request runs with the permissions of the executing user, when a command is being executed manually (such as via the War Room or when browsing a widget). When run via a playbook, will run with a readonly user with limited permissions isolated to the current incident only. &lt;STRONG&gt;Available for both Integrations and Scripts&lt;/STRONG&gt; starting from Server version 6.1.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;This method might be what you are looking for&lt;BR /&gt;&lt;a href="https://live.paloaltonetworks.com/t5/user/viewprofilepage/user-id/278343"&gt;@rdevega&lt;/a&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 10 Mar 2023 17:25:55 GMT</pubDate>
      <guid>https://live.paloaltonetworks.com/t5/cortex-xsoar-discussions/access-a-list-from-an-integration/m-p/533988#M1881</guid>
      <dc:creator>EnesOzdemir</dc:creator>
      <dc:date>2023-03-10T17:25:55Z</dc:date>
    </item>
    <item>
      <title>Re: Access a list from an integration</title>
      <link>https://live.paloaltonetworks.com/t5/cortex-xsoar-discussions/access-a-list-from-an-integration/m-p/533997#M1882</link>
      <description>&lt;P&gt;yes,&amp;nbsp;&lt;SPAN&gt;that's the solution to my problem.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;Thanks!!&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 10 Mar 2023 18:48:01 GMT</pubDate>
      <guid>https://live.paloaltonetworks.com/t5/cortex-xsoar-discussions/access-a-list-from-an-integration/m-p/533997#M1882</guid>
      <dc:creator>rdevega</dc:creator>
      <dc:date>2023-03-10T18:48:01Z</dc:date>
    </item>
    <item>
      <title>Re: Access a list from an integration</title>
      <link>https://live.paloaltonetworks.com/t5/cortex-xsoar-discussions/access-a-list-from-an-integration/m-p/1232207#M4076</link>
      <description>&lt;P&gt;Hello! &lt;SPAN class="--l --r hover:bg-blue-100 hover:dark:bg-blue-600"&gt;How&lt;/SPAN&gt; &lt;SPAN class="--l --r hover:bg-blue-100 hover:dark:bg-blue-600"&gt;did y&lt;/SPAN&gt;&lt;SPAN&gt;o&lt;/SPAN&gt;&lt;SPAN class="--l --r hover:bg-blue-100 hover:dark:bg-blue-600"&gt;u d&lt;/SPAN&gt;&lt;SPAN&gt;o&lt;/SPAN&gt;&lt;SPAN class="--l --r hover:bg-blue-100 hover:dark:bg-blue-600"&gt; it&lt;/SPAN&gt;&lt;SPAN&gt;? Im stucked...&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 20 Jun 2025 09:31:53 GMT</pubDate>
      <guid>https://live.paloaltonetworks.com/t5/cortex-xsoar-discussions/access-a-list-from-an-integration/m-p/1232207#M4076</guid>
      <dc:creator>EnriqueSanz</dc:creator>
      <dc:date>2025-06-20T09:31:53Z</dc:date>
    </item>
    <item>
      <title>Re: Access a list from an integration</title>
      <link>https://live.paloaltonetworks.com/t5/cortex-xsoar-discussions/access-a-list-from-an-integration/m-p/1232209#M4077</link>
      <description>&lt;P&gt;hi!&lt;/P&gt;
&lt;P&gt;My solution:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;LI-CODE lang="python"&gt;response = demisto . internalHttpRequest ( "GET" , "/lists" , body=None )
data = json.loads(response['body'])&lt;/LI-CODE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I hope this helps.&lt;/P&gt;</description>
      <pubDate>Fri, 20 Jun 2025 09:47:13 GMT</pubDate>
      <guid>https://live.paloaltonetworks.com/t5/cortex-xsoar-discussions/access-a-list-from-an-integration/m-p/1232209#M4077</guid>
      <dc:creator>rdevega</dc:creator>
      <dc:date>2025-06-20T09:47:13Z</dc:date>
    </item>
    <item>
      <title>Re: Access a list from an integration</title>
      <link>https://live.paloaltonetworks.com/t5/cortex-xsoar-discussions/access-a-list-from-an-integration/m-p/1232272#M4078</link>
      <description>&lt;P&gt;Yes!! It works, thanks!!!&lt;/P&gt;</description>
      <pubDate>Sat, 21 Jun 2025 19:40:30 GMT</pubDate>
      <guid>https://live.paloaltonetworks.com/t5/cortex-xsoar-discussions/access-a-list-from-an-integration/m-p/1232272#M4078</guid>
      <dc:creator>EnriqueSanz</dc:creator>
      <dc:date>2025-06-21T19:40:30Z</dc:date>
    </item>
  </channel>
</rss>

