As a workaround, I've been using the panxapi and panaddr commands that come with the API module. They do not have admin sessions hanging around after exiting.
... View more
I'm using PAN::XAPI XML API module to perform various actions on a Palo Alto firewall. The connections seem to work fine. However, after a while I still see the admin logged in according to the Dashboard tab. They stay there until the idle timeout is reached. I'd prefer to be able to call a disconnect() or logout() type of method when I'm done with the XML calls so the user isn't still logged in. A lot of the actions we do may connect, do a few commands and then disconnect.
... View more