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
344 stars 170 forks source link

ApplicationFilter objects missing "Apply to New App-IDs only" parameter #518

Open cbryant42 opened 1 year ago

cbryant42 commented 1 year ago

Describe the bug

The ApplicationFilter Object class is missing the property "Apply to New App-IDs only". This is causing an error when I try to create an object on the firewall with only that filter selected.

Expected behavior

The ApplicationFilter class should have a property/parameter for "Apply to New App-IDs only".

Current behavior

The ApplicationFilter Object class is missing the property "Apply to New App-IDs only".

Possible solution

Add it as a parameter.

Steps to reproduce

  1. Find the existing ApplicationFilter with only the "Apply to New App-IDs only" filter selected on firewall.
  2. Create a copy of this filter.
  3. Add the filter to the other firewall.
  4. Error

Screenshots

Here I have a screenshot of the XML API showing the parameter on the ApplicationFilter object. image Here you can see the ApplicationFilter object does not include this filter: image

Context

I get an error when trying to create an ApplicationFilter with only that filter selected.

Your Environment