A Dagger Module for validating configuration files using Open Policy Agent.
dagger -m github.com/tsirysndr/daggerverse/open-policy-agent call evaluate \
--src <source> \
--data <data> \
--input <input> \
--query <query>
dagger call -m github.com/tsirysndr/daggerverse/open-policy-agent dev --src <source> terminal
dagger -m github.com/tsirysndr/daggerverse/open-policy-agent call evaluate \
--src . \
--data data.json \
--input input.json \
--query "data.example.allow"
dagger call -m github.com/tsirysndr/daggerverse/open-policy-agent dev --src . terminal