diff --git a/CHANGELOG.md b/CHANGELOG.md index c2366eaa91..ed868cfc09 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -43,6 +43,8 @@ FEATURES: IMPROVEMENTS: + * audit: Add the DisplayName value to the copy of the Request object embedded + in the associated Response, to match the original Request object [GH-1387] * command/auth: Restore the previous authenticated token if the `auth` command fails to authenticate the provided token [GH-1233] * command/write: `-format` and `-field` can now be used with the `write` diff --git a/audit/format_json.go b/audit/format_json.go index ae181e24af..87d9057571 100644 --- a/audit/format_json.go +++ b/audit/format_json.go @@ -94,8 +94,9 @@ func (f *FormatJSON) FormatResponse( Error: errString, Auth: JSONAuth{ - Policies: auth.Policies, - Metadata: auth.Metadata, + DisplayName: auth.DisplayName, + Policies: auth.Policies, + Metadata: auth.Metadata, }, Request: JSONRequest{