mirror of
https://github.com/hashicorp/vault.git
synced 2026-02-09 01:41:10 +01:00
* license: update headers to IBM Corp. * `make proto` * update offset because source file changed Signed-off-by: Ryan Cragun <me@ryan.ec> Co-authored-by: Ryan Cragun <me@ryan.ec>
28 lines
577 B
Go
28 lines
577 B
Go
// Copyright IBM Corp. 2016, 2025
|
|
// SPDX-License-Identifier: BUSL-1.1
|
|
|
|
//go:build !enterprise
|
|
|
|
package audit
|
|
|
|
import "github.com/hashicorp/vault/internal/observability/event"
|
|
|
|
type backendEnt struct{}
|
|
|
|
func newBackendEnt(_ map[string]string) *backendEnt {
|
|
return &backendEnt{}
|
|
}
|
|
|
|
func (b *backendEnt) IsFallback() bool {
|
|
return false
|
|
}
|
|
|
|
// configureFilterNode is a no-op as filters are an Enterprise-only feature.
|
|
func (b *backend) configureFilterNode(_ string) error {
|
|
return nil
|
|
}
|
|
|
|
func (b *backend) getMetricLabeler() event.Labeler {
|
|
return &metricLabelerAuditSink{}
|
|
}
|