Query External Dynamic List Content

Reply
L4 Transporter

Query External Dynamic List Content

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.

L4 Transporter

Re: Query External Dynamic List Content

Hello,

 

You can query an EDL for its contents using an operational command via API.

 

Documentation on using operational commands via API:

https://www.paloaltonetworks.com/documentation/80/pan-os/xml-api/pan-os-xml-api-request-types/run-op...

 

The operational command you would pass as the 'cmd' parameter in the API call is:

<request><system><external-list><show><type><ip><name>Your EDL Name</name></ip></type></show></external-list></system></request>

 

PAN-OS 8.0 has a bug where that API call only returns the first entry in the EDL.  This is being worked on now, and I'll post here which version contains the fix.

L1 Bithead

Re: Query External Dynamic List Content

Do you know what version(s) this was fixed in?

 

Edit:

Not sure where it was first fixed but it's fixed in 8.1.7 at least.

Like what you see?

Show your appreciation!

Click Like if a post is helpful to you or if you just want to show your support.

Click Accept as Solution to acknowledge that the answer to your question has been provided.

The button appears next to the replies on topics you’ve started. The member who gave the solution and all future visitors to this topic will appreciate it!

These simple actions take just seconds of your time, but go a long way in showing appreciation for community members and the Live Community as a whole!

The Live Community thanks you for your participation!