OPA v0.55.0 #476
ashutosh-narkar
announced in
Announcements
OPA v0.55.0
#476
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
This release contains a mix of new features, bugfixes and a new builtin function.
Honor
default
keyword on functionsPreviously if a function was defined with a
default
value, OPA would ignore it. Now thedefault
function is honoredif all functions with the same name are undefined. For example,
The value of a
default
function follows the same conditions as that of adefault
rule. In addition, adefault
function satisfies the following properties:
Authored by @ashutosh-narkar.
New Built-In Function: crypto.parse_private_keys
crypto.parse_private_keys
returns zero or more private keys from the given encoded string containing DER certificate data.If the input contains a list of one or more concatenated PEM blocks, then the built-in will output the parsed private keys
represented as objects.
See the documentation on the new built-in
for all the details.
Authored by @volck.
Runtime, Tooling, SDK
discard
output format toopa eval
which discards the result while still showing the output of eval flags like--profile
(#6103) authored by @26tanishabanikTopdown and Rego
WithRoots
compiler option that allows callers to set the roots to include in the output bundle manifest (#6088) authored by @kubajDocs
Website + Ecosystem
Ecosystem:
Website:
Miscellaneous
CRLF
line terminations in the patch output (#6069) authored by @johanfyllingBeta Was this translation helpful? Give feedback.
All reactions