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.
It is difficult to determine which user is being used. This could be important for auditing purposes, for example, to log the user during a change.
Describe the solution you'd like
A convenience method on PanDevice class called def who_am_i(self): that returns the user. For example, this is easy to do on linux with the whoami command.
Is your feature request related to a problem?
It is difficult to determine which user is being used. This could be important for auditing purposes, for example, to log the user during a change.
Describe the solution you'd like
A convenience method on PanDevice class called
def who_am_i(self):
that returns the user. For example, this is easy to do on linux with thewhoami
command.