Skip to main content

PAN-OS-GetDeviceDiskSpace

This Script is part of the PAN-OS by Palo Alto Networks Pack.#

Supported versions

Supported Cortex XSOAR versions: 6.10.0 and later.

This script fetches disk space info from the target device and returns all information or a subset as specified in command arguments.

Script Data#


NameDescription
Script Typepython3
Cortex XSOAR Version6.10.0

Dependencies#


This script uses the following commands and scripts.

  • Panorama
  • pan-os

Used In#


This script is used in the following playbooks and scripts.

  • PAN-OS - Firewall Upgrade Readiness Checks

Inputs#


Argument NameDescription
targetThe serial number of the device to get disk space info from.
panos_instance_nameThe instance name of the PAN-OS Integration to use. Specify only one instance.
disk_space_units

Outputs#


PathDescriptionType
PANOS.DiskSpace.hostidSerial number of the device.string
PANOS.DiskSpace.FileSystems.FileSystemThe device file system.string
PANOS.DiskSpace.FileSystems.SizeThe size of the file system.number
PANOS.DiskSpace.FileSystems.UsedThe amount of used space on the file system.number
PANOS.DiskSpace.FileSystems.AvailThe amount of free space on the file system.number
PANOS.DiskSpace.FileSystems.Used%The percentage of total size used.string
PANOS.DiskSpace.FileSystems.MountedOnThe path where the file system is mounted.string
PANOS.DiskSpace.FileSystems.UnitsThe unit used to represent disk space values.string