openbao: declarative file audit device #539
Notifications
Due Date
No due date set.
Depends on
#538 openbao: unseal in main from vaulted keys
Mortis/Kamino
Reference: Mortis/Kamino#539
Reference in new issue
Block a user
Part of #535
Parent
#535 (spec). Decisions: #533.
What to build
A consumer gets every OpenBao request logged from the first unseal without an API call: the role renders a declarative
auditstanza in the server config creating a file audit device at the audit log path, on by default and switched byopenbao_audit_file_enabled. logrotate rotates the log and signals OpenBao through the unit's reload so the file is reopened.Acceptance criteria
openbao_audit_file_enabled(default true) and the audit log path are inputs in defaults and argument_specs.ReadWritePaths, and the log is not world-readable.auditstanza is confirmed to be at or below the pinned version.Assisted-by: Claude Code