PaloAltoNetworks / pan-os-codegen

Generator for pango SDK and panos Terraform Provider
MIT License
4 stars 0 forks source link

Targets handling for Panorama Policy rules #74

Open migara opened 6 months ago

migara commented 6 months ago

Panorama managed rules can have a target device specified as part of the configuration. This need to be supported in future

shinmog commented 6 months ago

Looking at the old panos provider, Targets is map[string] []string. That []string should be a set as it is unordered. The key is the NGFW serial number, while the []string is a list of applicable vsys. This list is empty for the given serial number if the serial number is a virtual firewall and thus does not have any vsys.