open-vault/audit
ncabatoff d2beeefe79
Add support for hashing time.Time within slices (#6767)
Add support for hashing time.Time within slices, which unbreaks auditing of requests returning the request counters.  

Break Hash into struct-specific func like HashAuth, HashRequest. Move all the copying/hashing logic from FormatRequest/FormatResponse into the new Hash* funcs.  HashStructure now modifies in place instead of copying.

Instead of returning an error when trying to hash map keys of type time.Time, ignore them, i.e. pass them through unhashed.

Enable auditing on test clusters by default if the caller didn't specify any audit backends.  If they do, they're responsible for setting it up.
2019-07-02 18:18:40 -04:00
..
audit.go Allow plugins to submit audit requests/responses via extended SystemView (#6777) 2019-05-22 18:52:53 -04:00
format.go Add support for hashing time.Time within slices (#6767) 2019-07-02 18:18:40 -04:00
format_json.go
format_json_test.go Tokenhelper v2 (#6662) 2019-06-14 10:17:04 -04:00
format_jsonx.go
format_jsonx_test.go Tokenhelper v2 (#6662) 2019-06-14 10:17:04 -04:00
format_test.go Allow plugins to submit audit requests/responses via extended SystemView (#6777) 2019-05-22 18:52:53 -04:00
formatter.go Allow plugins to submit audit requests/responses via extended SystemView (#6777) 2019-05-22 18:52:53 -04:00
hashstructure.go Add support for hashing time.Time within slices (#6767) 2019-07-02 18:18:40 -04:00
hashstructure_test.go Add support for hashing time.Time within slices (#6767) 2019-07-02 18:18:40 -04:00