Skip to content

[v16] Require all audit events to be able to be trimmed#46499

Merged
capnspacehook merged 1 commit intobranch/v16from
capnspacehook/backport/v16/45931
Sep 27, 2024
Merged

[v16] Require all audit events to be able to be trimmed#46499
capnspacehook merged 1 commit intobranch/v16from
capnspacehook/backport/v16/45931

Conversation

@capnspacehook
Copy link
Copy Markdown
Contributor

@capnspacehook capnspacehook commented Sep 11, 2024

Backport of #45931.

changelog: allow all audit events to be trimmed if necessary

@public-teleport-github-review-bot
Copy link
Copy Markdown

@capnspacehook - this PR will require admin approval to merge due to its size. Consider breaking it up into a series smaller changes.

@github-actions github-actions Bot added audit-log Issues related to Teleports Audit Log backport size/xl labels Sep 11, 2024
@github-actions

This comment was marked as resolved.

@public-teleport-github-review-bot public-teleport-github-review-bot Bot removed the request for review from greedy52 September 11, 2024 20:20
@capnspacehook capnspacehook added this pull request to the merge queue Sep 11, 2024
@github-merge-queue github-merge-queue Bot removed this pull request from the merge queue due to failed status checks Sep 11, 2024
@capnspacehook capnspacehook added this pull request to the merge queue Sep 11, 2024
@github-merge-queue github-merge-queue Bot removed this pull request from the merge queue due to failed status checks Sep 11, 2024
@capnspacehook capnspacehook added this pull request to the merge queue Sep 11, 2024
@github-merge-queue github-merge-queue Bot removed this pull request from the merge queue due to failed status checks Sep 11, 2024
@capnspacehook capnspacehook force-pushed the capnspacehook/backport/v16/45931 branch from 8ecba3d to c3cca79 Compare September 12, 2024 16:31
* ensure 'db.session.result' and 'desktop.recording' events can be converted from EventFields

* add TrimToMaxSize methods for all audit events and make it a required method

* ensure callers of TrimToMaxSize check the size of the returned event

---------

Co-authored-by: Andrew LeFevre <Andrew LeFevre>
@capnspacehook capnspacehook force-pushed the capnspacehook/backport/v16/45931 branch from c3cca79 to 94c80f8 Compare September 27, 2024 21:25
@capnspacehook capnspacehook added this pull request to the merge queue Sep 27, 2024
Merged via the queue into branch/v16 with commit d954788 Sep 27, 2024
@capnspacehook capnspacehook deleted the capnspacehook/backport/v16/45931 branch September 27, 2024 22:01
@camscale camscale mentioned this pull request Oct 16, 2024
@fheinecke fheinecke mentioned this pull request Apr 9, 2025
@fheinecke fheinecke mentioned this pull request Jan 8, 2026
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 size/xl

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants