Skip to content

Latest commit

 

History

History

open-policy-agent

Module: Open Policy Agent

dagger-min-version deno compatibility

A Dagger Module for validating configuration files using Open Policy Agent.

Usage

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

Example

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