If I try to get all the running security policy via an API call https://FW/api/?type=op&cmd=<show><running><security-policy></security-policy></running></show>
it works, but I can only get around 1900 policies. All the rest is not shown. Is there any "start-at" of offset, pagging, or anything to be able to get the full security policy config?
Hi @kremiq, I tried to replicate this but was unable to. I created 2000 policies on a PA-3220, and both the following commands retrieved all the rules:
You could try the second, as the first is the one you already tried. Failing that, the XML API is a part of the product, so is TAC supported, so you can raise a case to investigate further why you are only getting partial results.
Hope that helps
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!