Time Based Sessions

In this release (v1.11+) we're introducing time based sessions. It allows a user to request access to a connection during certain period.

Let's try this out, first create a connection and configure the review plugin

hoop admin create plugin review
hoop admin create conn bash \
	--plugin 'review:admin' \
	--agent default -- bash

The --plugin flag configures the plugin setting the admin as the approval group. Now try to request a time based session:

hoop connect bash --duration 1m
⣯ waiting task to be approved at https://app.hoop.dev/plugins/re...
request 1 minute time based session

Approve it by visiting the link, then you can issue multiple connections or executions during 1 minute.

hoop connect bash
hoop exec bash -i 'ls -l'
you'll be able to issue these commands without prompting for approval

That's all for today, check the documentation for more information.

Review | hoop.dev
This plugin allow administrators to review commands before they are executed or allowing time based sessions.