Skip to content

Latest commit

Β 

History

History
34 lines (26 loc) Β· 849 Bytes

README.md

File metadata and controls

34 lines (26 loc) Β· 849 Bytes

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