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>
19 lines
344 B
Go
19 lines
344 B
Go
// Copyright IBM Corp. 2016, 2025
|
|
// SPDX-License-Identifier: BUSL-1.1
|
|
|
|
//go:build !enterprise
|
|
|
|
package audit
|
|
|
|
import (
|
|
"errors"
|
|
)
|
|
|
|
func (f *entryFormatter) shouldExclude() bool {
|
|
return false
|
|
}
|
|
|
|
func (f *entryFormatter) excludeFields(entry any) (map[string]any, error) {
|
|
return nil, errors.New("enterprise-only feature: audit exclusion")
|
|
}
|