Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[v14] Disable session recording for non-interactive sessions #42321

Merged
merged 1 commit into from
Jun 4, 2024

Conversation

rosstimothy
Copy link
Contributor

@rosstimothy rosstimothy commented Jun 3, 2024

Backport #41991 to branch/v14

changelog: Disabled session recordings for non-interactive sessions when enhanced recording is disabled. There is no loss of auditing or impact on data fidelity because these recordings only contained session.start, session.end, and session.leave events which were already captured in the audit log. This will cause all teleport components to consume less resources and reduce storage costs.

These recordings only contain session.start, session.end and
session.leave events, all of which are already included in the
audit log. Removing these recordings should produce no data loss
but will greatly reduce the amount of work performed by the agents,
the auth service, and storage costs.

The only case where non-interactive sessions are still recording is
when BPF is enabled. This is required, for now, because enhanced
session recording can generate more events than the audit log has
traditionally been able to ingest.
@rosstimothy rosstimothy marked this pull request as ready for review June 3, 2024 21:08
@github-actions github-actions bot added audit-log Issues related to Teleports Audit Log bpf Used to bugs with bpf and enhanced session recording. size/md labels Jun 3, 2024
@public-teleport-github-review-bot public-teleport-github-review-bot bot removed the request for review from camscale June 4, 2024 08:52
@rosstimothy rosstimothy added this pull request to the merge queue Jun 4, 2024
Merged via the queue into branch/v14 with commit 2aa9571 Jun 4, 2024
27 checks passed
@rosstimothy rosstimothy deleted the tross/backport-41991/v14 branch June 4, 2024 15:26
This was referenced Aug 6, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
audit-log Issues related to Teleports Audit Log backport bpf Used to bugs with bpf and enhanced session recording. size/md
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants