PaloAltoNetworks / PaloAltoNetworks/pan-os-python
ApplicationFilter objects missing "Apply to New App-IDs only" parameter
Nobody has claimed this yet.
- Dominant language
- Python
- Stars
- 400
- Forks
- 199
- PR merge metrics
- No merged PRs in 30d
Description
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
- Find the existing ApplicationFilter with only the "Apply to New App-IDs only" filter selected on firewall.
- Create a copy of this filter.
- Add the filter to the other firewall.
- Error
Screenshots
Here I have a screenshot of the XML API showing the parameter on the ApplicationFilter object.
Here you can see the ApplicationFilter object does not include this filter:
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:
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Locate the ApplicationFilter object class and its existing property or XML parameter mappings. Compare them with the firewall XML API representation shown in the issue, focusing on the “Apply to New App-IDs only” parameter. Done means an ApplicationFilter containing only this parameter can be created or copied without the reported error.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- python
- Domain
- api
- Issue type
- Bug
- Difficulty
- 2/5
- Estimated time
- 1-3 hours
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100