Skip to content

type=config‐size

Sven Waschkut edited this page Oct 6, 2023 · 1 revision

huge Panorama configuration files are common nowadays.

But which part is using most of the file size?

  • pan-os-php type=config-size in=api://MGMT-IP shadow-ignoreInvalidAddressObjects

This is also possible by running against an offline config file:

  • pan-os-php type=config-size in=CONFIGfile.xml shadow-ignoreInvalidAddressObjects

the easiest way to execute PAN-OS-PHP is running the available Docker container:

docker run --name panosphp --rm -v ${PWD}:/share -it swaschkut/pan-os-php:latest type=config-size in=api://MGMT-IP shadow-ignoreInvalidAddressObjects