VAULT-17078: Add useEventLogger Argument to Audit Factory Functions (#21962)

* add useEventLogger argument to audit Factory functions

* adjusting Factory functions defined in tests

* fixup! adjusting Factory functions defined in tests
This commit is contained in:
Marc Boudreau
2023-07-20 11:23:21 -04:00
committed by GitHub
parent 6d9e181cf3
commit 7103bc2cdb
12 changed files with 20 additions and 20 deletions

View File

@@ -482,7 +482,7 @@ func TestLogical_Audit_invalidWrappingToken(t *testing.T) {
noop := corehelpers.TestNoopAudit(t, nil)
c, _, root := vault.TestCoreUnsealedWithConfig(t, &vault.CoreConfig{
AuditBackends: map[string]audit.Factory{
"noop": func(ctx context.Context, config *audit.BackendConfig) (audit.Backend, error) {
"noop": func(ctx context.Context, config *audit.BackendConfig, _ bool) (audit.Backend, error) {
return noop, nil
},
},