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 for some advice here please for Waypoint OPA integration
I see that Waypoint is sending the request to OPA for decision making however, I see the input (on OPA) is coming as below i.e. typed JSON/protobuf JSON instead of plain JSON ? I also see a message saying no content-type header supplied.
{"decision-id":"9e86eca3-d035-4445-a38f-0d72880ef6d3","level":"debug","msg":"no content-type header supplied, performing no body parsing","time":"2025-09-23T19:38:19Z"}
{"input":[[{"type":"string","value":"attributes"},{"type":"object","value":[[{"type":"string","value":"destination"},{"type":"object","value":[[{"type":"string","value":"address"},{"type":"object","value":[[{"type":"string","value":"socketAddress"},{"type":"object","value":[[{"type":"string","value":"address"},{"type":"string","value":"34.118.226.195"}],[{"type":"string","value":"portValue"},{"type":"number","value":5432}]]}]]}]]}],[{"type":"string","value":"source"},{"type":"object","value":[[{"type":"string","value":"address"},{"type":"object","value":[[{"type":"string","value":"socketAddress"},{"type":"object","value":[[{"type":"string","value":"address"},{"type":"string","value":"10.48.4.13"}],[{"type":"string","value":"portValue"},{"type":"number","value":41878}]]}]]}]]}]]}],[{"type":"string","value":"parsed_body"},{"type":"null","value":{}}],[{"type":"string","value":"parsed_path"},{"type":"array","value":[{"type":"string","value":""}]}],[{"type":"string","value":"parsed_query"},{"type":"object","value":[]}],[{"type":"string","value":"truncated_body"},{"type":"boolean","value":false}],[{"type":"string","value":"version"},{"type":"object","value":[[{"type":"string","value":"encoding"},{"type":"string","value":"protojson"}],[{"type":"string","value":"ext_authz"},{"type":"string","value":"v3"}]]}]],"level":"debug","msg":"Executing policy query.","query":"data.istio.authz.result","time":"2025-09-23T19:38:19Z","txn":1765}
{"decision":{"allowed":true,"rule_action":"undefined","service_details":"yelb-appserver.yelb1/yelb-db.yelb1"},"dry-run":false,"err":null,"level":"debug","metrics":{"counter_rego_builtin_http_send_interquery_cache_hits":1,"timer_rego_builtin_http_send_ns":106623,"timer_rego_external_resolve_ns":3660,"timer_rego_query_eval_ns":6823628,"timer_server_handler_ns":0},"msg":"Returning policy decision.","query":"data.istio.authz.result","time":"2025-09-23T19:38:19Z","total_decision_time":9475803,"txn":1765}
I am using istio 1.27.1 in ambient mode trying to use OPA ext auth for decision making.
Why is the input coming in as typed JSON/protobuf JSON instead of plain JSON ? Is this expected with istio in ambient mode ?
How do I supply the content-type header ?
Below is my istio config-map for reference thank you
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Hi,
Looking for some advice here please for Waypoint OPA integration
I see that Waypoint is sending the request to OPA for decision making however, I see the input (on OPA) is coming as below i.e. typed JSON/protobuf JSON instead of plain JSON ? I also see a message saying no content-type header supplied.
I am using istio 1.27.1 in ambient mode trying to use OPA ext auth for decision making.
Why is the input coming in as typed JSON/protobuf JSON instead of plain JSON ? Is this expected with istio in ambient mode ?
How do I supply the content-type header ?
Below is my istio config-map for reference thank you
Beta Was this translation helpful? Give feedback.
All reactions