You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Looking at a use case where we'd like to use OPA for policies on REST API endpoints, ensuring that they conform to certain guidelines (like allowing CORS requests, etc). To do this in-policy would however require the response headers to be part of the response object.
The text was updated successfully, but these errors were encountered:
Previously we left them off the returned AST object, this will now
just massage them into valid types and pass them along into the
return value.
Fixes: open-policy-agent#2238
Signed-off-by: Patrick East <east.patrick@gmail.com>
Previously we left them off the returned AST object, this will now
just massage them into valid types and pass them along into the
return value.
Fixes: #2238
Signed-off-by: Patrick East <east.patrick@gmail.com>
Expected Behavior
Headers included in
http.send
response.Additional Info
Looking at a use case where we'd like to use OPA for policies on REST API endpoints, ensuring that they conform to certain guidelines (like allowing CORS requests, etc). To do this in-policy would however require the response headers to be part of the response object.
The text was updated successfully, but these errors were encountered: