diff --git a/sdk/logical/audit.go b/sdk/logical/audit.go new file mode 100644 index 000000000000..f3bf622b3d97 --- /dev/null +++ b/sdk/logical/audit.go @@ -0,0 +1,19 @@ +package logical + +type LogInput struct { + Type string + Auth *Auth + Request interface{} + Response interface{} + OuterErr error + NonHMACReqDataKeys []string + NonHMACRespDataKeys []string +} + +type MarshalOptions struct { + ValueHasher func(string) string +} + +type OptMarshaler interface { + MarshalJSONWithOptions(*MarshalOptions) ([]byte, error) +}