Any way to logout or disconnect from API to prevent "logged in admins" growing?

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
Announcements
Please sign in to see details of an important advisory in our Customer Advisories area.

Any way to logout or disconnect from API to prevent "logged in admins" growing?

Not applicable

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. 

1 REPLY 1

Not applicable

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. 

  • 3305 Views
  • 1 replies
  • 0 Likes
Like what you see?

Show your appreciation!

Click Like if a post is helpful to you or if you just want to show your support.

Click Accept as Solution to acknowledge that the answer to your question has been provided.

The button appears next to the replies on topics you’ve started. The member who gave the solution and all future visitors to this topic will appreciate it!

These simple actions take just seconds of your time, but go a long way in showing appreciation for community members and the LIVEcommunity as a whole!

The LIVEcommunity thanks you for your participation!