Query External Dynamic List Content

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
Announcements

Query External Dynamic List Content

L5 Sessionator

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.

2 REPLIES 2

L4 Transporter

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.

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.

  • 5227 Views
  • 2 replies
  • 0 Likes
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 LIVEcommunity as a whole!

The LIVEcommunity thanks you for your participation!