You are debugging a '403 Forbidden' error on a service protected by an AuthorizationPolicy. Which tool is most effective for inspecting the policy enforcement in the data plane?
Trap 1: istioctl proxy-config rds <pod-name>
RDS is for route discovery, not authorization policies.
Trap 2: istioctl proxy-config listener <pod-name>
Listeners are for inbound/outbound ports, not policy logic.
Trap 3: istioctl proxy-config policy <pod-name>
This command does not exist.
- A
istioctl proxy-config rds <pod-name>
Why wrong: RDS is for route discovery, not authorization policies.
- B
istioctl proxy-config listener <pod-name>
Why wrong: Listeners are for inbound/outbound ports, not policy logic.
- C
istioctl proxy-config log <pod-name> --level debug
Setting log level to debug for the 'rbac' component is a standard way to see why a request was denied.
- D
istioctl proxy-config policy <pod-name>
Why wrong: This command does not exist.