Issues with R7 Checkpoint account not removing sessions

We’re having an issue where the Rapid7 Checkpoint account isn’t removing sessions, so the sessions fills up quickly with a number of disconnected ones. This then means the plugin will error when trying to run plugin commands as there aren’t any available sessions. I have seen there’s a plugin command to discard all sessions, but we can’t run this consistently if other members of staff are logged in and actively doing work.

Is there a way to target all disconnected sessions/the Rapid7 sessions and remove them? Or is anyone aware of a way that we can utilise the plugin so that sessions are removed after the workflow is finished?

We are using the following parts of the plugin:

  • Check if IP exists in a group
  • Create Address Object
  • Add Address Object to Group