ATTENTION Customers, All Partners and Employees: The Customer Support Portal (CSP) will be undergoing maintenance and unavailable on Saturday, November 7, 2020, from 11 am to 11 pm PST. Please read our blog for more information.
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.
You can query an EDL for its contents using an operational command via API.
Documentation on using operational commands via API:
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.
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!