[major] Add durable Vault audit evidence - #30
Merged
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Outcome
The module now provisions a dedicated retained Cloud Logging bucket and exact Vault-audit sink, a scoped log view with explicit
roles/logging.viewAccessormembers, and a criticalexports/error_countpolicy wired to explicit notification channels.The audit location is an explicit customer/Legal choice. Retention is at least 365 days; Terraform prevents deletion, while the irreversible retention lock remains opt-in pending named business and Legal approval.
The companion Vault Init hardening is already merged in libops/vault-init#37, so an existing
cloudrun/device must verify JSON, HMACed accessors, non-raw values, and elided list responses.Breaking configuration
Callers must now supply:
audit_log_locationaudit_log_viewer_membersaudit_alert_notification_channelsVerification
terraform validateterraform test(32 passed)git diff --checkEvidence boundary
These checks establish a source and plan contract only. The included runbook requires applied bucket/sink exports, effective-access positive/negative tests, alert delivery, an authorized synthetic outage drill, and human Legal approval before claiming production evidence.