chore(deps): update dependency open-policy-agent/opa to v0.58.0 (opa/dockerfile) (master) #710
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
This PR contains the following updates:
0.52.0
->0.58.0
Warning
Some dependencies could not be looked up. Check the Dependency Dashboard for more information.
Release Notes
open-policy-agent/opa (open-policy-agent/opa)
v0.58.0
Compare Source
This release contains a mix of performance improvements, bugfixes and security fixes for third-party libraries.
Runtime, Tooling, SDK
= true
as it is implied (#6323) authored by @anderseknertv0.23.0
(#2266) authored by @ashutosh-narkarhttp_request_duration_seconds
metric (#6238) authored by @AdrianArnautuTopdown and Rego
walk
-ing (#6267) authored by @anderseknertDocs
/
) or other special characters (#6264) authored by @dennisgWebsite + Ecosystem
Miscellaneous
hub
tool in GitHub workflows in favor of GitHub CLI tool (#6326) authored by @ashutosh-narkarv0.57.1
Compare Source
This is a bug fix release addressing the following security issues:
Golang security fix GO-2023-2102
OpenTelemetry-Go Contrib security fix CVE-2023-45142
v0.57.0
Compare Source
This release contains an updated Rego syntax to allow general references in rule heads, and a mix of new features and bugfixes.
Support for General References in Rule Heads
In OPA
0.56.0
, we introduced support for general references in rule heads as an experimental feature.It has now graduated to a fully supported feature, and is no longer experimental.
A general reference is a reference with variables at arbitrary locations.
In Rego, partial rules are used for generating sets and objects.
In previous versions of OPA, variables were only allowed in the very last position in the rule's reference.
Now, Rego has been expanded to allow rules to be declared with general references in their head, with variables at arbitrary locations.
This allows for generating nested dynamic object structures:
v0.56.0
Compare Source
This release contains a mix of new features, bugfixes and a new builtin function.
Support for General References in Rule Heads (Experimental)
A new experimental feature in OPA is support for general refs in rule heads. Where a general ref is a reference with variables at arbitrary locations.
v0.55.0
Compare Source
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 @johanfyllingv0.54.0
Compare Source
This release focuses on bug fixes, but also includes some improvements to the SDK and commandline.
Note: This will be the last OPA release to support building with Golang 1.18. (Golang 1.21 is expected to be released in August. Keeping the support for 1.18 is blocking OPA from upgrading OpenTelemetry.)
Topdown and Rego
lazyObj
when compared against other object type (6060) (authored by @johanfylling)fmt
panic in comprehension with comments (#5798) authored by @Trolloldem reported by @Djoustobject.union_n
where nested objects were mutated (#5975) authored by @qshu-splunkobject.subset
method failing to correctly compare array relationships (5968) authored by @DCRUNNNhttp.send
(#5997) authored by @ashutosh-narkartime.format
andtime.parse_ns
(#5945) authored by @tjonsRuntime, Tooling, SDK
--schema
flag toopa test
(#5923) authored by @renatoscpersistence_directory
config (#6042) authored by @blacksailstzdata
is not found on filesystem (6038) authored by @charlieegan3Store
implementation in SDK (5962) authored by @srenatus/v1/config
API result (6056) authored by @srenatusMiscellaneous
v0.53.1
Compare Source
This is a bug fix release addressing the following issues:
Runtime, Tooling, SDK
WWW-Authenticate
header of a401 Unauthorized
response. Errors were returned when downloading a public image as it was assumed that authorization is not necessary for public repositories. This fix addresses this issue by challenging any401 Unauthorized
responses by passing it to the docker.Authorizer (#5902) authored by @DerGutopa fmt
: Fix panic encountered while processing policies with comprehensions written on multiple lines with comments in these lines (#5798) authored by @TrolloldemTopdown and Rego
object.subset
: Fix an issue inobject.subset
related to incorrect results being generated when arrays are provided as an input (#5968) authored by @DCRUNNNv0.53.0
Compare Source
This release contains some enhancements, bugfixes, and a new builtin function.
Runtime, Tooling, SDK
opa eval
: Update OPA eval's--profile-sort
flag description to highlight the valid options to sort the profile results (#5924) authored by @ecbenezraopa fmt
: Fix cases in which invalid code was generated due to parentheses being improperly handled (#5537) authored by @Trolloldemloader
package that provide ability to register handlers for certain file extensions. This feature is currently EXPERIMENTAL (#5940) authored by @srenatusTopdown and Rego
crypto.x509.parse_keypair
: Returns a key pair from a pair of PEM or base64 encoded strings of data. See the documentation on the new built-in for all the details. (#5853) authored by @volck.io.jwt.decode_verify
: Fix issue where token verification succeeded in case whereiss
constraint was required but JWT did not contain it (#5850) authored by @AleksanderBrzozowskihttp.send
: Add a new option to thehttp.send
input object which allows policy authors to specify a retry count for executing a HTTP request. Retries are performed with an exponential backoff delay (#5891) authored by @ashutosh-narkar_
matching only scalars in rule indexing for arrays (#5916) authored by @jaspervdjMiscellaneous
Configuration
📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).
🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.
♻ Rebasing: Whenever PR is behind base branch, or you tick the rebase/retry checkbox.
👻 Immortal: This PR will be recreated if closed unmerged. Get config help if that's undesired.
This PR has been generated by Renovate Bot.