show running security-policy API limit

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

show running security-policy API limit

L0 Member



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?




L5 Sessionator

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

Help the community: "Like" helpful comments, and click "Accept as Solution" if you found your answer 🙂

The second API call works, but this is not giving the output I am looking for. The issue is, you get the config with to objects names, they are not already replaced by the actual values.

  • 2 replies
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!