open-vault/http
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
..
auth_token_test.go Move http-using API tests into http package 2017-02-24 14:23:21 -05:00
cors.go Set allowed headers via API instead of defaulting to wildcard. (#3023) 2017-08-07 10:03:30 -04:00
forwarding_test.go Enhance TLS client forwarding test to ensure each client is distinct 2018-01-18 12:01:07 -05:00
handler.go Use cleanhttp.PrintablePathCheckHandler to handle non-printable chara… (#3697) 2017-12-15 20:19:37 -05:00
handler_test.go Add context to storage backends and wire it through a lot of places (#3817) 2018-01-19 01:44:44 -05:00
help.go Make path-help request forward (#2677) 2017-05-04 16:58:50 -04:00
help_test.go Remove cookie authentication. 2015-08-21 19:46:23 -07:00
http_test.go Cors headers (#2021) 2017-06-17 00:04:55 -04:00
logical.go http/logical: Add http GET parameters to the data map (#4012) 2018-02-21 14:36:53 -08:00
logical_test.go http: Add a method for returning a 404 with data (#3994) 2018-02-21 14:22:21 -08:00
plugin_test.go http/logical: Add http GET parameters to the data map (#4012) 2018-02-21 14:36:53 -08:00
sys_audit_test.go Port some replication bits to OSS (#2386) 2017-02-16 15:15:02 -05:00
sys_auth_test.go Plumb more seal wrap stuff through and move to outside layer of mount options (#3572) 2017-11-13 11:22:22 -05:00
sys_config_cors_test.go Set allowed headers via API instead of defaulting to wildcard. (#3023) 2017-08-07 10:03:30 -04:00
sys_generate_root.go Remove context from a few extraneous places 2018-01-19 03:44:06 -05:00
sys_generate_root_test.go generate token functions to share common names (#3576) 2017-11-13 15:44:26 -05:00
sys_health.go Sync some bits over 2018-01-22 21:44:49 -05:00
sys_health_test.go Sync some bits over 2018-01-22 21:44:49 -05:00
sys_init.go Re-add lost stored-shares parameter to operator rekey command. (#3974) 2018-02-14 16:10:45 -05:00
sys_init_test.go init: pgp-keys input validations 2017-01-11 23:32:38 -05:00
sys_leader.go Add leader cluster address to status/leader output. (#3061) 2017-07-31 18:25:27 -04:00
sys_leader_test.go Add leader cluster address to status/leader output. (#3061) 2017-07-31 18:25:27 -04:00
sys_lease_test.go Exclude /sys/leases/renew from registering with expiration manager (#2891) 2017-06-20 12:34:00 -04:00
sys_mount_test.go Non-HMAC audit values (#4033) 2018-03-02 12:18:39 -05:00
sys_mounts_test.go Rename "generic" secret backend to "kv" (#3292) 2017-09-15 09:02:29 -04:00
sys_policy_test.go Final sync 2017-10-23 17:39:21 -04:00
sys_rekey.go Re-add lost stored-shares parameter to operator rekey command. (#3974) 2018-02-14 16:10:45 -05:00
sys_rekey_test.go Make compile 2017-10-23 17:41:44 -04:00
sys_rotate_test.go Fix tests and update mapstructure 2016-08-08 16:00:31 -04:00
sys_seal.go Remove context from a few extraneous places 2018-01-19 03:44:06 -05:00
sys_seal_test.go fix unseal reset test (#3528) 2017-11-03 09:31:39 -04:00
sys_wrapping_test.go go vet fixes 2018-02-05 14:26:31 -05:00
testing.go Merge branch 'master-oss' into sethvargo/cli-magic 2018-01-03 14:02:31 -05:00