borgeby / jarl

Jarl is an Open Policy Agent (OPA) evaluator for the JVM and Javascript, written in Clojure(Script)
Apache License 2.0
41 stars 5 forks source link

Implement print built-in function #162

Open anderseknert opened 1 year ago

anderseknert commented 1 year ago

With this now merged into OPA: https://github.com/open-policy-agent/opa/pull/5501

We'll likely need to "rebase" our OPA version to include tests for this (in case there are any in the YAML suite), but once that's done, this should be a fairly trivial addition. Default behavior should be to pipe print calls via the logger, and have printing be configurable separately from the application log events.