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 Audit: remove any race to read headers into release/1.16.x #26157

Conversation

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

Backport

This PR is auto-generated from #26155 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 adjusts the way in which audited header settings are accessed for read operations (single header, all headers), in order to prevent any data race when the underlying headers are invalidated and updated.

Reads are called from vault/logical_system.go (see PR diff handleAuditedHeaderRead and handleAuditedHeadersRead).


Overview of commits

@hc-github-team-secure-vault-core hc-github-team-secure-vault-core force-pushed the backport/peteski22/audit-headers/race/rapidly-in-bullfrog branch 2 times, most recently from 9f14a13 to d4d8744 Compare March 26, 2024 13:22
@github-actions github-actions bot added the hashicorp-contributed-pr If the PR is HashiCorp (i.e. not-community) contributed label Mar 26, 2024
@peteski22 peteski22 enabled auto-merge (squash) March 26, 2024 13:26
Copy link

CI Results:
All Go tests succeeded! ✅

Copy link

Build Results:
All builds succeeded! ✅

@peteski22 peteski22 merged commit 45791a3 into release/1.16.x Mar 26, 2024
75 of 78 checks passed
@peteski22 peteski22 deleted the backport/peteski22/audit-headers/race/rapidly-in-bullfrog branch March 26, 2024 13:43
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