Skip to content

Backport of VAULT-24013: Audit regression attempting to recover from panic into release/1.16.x#25622

Merged
peteski22 merged 1 commit intorelease/1.16.xfrom
backport/peteski22/VAULT-24013/audit/panic/heartily-rested-satyr
Feb 26, 2024
Merged

Backport of VAULT-24013: Audit regression attempting to recover from panic into release/1.16.x#25622
peteski22 merged 1 commit intorelease/1.16.xfrom
backport/peteski22/VAULT-24013/audit/panic/heartily-rested-satyr

Conversation

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

Backport

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

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


This PR fixes a regression in recovering Vault when audit related code panics. It appeared with the introduction of the go-eventlogger.

The changes involve continuing to handle the metrics updates in the audit broker, but making an entry formatter node responsible for handling panics that occur during formatting of the audit entry.

Addresses: #16462


Overview of commits

@hc-github-team-secure-vault-core hc-github-team-secure-vault-core force-pushed the backport/peteski22/VAULT-24013/audit/panic/heartily-rested-satyr branch from 718fb65 to 1ec04e4 Compare February 26, 2024 10:33
@github-actions github-actions bot added the hashicorp-contributed-pr If the PR is HashiCorp (i.e. not-community) contributed label Feb 26, 2024
@github-actions
Copy link

CI Results:
All Go tests succeeded! ✅

@github-actions
Copy link

Build Results:
All builds succeeded! ✅

@peteski22 peteski22 merged commit caa5fa7 into release/1.16.x Feb 26, 2024
@peteski22 peteski22 deleted the backport/peteski22/VAULT-24013/audit/panic/heartily-rested-satyr branch February 26, 2024 11:39
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

backport hashicorp-contributed-pr If the PR is HashiCorp (i.e. not-community) contributed

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants