mirror of
				https://github.com/optim-enterprises-bv/vault.git
				synced 2025-10-31 02:28:09 +00:00 
			
		
		
		
	VAULT-24452: audit refactor (#26460)
* Refactor audit code into audit package * remove builtin/audit * removed unrequired files
This commit is contained in:
		| @@ -17,7 +17,6 @@ import ( | ||||
| 	kv "github.com/hashicorp/vault-plugin-secrets-kv" | ||||
| 	"github.com/hashicorp/vault/api" | ||||
| 	"github.com/hashicorp/vault/audit" | ||||
| 	auditFile "github.com/hashicorp/vault/builtin/audit/file" | ||||
| 	credUserpass "github.com/hashicorp/vault/builtin/credential/userpass" | ||||
| 	"github.com/hashicorp/vault/builtin/logical/pki" | ||||
| 	"github.com/hashicorp/vault/builtin/logical/ssh" | ||||
| @@ -39,7 +38,7 @@ var ( | ||||
| 	} | ||||
|  | ||||
| 	defaultVaultAuditBackends = map[string]audit.Factory{ | ||||
| 		"file": auditFile.Factory, | ||||
| 		"file": audit.NewFileBackend, | ||||
| 	} | ||||
|  | ||||
| 	defaultVaultLogicalBackends = map[string]logical.Factory{ | ||||
|   | ||||
		Reference in New Issue
	
	Block a user
	 Peter Wilson
					Peter Wilson