Hello,
We have a Checkpoint 5100 Firewall cluster on premise. We have a few hundred users connecting through Endpoint Security to work from home. Many of those have left though and I want to put in place a procedure to clean them up. So I basically want to delete anyone who hasn't logged in in the last 60 days or so.
Right now the only way I know to do that is to take each account and manually search in the Logs section of the Smart Console for their username and something like Action:"Log In", with a set interval of the last 2 months, which will give me their last few logins.
Is there a way to run the same log search query from SSH, in expert mode ? If I could do that, I can get a list of users as a text file and write a simple script to run through the whole list.
Thanks for any pointers and Best Regards.