Skip to content

ApplicationObject's refreshall limits to 50 results #602

Description

@saipratap99

Documentation link

https://github.com/PaloAltoNetworks/pan-os-python/blob/develop/examples/bulk_address_objects.py

Describe the problem

The documentation does not mention that the Panorama SDK paginates Application objects with a default limit of 50, and the pan-os-sdk does not automatically handle pagination.

As a result, calling:

objects = ApplicationObject.refreshall(panorama)

returns only 50 application objects, even when more exist.

There is also no documented method in the SDK (such as chunk_size or limit) to override the limit or to auto-paginate, which leads to confusion.

Is it possible to fetch all the objects using pagination or any other approach ?

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions