<?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: Query External Dynamic List Content in Automation/API Discussions</title>
    <link>https://live.paloaltonetworks.com/t5/automation-api-discussions/query-external-dynamic-list-content/m-p/162857#M1393</link>
    <description>&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;You can query an EDL for its contents using an operational command via API.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Documentation on using operational commands via API:&lt;/P&gt;&lt;P&gt;&lt;A href="https://www.paloaltonetworks.com/documentation/80/pan-os/xml-api/pan-os-xml-api-request-types/run-operational-mode-commands-api" target="_blank"&gt;https://www.paloaltonetworks.com/documentation/80/pan-os/xml-api/pan-os-xml-api-request-types/run-operational-mode-commands-api&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The operational command you would pass as the 'cmd' parameter in the API call is:&lt;/P&gt;&lt;P&gt;&amp;lt;request&amp;gt;&amp;lt;system&amp;gt;&amp;lt;external-list&amp;gt;&amp;lt;show&amp;gt;&amp;lt;type&amp;gt;&amp;lt;ip&amp;gt;&amp;lt;name&amp;gt;Your EDL Name&amp;lt;/name&amp;gt;&amp;lt;/ip&amp;gt;&amp;lt;/type&amp;gt;&amp;lt;/show&amp;gt;&amp;lt;/external-list&amp;gt;&amp;lt;/system&amp;gt;&amp;lt;/request&amp;gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;PAN-OS 8.0 has a bug where that API call only returns the first entry in the EDL. &amp;nbsp;This is being worked on now, and I'll post here which version contains the fix.&lt;/P&gt;</description>
    <pubDate>Thu, 22 Jun 2017 22:16:45 GMT</pubDate>
    <dc:creator>btorresgil</dc:creator>
    <dc:date>2017-06-22T22:16:45Z</dc:date>
    <item>
      <title>Query External Dynamic List Content</title>
      <link>https://live.paloaltonetworks.com/t5/automation-api-discussions/query-external-dynamic-list-content/m-p/161073#M1380</link>
      <description>&lt;P&gt;If I have a list of IP addresses, is there a way to query a PA to see if the listed IP addresses are contained within an EDL? This would be a large list, several hundred, so automating this would be the most practical way.&lt;/P&gt;</description>
      <pubDate>Tue, 13 Jun 2017 22:35:29 GMT</pubDate>
      <guid>https://live.paloaltonetworks.com/t5/automation-api-discussions/query-external-dynamic-list-content/m-p/161073#M1380</guid>
      <dc:creator>rmfalconer</dc:creator>
      <dc:date>2017-06-13T22:35:29Z</dc:date>
    </item>
    <item>
      <title>Re: Query External Dynamic List Content</title>
      <link>https://live.paloaltonetworks.com/t5/automation-api-discussions/query-external-dynamic-list-content/m-p/162857#M1393</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;You can query an EDL for its contents using an operational command via API.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Documentation on using operational commands via API:&lt;/P&gt;&lt;P&gt;&lt;A href="https://www.paloaltonetworks.com/documentation/80/pan-os/xml-api/pan-os-xml-api-request-types/run-operational-mode-commands-api" target="_blank"&gt;https://www.paloaltonetworks.com/documentation/80/pan-os/xml-api/pan-os-xml-api-request-types/run-operational-mode-commands-api&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The operational command you would pass as the 'cmd' parameter in the API call is:&lt;/P&gt;&lt;P&gt;&amp;lt;request&amp;gt;&amp;lt;system&amp;gt;&amp;lt;external-list&amp;gt;&amp;lt;show&amp;gt;&amp;lt;type&amp;gt;&amp;lt;ip&amp;gt;&amp;lt;name&amp;gt;Your EDL Name&amp;lt;/name&amp;gt;&amp;lt;/ip&amp;gt;&amp;lt;/type&amp;gt;&amp;lt;/show&amp;gt;&amp;lt;/external-list&amp;gt;&amp;lt;/system&amp;gt;&amp;lt;/request&amp;gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;PAN-OS 8.0 has a bug where that API call only returns the first entry in the EDL. &amp;nbsp;This is being worked on now, and I'll post here which version contains the fix.&lt;/P&gt;</description>
      <pubDate>Thu, 22 Jun 2017 22:16:45 GMT</pubDate>
      <guid>https://live.paloaltonetworks.com/t5/automation-api-discussions/query-external-dynamic-list-content/m-p/162857#M1393</guid>
      <dc:creator>btorresgil</dc:creator>
      <dc:date>2017-06-22T22:16:45Z</dc:date>
    </item>
    <item>
      <title>Re: Query External Dynamic List Content</title>
      <link>https://live.paloaltonetworks.com/t5/automation-api-discussions/query-external-dynamic-list-content/m-p/262551#M1943</link>
      <description>&lt;P&gt;Do you know what version(s) this was fixed in?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Edit:&lt;/P&gt;&lt;P&gt;Not sure where it was first fixed but it's fixed in 8.1.7 at least.&lt;/P&gt;</description>
      <pubDate>Fri, 07 Jun 2019 20:23:36 GMT</pubDate>
      <guid>https://live.paloaltonetworks.com/t5/automation-api-discussions/query-external-dynamic-list-content/m-p/262551#M1943</guid>
      <dc:creator>JasonKC</dc:creator>
      <dc:date>2019-06-07T20:23:36Z</dc:date>
    </item>
  </channel>
</rss>

