View Code? Open in Web Editor
NEW
A collection of OPA rules to statically analyze Dockerfiles to improve security
Home Page: https://cloudberry.engineering/article/dockerfile-security-best-practices/
License: GNU General Public License v3.0
Open Policy Agent 100.00%
dockerfile-security's Issues
Enhancement
- Suggest using FQDN images (e.g., docker.io/, ghcr.io/ ) to avoid name collisions when using local repos.
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.