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
Right now, when rönd operates in standalone mode it is not capable of executing response-flow policies therefore I have to write any security-related filter on API responses in the API itself.
Describe the solution you'd like
I'd like to be able to invoke rönd standalone also to be able to know the payload I should return to the client.
curl -X POST http://rond-standalone/eval/someapi -d '{ my original payload }'
And receive back the payload modified by my_policy.
Describe alternatives you've considered
To let rönd discern whether the http://rond-standalone/eval/someapi should use the request or response flow I'd like to use something like:
a reserved query param: ?rondFlow=response
a reserved header: rond-flow=response
change the path to /eval/:flow/:apinametherefore the api would actually be different based on the flow, in this case:http://rond-standalone/eval/response/someapi` but this would be a breaking change!
Any other suggestion on a solution?
The text was updated successfully, but these errors were encountered:
fredmaggiowski
changed the title
Add support for request flow policy in standalone mode
Add support for response flow policy in standalone mode
Nov 20, 2022
Right now, when rönd operates in standalone mode it is not capable of executing response-flow policies therefore I have to write any security-related filter on API responses in the API itself.
Describe the solution you'd like
I'd like to be able to invoke rönd standalone also to be able to know the payload I should return to the client.
So with a configuration such as
I'd like to do something like
And receive back the payload modified by
my_policy
.Describe alternatives you've considered
To let rönd discern whether the
http://rond-standalone/eval/someapi
should use therequest
orresponse
flow I'd like to use something like:?rondFlow=response
rond-flow=response
therefore the api would actually be different based on the flow, in this case:
http://rond-standalone/eval/response/someapi` but this would be a breaking change!Any other suggestion on a solution?
The text was updated successfully, but these errors were encountered: