open-vault/http
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
..
handler.go Reintroduce the ability to look up obfuscated values in the audit log 2015-11-18 20:26:03 -05:00
handler_test.go Use cleanhttp instead of bare http.Client 2015-10-22 14:37:12 -04:00
help.go Adding error and remote_address to audit log lines 2015-06-18 17:17:18 -07:00
help_test.go Remove cookie authentication. 2015-08-21 19:46:23 -07:00
http_test.go Use cleanhttp instead of bare http.Client 2015-10-22 14:37:12 -04:00
logical.go Rename GetWarnings->Warnings for responses 2015-10-07 16:18:39 -04:00
logical_test.go Display whether a token is an orphan on lookup. 2015-11-09 13:19:59 -05:00
server.go http: start the API server 2015-03-11 23:05:16 -07:00
sys_audit_test.go Reintroduce the ability to look up obfuscated values in the audit log 2015-11-18 20:26:03 -05:00
sys_auth_test.go Remove cookie authentication. 2015-08-21 19:46:23 -07:00
sys_health.go http: support ?standbyok for 200 status on standby. Fixes #389 2015-07-02 17:49:35 -07:00
sys_health_test.go http: adding sys/health endpoint 2015-04-23 11:53:31 -07:00
sys_init.go Address comments from review. 2015-08-25 15:33:58 -07:00
sys_init_test.go Remove cookie authentication. 2015-08-21 19:46:23 -07:00
sys_leader.go http: Adding sys/leader endpoint 2015-04-20 11:59:24 -07:00
sys_leader_test.go http: Adding sys/leader endpoint 2015-04-20 11:59:24 -07:00
sys_lease_test.go Remove cookie authentication. 2015-08-21 19:46:23 -07:00
sys_mount_test.go Switch per-mount values to strings going in and seconds coming out, like other commands. Indicate deprecation of 'lease' in the token backend. 2015-09-25 10:41:21 -04:00
sys_policy.go Adding error and remote_address to audit log lines 2015-06-18 17:17:18 -07:00
sys_policy_test.go Create a "default" policy with sensible rules. 2015-11-09 15:44:09 -05:00
sys_rekey.go Address comments from review. 2015-08-25 15:33:58 -07:00
sys_rekey_test.go Remove cookie authentication. 2015-08-21 19:46:23 -07:00
sys_rotate_test.go Remove cookie authentication. 2015-08-21 19:46:23 -07:00
sys_seal.go Add reset support to the unseal command. 2015-10-28 15:59:39 -04:00
sys_seal_test.go Add reset support to the unseal command. 2015-10-28 15:59:39 -04:00
testing.go Remove cookie authentication. 2015-08-21 19:46:23 -07:00