Skip to content

v0.21.198

Compare
Choose a tag to compare
@zalando-robot zalando-robot released this 12 Sep 12:39
7cb3dc2

Changes

opa: pass URL query parameters to OPA policy evaluation (#3207)

Improve the envoy request adapting logic to include query parameters sent in the request.
This would allow the policy evaluationin opaAuthorizeRequest* and opaServeResponse* filters to make use of query parameters/values in the policy.

  • Add test cases to cover multi valued query params and trailing ? in URL path

  • Change the logic to build path with query params

    • Use escaped path + raw query string to build the path set in envoy request
    • Add test cases to cover few additional special cases (empty query string, space in path)
  • Use req.URL.RequestURI() to set the path with query params

Multiarch Docker image

Multiarch Docker image is available in Github's docker registry:

docker run -it ghcr.io/zalando/skipper:v0.21.198 skipper --help

Docker image

Docker image is available in Zalando's Open Source registry:

docker run -it registry.opensource.zalan.do/teapot/skipper:v0.21.198 skipper --help