diff --git a/builtin/audit/socket/backend.go b/builtin/audit/socket/backend.go index 6e572e408b..e424fd7098 100644 --- a/builtin/audit/socket/backend.go +++ b/builtin/audit/socket/backend.go @@ -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...) diff --git a/changelog/25004.txt b/changelog/25004.txt new file mode 100644 index 0000000000..9836a6f26a --- /dev/null +++ b/changelog/25004.txt @@ -0,0 +1,3 @@ +```release-note:bug +audit/socket: Provide socket based audit backends with 'prefix' configuration option when supplied. +``` \ No newline at end of file