PaloAltoNetworks / PaloAltoNetworks/pan-os-python
Add support for "Apply to New App-IDs only" parameter in panos.objects.ApplicationFilter class
Nobody has claimed this yet.
- Dominant language
- Python
- Stars
- 400
- Forks
- 199
- PR merge metrics
- No merged PRs in 30d
Description
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)
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
Start with the panos.objects.ApplicationFilter class and trace how its parameters are represented in the PAN-OS SDK. Add support for the requested apply_to_new_app_ids_only parameter, then verify that an ApplicationFilter can represent and serialize the setting correctly.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- python
- Domain
- api, networking
- Issue type
- Feature
- Difficulty
- 2/5
- Estimated time
- 1-3 hours
- Activity status
- Stale
- Clarity
- Clearly specified
- Newbie friendliness
- 50/100