pan-os-python icon indicating copy to clipboard operation
pan-os-python copied to clipboard

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

Open cbryant42 opened this issue 1 year ago • 0 comments

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

  • Version used:
  • pan-python 0.16.0
  • Environment name and version (e.g. Chrome 59, node.js 5.4, python 3.7.3):
  • Python 3.9.7
  • Operating System and version (desktop or mobile):
  • CentOS 8 stream Linux
  • Link to your project:

cbryant42 avatar Aug 02 '23 16:08 cbryant42