Commit a0a1422b by Will Browne Committed by GitHub

Auth: Add missing request headers to SigV4 middleware allowlist (#30115)

* 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
parent b48ac0dc
......@@ -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 {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment