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

[v15] Require all audit events to be able to be trimmed #46504

Merged
merged 1 commit into from
Sep 11, 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

* ensure 'db.session.result' event 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>
@github-actions github-actions bot added audit-log Issues related to Teleports Audit Log backport size/xl labels Sep 11, 2024
@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.

@capnspacehook capnspacehook added this pull request to the merge queue Sep 11, 2024
Merged via the queue into branch/v15 with commit a8acb06 Sep 11, 2024
36 checks passed
@capnspacehook capnspacehook deleted the capnspacehook/backport/v15/45931 branch September 11, 2024 20:39
@camscale camscale mentioned this pull request Sep 18, 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