open-vault/sdk/helper
Mike Jarmy 510d82551a
Vault Agent Cache Auto-Auth SSRF Protection (#7627)
* implement SSRF protection header

* add test for SSRF protection header

* cleanup

* refactor

* implement SSRF header on a per-listener basis

* cleanup

* cleanup

* creat unit test for agent SSRF

* improve unit test for agent SSRF

* add VaultRequest SSRF header to CLI

* fix unit test

* cleanup

* improve test suite

* simplify check for Vault-Request header

* add constant for Vault-Request header

* improve test suite

* change 'config' to 'agentConfig'

* Revert "change 'config' to 'agentConfig'"

This reverts commit 14ee72d21fff8027966ee3c89dd3ac41d849206f.

* do not remove header from request

* change header name to X-Vault-Request

* simplify http.Handler logic

* cleanup

* simplify http.Handler logic

* use stdlib errors package
2019-10-11 18:56:07 -04:00
..
base62 Migrate database plugin methods to sdk 2019-04-15 11:36:10 -04:00
certutil Raft Storage Backend (#6888) 2019-06-20 12:14:58 -07:00
cidrutil Move cidrutil to sdk 2019-04-12 18:03:59 -04:00
compressutil Create sdk/ and api/ submodules (#6583) 2019-04-12 17:54:35 -04:00
consts Vault Agent Cache Auto-Auth SSRF Protection (#7627) 2019-10-11 18:56:07 -04:00
cryptoutil Create sdk/ and api/ submodules (#6583) 2019-04-12 17:54:35 -04:00
dbtxn Migrate database plugin methods to sdk 2019-04-15 11:36:10 -04:00
errutil Create sdk/ and api/ submodules (#6583) 2019-04-12 17:54:35 -04:00
hclutil Create sdk/ and api/ submodules (#6583) 2019-04-12 17:54:35 -04:00
jsonutil Create sdk/ and api/ submodules (#6583) 2019-04-12 17:54:35 -04:00
kdf Create sdk/ and api/ submodules (#6583) 2019-04-12 17:54:35 -04:00
keysutil Add AES128-GCM96 support to transit (#7555) 2019-10-03 16:11:43 -04:00
ldaputil Port LDAP getCN changes to 1.2 branch (#7209) 2019-07-29 15:43:34 -04:00
license Create sdk/ and api/ submodules (#6583) 2019-04-12 17:54:35 -04:00
locksutil Create sdk/ and api/ submodules (#6583) 2019-04-12 17:54:35 -04:00
logging Add 'log-format' CLI flag, along with associated config flag, for 'vault server' command. (#6840) 2019-07-18 15:59:27 -04:00
mlock Create sdk/ and api/ submodules (#6583) 2019-04-12 17:54:35 -04:00
parseutil Unify time.Duration handling across framework and parseutil (#6935) 2019-06-20 14:28:32 -04:00
password Move password to sdk 2019-04-12 18:12:13 -04:00
pathmanager Create sdk/ and api/ submodules (#6583) 2019-04-12 17:54:35 -04:00
pluginutil Create sdk/ and api/ submodules (#6583) 2019-04-12 17:54:35 -04:00
policyutil Move policyutil to sdk 2019-04-12 18:08:46 -04:00
salt salt: fix DidGenerate docstring (#7372) 2019-08-27 14:41:23 -07:00
strutil gofmt fixes. 2019-05-02 16:29:41 -07:00
tlsutil Raft tests (#7008) 2019-06-28 14:08:53 -04:00
tokenutil Fix batch token test (#7047) 2019-07-02 22:16:43 -04:00
useragent Move useragent to sdk 2019-04-12 18:17:49 -04:00
wrapping Create sdk/ and api/ submodules (#6583) 2019-04-12 17:54:35 -04:00