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.13.x #20136

Conversation

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

Backport

This PR is auto-generated from #20019 to be assessed for backporting due to the inclusion of the label backport/1.13.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/poorly-pro-foxhound branch 2 times, most recently from db103e5 to 13050be Compare April 13, 2023 10:33
@miagilepner miagilepner added this to the 1.13.2 milestone Apr 13, 2023
@miagilepner miagilepner force-pushed the backport/miagilepner/VAULT-14734-activity-log-write-endpoint/poorly-pro-foxhound branch from 13050be to ad23e90 Compare April 13, 2023 17:23
@miagilepner miagilepner force-pushed the backport/miagilepner/VAULT-14734-activity-log-write-endpoint/poorly-pro-foxhound branch from ad23e90 to ec9b89f Compare April 14, 2023 07:36
@miagilepner miagilepner enabled auto-merge (squash) April 14, 2023 07:38
@miagilepner miagilepner merged commit 3ede6c5 into release/1.13.x Apr 14, 2023
@miagilepner miagilepner deleted the backport/miagilepner/VAULT-14734-activity-log-write-endpoint/poorly-pro-foxhound branch April 25, 2023 09:29
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.

2 participants