by bobbiechen · 5y ago · 0 comments
From the custom rules overview https://hub.datree.io/custom-rules-overview , though it is docs WIP, I noticed these are defined as YAML/JSON somehow. That's a contrast to HashiCorp's Sentinel https://docs.hashicorp.com/sentinel/concepts/language and OPA's Rego https://www.openpolicyagent.org/docs/latest/policy-language/ . Is this an intentional design decision?
Having said that, we might add OPA .rego support in the near future :)
What is the desired way for you to write custom policy rules?
[0] - https://json-schema.org/