Labs - OPA. Question 5 ``` root@controlplane:~# cat /root/example.rego package . . .

Droogles:
Labs - OPA. Question 5

root@controlplane:~# cat /root/example.rego 
package httpapi.authz
import input
default allow = false
allow {
 input.path == "home"
 input.user == "Kedar"
}

Seems right:

root@controlplane:~# ./opa_linux_amd64 test /root/example.rego 
root@controlplane:~#

I get Policy fixed?

Mohamed Ayman:
Yes, you have fixed the error by changing the default allow to false then the policy has been fixed.