Issue and Behavior
When an audit device is enabled, running the command vault plugin list
returns an output similar to the following:
2022-11-30T20:04:22.397Z [ERROR] audit: panic during logging: request_path=sys/plugins/catalog error="reflect: reflect.Value.Set using value obtained using unexported field"
2022-11-30T20:04:22.398Z [ERROR] core: failed to audit response: request_path=sys/plugins/catalog
error=
| 1 error occurred:
| * panic generating audit log
|
Solutions
- This is a known issue in Vault versions 1.12.0, 1.12.1, and 1.12.2, which will be corrected in Vault 1.12.3. Upgrading to 1.12.3 once available will resolve the issue.
- As a workaround, listing plugins by type will succeed, such as one of the following:
vault list sys/plugins/catalog/auth
vault list sys/plugins/catalog/database
vault list sys/plugins/catalog/secret