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

Feature/new log settings

Open BatD2 opened this issue 3 years ago • 0 comments

Description

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.
  • [x] All new and existing tests passed.

BatD2 avatar Nov 03 '22 10:11 BatD2