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: eventlogger sink node reopen on SIGHUP into release/1.15.x #23609

Conversation

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

Backport

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

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


When Vault receives SIGHUP it iterates a maintained set of reload functions which have responsibility to perform the relevant re-parsing/reconfiguration/reopening of files/Vault/etc.

This PR ensures that if an eventlogger sink node (file, syslog, socket) exists within a given audit backend, then it is asked to reopen, rather than interacting with the older (deprecated) way of handling files.

Issue reference: #23596

Note: this PR is currently in draft pending further investigations, but it looks likely this is a bug.


Overview of commits

@hc-github-team-secure-vault-core hc-github-team-secure-vault-core force-pushed the backport/peteski22/audit-sighup-reload/scarcely-civil-orca branch 2 times, most recently from 2be8902 to f34687e Compare October 11, 2023 15:47
@github-actions github-actions bot added the hashicorp-contributed-pr If the PR is HashiCorp (i.e. not-community) contributed label Oct 11, 2023
@peteski22 peteski22 enabled auto-merge (squash) October 11, 2023 15:50
@peteski22 peteski22 added this to the 1.15.1 milestone Oct 11, 2023
@github-actions
Copy link

Build Results:
All builds succeeded! ✅

@peteski22 peteski22 merged commit 82642c4 into release/1.15.x Oct 11, 2023
95 of 96 checks passed
@peteski22 peteski22 deleted the backport/peteski22/audit-sighup-reload/scarcely-civil-orca branch October 11, 2023 16:08
@github-actions
Copy link

CI Results:
All Go tests succeeded! ✅

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
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