* Auth: Add Content-Type to SigV4 header allowlist
* add MT headers to permitted headers
* add Kibana API header to allowlist
* add Content-Length header to allow list
(cherry picked from commit a0a1422b2d)
Co-authored-by: Will Browne <wbrowne@users.noreply.github.com>
This commit is contained in:
co-authored by
Will Browne
parent
68aead75de
commit
e1f213f4af
@@ -33,6 +33,11 @@ var permittedHeaders = map[string]struct{}{
|
||||
"User-Agent": {},
|
||||
"Accept": {},
|
||||
"Accept-Encoding": {},
|
||||
"Content-Type": {},
|
||||
"Content-Length": {},
|
||||
"securitytenant": {},
|
||||
"sgtenant": {},
|
||||
"kbn-xsrf": {},
|
||||
}
|
||||
|
||||
type SigV4Middleware struct {
|
||||
|
||||
Reference in New Issue
Block a user