Files
regorus/docs/builtins.md
Anand Krishnamoorthi 55abbb2b42 Update to OPA v0.64.0 (#219)
Implement json.marshal_with_options builtin

closes #215, closes #218

Signed-off-by: Anand Krishnamoorthi <anakrish@microsoft.com>
2024-04-26 04:52:11 -07:00

26 KiB

Built-in Functions

This page lists all the supported Rego built-in functions and the cargo feature that is needed to enable each builtin.

Those builtins that are not need for a specific use of the Regorus crate can be excluded from the binary by not specifying the corresponding feature. This is useful in Confidential Computing scenarios where

  • There needs to be control over what a policy execution can and cannot do.
  • There needs to be control over exactly what goes into the Trusted Computing Base.

Currently many builtins are baked-in, i.e. there is no way to exclude them from the TCB. In future, each builtin will be associated with a feature (many builtins could be associated with the same feature).