mirror of
https://github.com/optim-enterprises-bv/vault.git
synced 2025-10-29 01:32:33 +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...)
|
||||
|
||||
3
changelog/25004.txt
Normal file
3
changelog/25004.txt
Normal file
@@ -0,0 +1,3 @@
|
||||
```release-note:bug
|
||||
audit/socket: Provide socket based audit backends with 'prefix' configuration option when supplied.
|
||||
```
|
||||
Reference in New Issue
Block a user