open-vault/audit
Jeff Mitchell 1c7157e632 Reintroduce the ability to look up obfuscated values in the audit log
with a new endpoint '/sys/audit-hash', which returns the given input
string hashed with the given audit backend's hash function and salt
(currently, always HMAC-SHA256 and a backend-specific salt).

In the process of adding the HTTP handler, this also removes the custom
HTTP handlers for the other audit endpoints, which were simply
forwarding to the logical system backend. This means that the various
audit functions will now redirect correctly from a standby to master.
(Tests all pass.)

Fixes #784
2015-11-18 20:26:03 -05:00
..
audit.go Reintroduce the ability to look up obfuscated values in the audit log 2015-11-18 20:26:03 -05:00
format_json.go Write HMAC-SHA256'd client token to audited requests 2015-10-29 13:26:18 -04:00
format_json_test.go update tests 2015-08-05 08:44:48 -06:00
formatter.go Logging authentication errors and bad token usage 2015-06-18 18:30:18 -07:00
hashstructure.go Reintroduce the ability to look up obfuscated values in the audit log 2015-11-18 20:26:03 -05:00
hashstructure_test.go Reintroduce the ability to look up obfuscated values in the audit log 2015-11-18 20:26:03 -05:00