Recording Vendor Sessions: What to Keep, Where, and for How Long
ON THIS PAGE
On Friday evening a vendor logged in to your server. On Monday morning a table is missing. Nobody wants to blame anyone; they just want to know what happened. A VPN log tells you who connected and nothing after that. This post covers what you need to keep, where, and for how long, to answer "what did they do" for vendor sessions.
You need two separate records
A common mistake is to record one thing and call it done. In practice you want two, and they answer different questions.
- The session recording: what happened on the screen and in the terminal. "How was the table deleted" is answered here.
- The audit log: who got in, when, to which resource and under which decision, denied attempts included. "Did this account try to reach that server that day" is answered here.
Each kind of session records differently
A remote desktop is a video, SSH is a stream of terminal output, and a database session is a series of queries. Turning all of it into screen video takes space and makes searching impossible. Captivo Access keeps each kind in its own form:
- RDP and VNC sessions are compressed in the background when the session ends. A 12-minute RDP session that is well over 100 MB raw ends up around 1 to 3 MB.
- An SSH session is stored as a terminal recording. With keystroke logging on, the commands typed appear on a timeline you can search; password, user name and one-time-code fields are masked.
- For databases and Kubernetes there is a query log and a request log instead of a player: statements and requests with their time and result, never the parameter values, request bodies or secrets.
Where the recording should live
Vendor session recordings contain sensitive data: passwords, customer records, the layout of your internal network. Keeping them in a provider's storage gives someone else the means to read them. Captivo Access encrypts recordings on the Connector's own disk with AES-256-GCM. The key is generated at the Connector's first start and never leaves that machine; the control plane receives neither the content nor a way to read it.
The vendor should know
A secret recording is a problem both legally and for trust. A recorded session opens with a "This session is being recorded" card and keeps a small REC pill in the corner for the whole session. If you want, the session does not start until the vendor accepts the notice, and the acceptance is written to the audit log.
Live view: step in before the recording matters
A recording is for after the fact. If you see something going wrong while the session runs, administrators can watch it live, take over the keyboard and mouse if needed, or end the session. The vendor sees that someone joined, and every watch, take-control and release goes into the audit log.
The audit log must not be quietly editable
A log is not evidence if whoever can write it can also delete from it. The audit log is append-only and each row is chained to the one before it; an alteration, deletion, splicing or truncation of the tail is verified on demand and reported. A chain alone cannot defend against someone who can rewrite the whole database and recompute every hash. Optional RFC 3161 support closes that gap by sealing the chain head every day with a timestamp from a trusted authority such as KamuSM.
How long to keep it
There is no single right answer; your sector and your contracts decide. The technical side is simple: retention is a number of days in Policy, and if you leave it empty recordings are kept until erased. A default size cap is also dangerous, because it cuts exactly the long, important session. Captivo Access therefore sets no silent cap; if an operator sets an optional size limit, a recording that reaches it is marked "cut short".
With Captivo Access
All of this is described in detail on the session recording and audit page. You turn recording on per resource or set it to Required in Policy. For narrowing the access itself, read vendor access without a VPN.