open-vault/audit
Calvin Leung Huang e2fb199ce5
Non-HMAC audit values (#4033)
* Add non-hmac request keys

* Update comment

* Initial audit request keys implementation

* Add audit_non_hmac_response_keys

* Move where req.NonHMACKeys gets set

* Minor refactor

* Add params to auth tune endpoints

* Sync cache on loadCredentials

* Explicitly unset req.NonHMACKeys

* Do not error if entry is nil

* Add tests

* docs: Add params to api sections

* Refactor audit.Backend and Formatter interfaces, update audit broker methods

* Add audit_broker.go

* Fix method call params in audit backends

* Remove fields from logical.Request and logical.Response, pass keys via LogInput

* Use data.GetOk to allow unsetting existing values

* Remove debug lines

* Add test for unsetting values

* Address review feedback

* Initialize values in FormatRequest and FormatResponse using input values

* Update docs

* Use strutil.StrListContains

* Use strutil.StrListContains
2018-03-02 12:18:39 -05:00
..
audit.go Non-HMAC audit values (#4033) 2018-03-02 12:18:39 -05:00
format.go Non-HMAC audit values (#4033) 2018-03-02 12:18:39 -05:00
format_json.go Delay salt initialization for audit backends 2017-05-23 20:36:20 -04:00
format_json_test.go Non-HMAC audit values (#4033) 2018-03-02 12:18:39 -05:00
format_jsonx.go Delay salt initialization for audit backends 2017-05-23 20:36:20 -04:00
format_jsonx_test.go Non-HMAC audit values (#4033) 2018-03-02 12:18:39 -05:00
format_test.go Non-HMAC audit values (#4033) 2018-03-02 12:18:39 -05:00
formatter.go Non-HMAC audit values (#4033) 2018-03-02 12:18:39 -05:00
hashstructure.go Non-HMAC audit values (#4033) 2018-03-02 12:18:39 -05:00
hashstructure_test.go Non-HMAC audit values (#4033) 2018-03-02 12:18:39 -05:00