cancel
Showing results for 
Search instead for 
Did you mean: 
Create a Post
Highlighted

Remote VPN users report

Hello,

Is there a way to export a list of Remote VPN users in the local MGMT database which includes last login time etc. ?

Something similar to fwm dbexport.

0 Kudos
2 Replies
Admin
Admin

Re: Remote VPN users report

You can get a list of the users easily enough using the following command:

mgmt_cli -r true --format json show generic-objects class-name com.checkpoint.objects.classes.dummy.CpmiUser | jq .objects[].name

Note: there is no official API support for locally defined users, so "generic objects" have to be used here.

Last login time is not something we store in the user database (generic objects or not), so you'll have to get it from the logs. Couple threads on this:

0 Kudos

Re: Remote VPN users report

PhoneBoy,

 

Tried the command, it errored out (image attached).  Am in expert mode.  Here is the error.  Thank you for your time.

 

0 Kudos