open-vault/http
Brian Kassouf 6701ba8a10 Configure the request headers that are output to the audit log (#2321)
* Add /sys/config/audited-headers endpoint for configuring the headers that will be audited

* Remove some debug lines

* Add a persistant layer and refactor a bit

* update the api endpoints to be more restful

* Add comments and clean up a few functions

* Remove unneeded hash structure functionaility

* Fix existing tests

* Add tests

* Add test for Applying the header config

* Add Benchmark for the ApplyConfig method

* ResetTimer on the benchmark:

* Update the headers comment

* Add test for audit broker

* Use hyphens instead of camel case

* Add size paramater to the allocation of the result map

* Fix the tests for the audit broker

* PR feedback

* update the path and permissions on config/* paths

* Add docs file

* Fix TestSystemBackend_RootPaths test
2017-02-02 11:49:20 -08:00
..
forwarding_test.go Pulled out transit's lock manager and policy structs into a helper 2016-10-26 19:52:31 -04:00
handler.go JWT wrapping tokens (#2172) 2017-01-04 16:44:03 -05:00
handler_test.go Add 'no-store' response header from all the API outlets (#2183) 2016-12-15 17:53:07 -05:00
help.go Add 'no-store' response header from all the API outlets (#2183) 2016-12-15 17:53:07 -05:00
help_test.go Remove cookie authentication. 2015-08-21 19:46:23 -07:00
http_test.go Multi value test seal (#2281) 2017-01-17 15:43:10 -05:00
logical.go Configure the request headers that are output to the audit log (#2321) 2017-02-02 11:49:20 -08:00
logical_test.go Multi value test seal (#2281) 2017-01-17 15:43:10 -05:00
sys_audit_test.go Fix tests and update mapstructure 2016-08-08 16:00:31 -04:00
sys_auth_test.go Fix tests and update mapstructure 2016-08-08 16:00:31 -04:00
sys_generate_root.go Use 'http.MaxBytesReader' to limit request size (#2131) 2016-12-01 10:59:00 -08:00
sys_generate_root_test.go Multi value test seal (#2281) 2017-01-17 15:43:10 -05:00
sys_health.go Remove the string 'Vault' from version information 2016-09-01 14:54:04 -04:00
sys_health_test.go Multi value test seal (#2281) 2017-01-17 15:43:10 -05:00
sys_init.go init: pgp-keys input validations 2017-01-11 23:32:38 -05:00
sys_init_test.go init: pgp-keys input validations 2017-01-11 23:32:38 -05:00
sys_leader.go Address most review feedback. Change responses to multierror to better return more useful values when there are multiple errors 2016-05-16 16:11:33 -04:00
sys_leader_test.go http: Adding sys/leader endpoint 2015-04-20 11:59:24 -07:00
sys_lease_test.go Added JSON Decode and Encode helpers. 2016-07-06 12:25:40 -04:00
sys_mount_test.go Fix tests and update mapstructure 2016-08-08 16:00:31 -04:00
sys_policy_test.go Fix tests and update mapstructure 2016-08-08 16:00:31 -04:00
sys_rekey.go Multi value test seal (#2281) 2017-01-17 15:43:10 -05:00
sys_rekey_test.go Multi value test seal (#2281) 2017-01-17 15:43:10 -05:00
sys_rotate_test.go Fix tests and update mapstructure 2016-08-08 16:00:31 -04:00
sys_seal.go Add nonce to unseal to allow seeing if the operation has reset (#2276) 2017-01-17 11:47:06 -05:00
sys_seal_test.go Multi value test seal (#2281) 2017-01-17 15:43:10 -05:00
sys_wrapping_test.go all: test: Fix govet warnings 2016-12-21 19:44:07 +01:00
testing.go Remove cookie authentication. 2015-08-21 19:46:23 -07:00