Need: Palo doesn't have a way to clear sessions through the gui. This program is written in python and uses: streamlit, netmiko and pandas. It connects and pulls sessions displays them in streamlit. You can select the sessions you want to clear and click clear session button to clear them. Then close the SSH session.
You could add an input for regex to match the ip's your looking for. Also, change the input to all streamlit. Getpass is still cli.
-
- Install Streamlit
-
- Change credentials and file locations, uncomment #pano.send_command(f"clear session id {item}")
-
- Run script by "run streamlit stale_sessions.py"
***If you have issues and need help reach out to colleybrb@gmail.com