open-vault/logical
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
..
framework Port over some work to make the system views a bit nicer 2017-01-13 14:51:27 -05:00
testing Add support for PGP encrypting the initial root token. (#1883) 2016-09-13 18:42:24 -04:00
auth.go AppRole authentication backend 2016-07-26 09:32:41 -04:00
connection.go
error.go gofmt 2016-08-19 16:48:32 -04:00
lease.go Remove Unix() invocations on 'time.Time' objects and removed conversion of time to UTC 2016-07-08 18:30:18 -04:00
lease_test.go Remove Unix() invocations on 'time.Time' objects and removed conversion of time to UTC 2016-07-08 18:30:18 -04:00
logical.go Port over some work to make the system views a bit nicer 2017-01-13 14:51:27 -05:00
request.go Configure the request headers that are output to the audit log (#2321) 2017-02-02 11:49:20 -08:00
response.go That's what you get for not building first. 2017-01-30 11:46:45 -05:00
secret.go Remove grace periods 2016-01-31 19:33:16 -05:00
storage.go Adding interface methods to logical.Backend for parity (#2242) 2017-01-07 18:18:22 -05:00
storage_inmem.go Make logical.InmemStorage a wrapper around physical.InmemBackend. 2016-06-06 12:03:08 -04:00
storage_inmem_test.go
system_view.go Port over some work to make the system views a bit nicer 2017-01-13 14:51:27 -05:00
testing.go Convert to logxi 2016-08-21 18:13:37 -04:00
translate_response.go Audit unwrapped response (#1950) 2016-09-29 12:03:47 -07:00