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

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

Merged
merged 1 commit into from
Sep 27, 2024

Conversation

capnspacehook
Copy link
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

@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

This comment was marked as resolved.

@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
* 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 added this pull request to the merge queue Sep 27, 2024
Merged via the queue into branch/v16 with commit d954788 Sep 27, 2024
40 checks passed
@capnspacehook capnspacehook deleted the capnspacehook/backport/v16/45931 branch September 27, 2024 22:01
@camscale camscale mentioned this pull request Oct 16, 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 size/xl
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants