dockerfile-security icon indicating copy to clipboard operation
dockerfile-security copied to clipboard

rego_unsafe_var_error: var i is unsafe

Open ravimarella opened this issue 3 years ago • 1 comments

Hi I'm getting the following error while trying to use the rego file to check my docker image:

Error: running test: load: loading policies: get compiler: 1 error occurred: opa-docker-security.rego:88: rego_unsafe_var_error: var i is unsafe

I'm new to this, so could you please help me in resolving this issue. This same error is coming in all the versions for improved "root" user check.

ravimarella avatar Jul 04 '22 12:07 ravimarella

same error

alibr1996 avatar Mar 21 '23 14:03 alibr1996