pyFortimanagerAPI icon indicating copy to clipboard operation
pyFortimanagerAPI copied to clipboard

API idle session timeout

Open Rem4000 opened this issue 2 years ago • 0 comments

Hi, I'm using this project for querying the fortimanager API. It works really good. The only thing I don't understand is that when my script doesn't make a API call for more than 900 seconds (API settings for Idle timeout), the script fails to get the rest of the policies in other packages.

I tried reloading the session with api.login(...) but it doesn't work.

I am not the best with APIs but maybe you guys could help me find the solution.

Thank you!

Rem4000 avatar Nov 08 '22 16:11 Rem4000