mirror of
https://github.com/optim-enterprises-bv/vault.git
synced 2025-11-02 03:27:54 +00:00
Audit: ensure 'prefix' is supplied to socket audit backends (#25004)
* ensure 'prefix' is supplied to socket audit backends * changelog
This commit is contained in:
@@ -94,6 +94,7 @@ func Factory(_ context.Context, conf *audit.BackendConfig, headersConfig audit.H
|
||||
|
||||
opts := []audit.Option{
|
||||
audit.WithHeaderFormatter(headersConfig),
|
||||
audit.WithPrefix(conf.Config["prefix"]),
|
||||
}
|
||||
|
||||
err = b.configureFormatterNode(cfg, opts...)
|
||||
|
||||
Reference in New Issue
Block a user