Skip to content

Commit

Permalink
add new headers/params to logging policy allowlist (Azure#16305)
Browse files Browse the repository at this point in the history
  • Loading branch information
kristapratico authored Jan 22, 2021
1 parent c957c4f commit d6fee00
Showing 1 changed file with 6 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -34,10 +34,13 @@ def __init__(self, endpoint, credential, **kwargs):
http_logging_policy.allowed_header_names.update(
{
"Operation-Location",
"Location",
"x-envoy-upstream-service-time",
"apim-request-id",
"Strict-Transport-Security",
"x-content-type-options"
"x-content-type-options",
"ms-azure-ai-errorcode",
"x-ms-cs-error-code"
}
)
http_logging_policy.allowed_query_params.update(
Expand All @@ -46,7 +49,8 @@ def __init__(self, endpoint, credential, **kwargs):
"locale",
"language",
"includeKeys",
"op"
"op",
"pages"
}
)

Expand Down

0 comments on commit d6fee00

Please sign in to comment.