PaloAltoNetworks / pan-os-python

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.
https://pan-os-python.readthedocs.io
ISC License
345 stars 170 forks source link

"Who am I" convenience method #261

Closed btorresgil closed 3 years ago

btorresgil commented 4 years ago

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 the whoami command.

github-actions[bot] commented 3 years ago

:tada: This issue has been resolved in version 1.1.0 :tada:

The release is available on PyPI and GitHub release

Posted by semantic-release bot