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.
Created the following new classes for the missing log setting formats:
class LogSettingsGlobalProtect
class LogSettingsUserId
class LogSettingsIpTag
class LogSettingsHipMatch
class LogSettingsCorrelation
Added the the new class references as CHILDTYPES parameter to the following classes:
panos.device: class Vsys
panos.panorama: class TemplateStack and class Template
panos.firewall: class Firewall
Motivation and Context
We need to update log settings across multiple firewalls/Panorama Device groups, however as of now only System and Configuration log settings are supported in the SDIK. The following log settings types are missing:
Global Protect (PanOS 9.1)
User ID
IP Tag (PanOS 9.0)
HIP Match
Correlation
How Has This Been Tested?
Tested the new classes for Log Setting retrieval and configuration against Panorama.
Screenshots (if appropriate)
NA
Types of changes
New feature (non-breaking change which adds functionality)
Checklist
[x] I have updated the documentation accordingly.
[x] I have read the CONTRIBUTING document.
[x] I have added tests to cover my changes if appropriate.
Description
Created the following new classes for the missing log setting formats:
Added the the new class references as CHILDTYPES parameter to the following classes:
Motivation and Context
We need to update log settings across multiple firewalls/Panorama Device groups, however as of now only System and Configuration log settings are supported in the SDIK. The following log settings types are missing:
How Has This Been Tested?
Tested the new classes for Log Setting retrieval and configuration against Panorama.
Screenshots (if appropriate)
NA
Types of changes
Checklist