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

Backport of VAULT-14734: activity log write endpoint into release/1.12.x #20135

Conversation

hc-github-team-secure-vault-core
Copy link
Collaborator

Backport

This PR is auto-generated from #20019 to be assessed for backporting due to the inclusion of the label backport/1.12.x.

The below text is copied from the body of the original PR.


This PR creates a no-op endpoint at sys/internal/counters/activity/write for writing activity log data when Vault is compiled with the testonly build tag. This endpoint accepts JSON input for the data to write to the activity log.

The input is defined as protobuf and Go models are generated from the protobuf for simplicity's sake - there are several "oneof" options in the input, and protobuf gives a built-in way to handle those restrictions.

Currently, the endpoint only validates the input. A later PR will update the handler to generate and write the data.


Overview of commits

@hc-github-team-secure-vault-core hc-github-team-secure-vault-core force-pushed the backport/miagilepner/VAULT-14734-activity-log-write-endpoint/previously-normal-alien branch 2 times, most recently from 0a56367 to 3a17715 Compare April 13, 2023 10:32
@miagilepner miagilepner added this to the 1.12.6 milestone Apr 13, 2023
@miagilepner miagilepner force-pushed the backport/miagilepner/VAULT-14734-activity-log-write-endpoint/previously-normal-alien branch from 3a17715 to ca8a7c7 Compare April 14, 2023 07:36
@miagilepner miagilepner force-pushed the backport/miagilepner/VAULT-14734-activity-log-write-endpoint/previously-normal-alien branch from ca8a7c7 to 6387004 Compare April 18, 2023 17:00
@miagilepner miagilepner force-pushed the backport/miagilepner/VAULT-14734-activity-log-write-endpoint/previously-normal-alien branch from 6387004 to 590bb55 Compare April 21, 2023 09:02
…ctivity-log-write-endpoint/previously-normal-alien
@mladlow mladlow merged commit 9ff3c5e into release/1.12.x Apr 21, 2023
@miagilepner miagilepner deleted the backport/miagilepner/VAULT-14734-activity-log-write-endpoint/previously-normal-alien branch April 25, 2023 09:28
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants