Revert "Allow audit entries may contain forwarded to/from host info (#20689)" (#20732)

This reverts commit 732dda34e7.
This commit is contained in:
Peter Wilson
2023-05-24 09:44:57 +01:00
committed by GitHub
parent 541f18eeb7
commit ee3847d954
2 changed files with 5 additions and 16 deletions

View File

@@ -243,12 +243,6 @@ type Request struct {
// InboundSSCToken is the token that arrives on an inbound request, supplied
// by the vault user.
InboundSSCToken string
// When a request has been forwarded, contains information of the host the request was forwarded 'from'
ForwardedFrom string `json:"forwarded_from,omitempty"`
// When a request has been forwarded, contains information of the host the request was forwarded 'to'
ForwardedTo string `json:"forwarded_to,omitempty"`
}
// Clone returns a deep copy of the request by using copystructure