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
If clients are executing queries against the root of the data namespace then the decision log path should be empty. Note, this change will be backwards incompatible however it's unlikely that anyone is relying on this behavior today since clients typically query for specific decision paths OR they use the main decision (both of which are logged correctly.)
Actual Behavior
Currently the decision log path is set to data because of how the path prefix is stripped.
Steps to Reproduce the Problem
Run opa with decision logging enabled: opa run -s --set decision_logs.console=true
Execute a query against v1/data: curl localhost:8181/v1/data
Observe path in decision log event
The text was updated successfully, but these errors were encountered:
Expected Behavior
If clients are executing queries against the root of the data namespace then the decision log path should be empty. Note, this change will be backwards incompatible however it's unlikely that anyone is relying on this behavior today since clients typically query for specific decision paths OR they use the main decision (both of which are logged correctly.)
Actual Behavior
Currently the decision log path is set to
data
because of how the path prefix is stripped.Steps to Reproduce the Problem
opa run -s --set decision_logs.console=true
curl localhost:8181/v1/data
The text was updated successfully, but these errors were encountered: