Manage recorded sessions
Boundary provides auditing capabilities via session recording. In Boundary, a session represents a set of connections between a user and a host from a target. The session begins when an authorized user requests access to a target, and it ends when that access is terminated. When you enable session recording on a target, any user session that connects to the target is automatically recorded. An administrator can later view the recordings to investigate security issues, review system activity, or perform regular assessments of security policies and procedures.
Recorded sessions are stored in an external storage bucket that you create. Storing session recordings in a system external to Boundary means those recordings can be accessed, modified, deleted, and even restored independently of Boundary. You can view any sessions that Boundary recorded in your storage provider or via the CLI.
You can view a list of all recorded sessions, or if you know the ID of a specific recorded session, you can find any channels associated with that recording.
Find all recorded sessions
Complete the following steps to find all recorded sessions using the CLI.
Authenticate to Boundary in the CLI.
Type the following command to view a list of all recorded sessions:
Boundary displays a list of all recorded sessions by scope.
Find a specific recorded session by ID
If you have the ID of a recorded session, you can use the following command to list the connections and channels associated with a session recording.
Download recorded session channels
You can download a recording of SSH shell or exec sessions for a channel from a recorded session. The channel ID is required for the download.
If you have the ID of a recorded session, you can use the following command to list the connections and channels associated with a session recording.
Complete the following steps to download a recorded session channel:
Authenticate to Boundary in the CLI.
Type the following command to download a recorded session channel. Substitute the ID of the channel for chr_1234567890: