PaloAltoNetworks / pan-os-python

The PAN-OS SDK for Python is a package to help interact with Palo Alto Networks devices (including physical and virtualized Next-generation Firewalls and Panorama). The pan-os-python SDK is object oriented and mimics the traditional interaction with the device via the GUI or CLI/API.
https://pan-os-python.readthedocs.io
ISC License
339 stars 166 forks source link

Add support for "Apply to New App-IDs only" parameter in panos.objects.ApplicationFilter class #522

Open nikolay-matveev-kkr opened 11 months ago

nikolay-matveev-kkr commented 11 months ago

Is your feature request related to a problem?

panos.objects.ApplicationFilter does not have a paramater to include "Apply to New App-IDs only".

Describe the solution you'd like

Add a parameter "apply_to_new_app_ids_only" (bool) to the class panos.objects.ApplicationFilter.

Describe alternatives you've considered

There are no real alternatives other than manual creation of such filters, or the use of XML API directly.

Additional context

We have a whole security policy built using the SDK (with the exception of Security Profiles that are also missing from the SDK) and would like to introduce application filters and policy rules for new AppIDs to follow the Palo's BPA for content updates (https://docs.paloaltonetworks.com/pan-os/10-2/pan-os-upgrade/software-and-content-updates/best-practices-for-app-and-threat-content-updates/best-practices-mission-critical#id184AH00L078)