Repository navigation
Update openpolicyagent/opa Docker tag to v1.22.4 - #35
Open
renovate[bot] wants to merge 1 commit into
Open
renovate[bot] wants to merge 1 commit into
renovate[bot] wants to merge 1 commit into
Conversation
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## main #35 +/- ##
=======================================
Coverage 95.79% 95.79%
=======================================
Files 5 5
Lines 857 857
=======================================
Hits 821 821
Misses 36 36 ☔ View full report in Codecov by Harness. 🚀 New features to boost your workflow:
|
renovate
Bot
force-pushed
the
renovate/openpolicyagent-opa-1.x
branch
from
November 5, 2026 20:29
a21a21b to
329c1bf
Compare
renovate
Bot
force-pushed
the
renovate/openpolicyagent-opa-1.x
branch
from
November 6, 2026 05:31
329c1bf to
903d0b6
Compare
renovate
Bot
force-pushed
the
renovate/openpolicyagent-opa-1.x
branch
from
November 10, 2026 18:01
903d0b6 to
54bba72
Compare
renovate
Bot
force-pushed
the
renovate/openpolicyagent-opa-1.x
branch
from
November 12, 2026 20:11
54bba72 to
51c8aa3
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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:
1.21.4-static-debug→1.22.4-static-debugRelease Notes
open-policy-agent/opa (openpolicyagent/opa)
v1.22.4Compare Source
This is a fix release for a vulnerability (CVE-2026-97054) in Go's HTTP/1 server:
https://groups.google.com/g/golang-announce/c/iY8TY0wWgbM
Note that our security guidance includes not running OPA with its interfaces exposed to adversarial actors, like the public internet. This is fixed regardless, if only to avoid too many spurious vulnerability checker reports.
Also note that if you build your OPA binaries yourself, this patch release does not apply to you, as you control the version of Go that's used. This patch release affects the published binaries and docker images of OPA.
v1.22.3Compare Source
This is a bugfix release for a type checker regression in v1.22.0.
It also includes a dependency bump for github.com/klauspost/compress.
Allow keys of empty collections in rules replaced by
withA rule like
default x := {}is typed as an empty collection, so anyconstant key on it is rejected, even though tests replace it using
with.Empty collections in the types of rules that a with modifier targets are
now typed as any.
Dependency Updates
v1.22.2Compare Source
This is a bugfix release for a type checker regression in v1.21.0.
Iterating an empty collection is rejected by the type checker
Policies that iterate a collection known to be empty, such as
some x in []orm[_]wherem := {},were rejected with
rego_type_error: undefined ref. Iteration with a non-constant key is valid again, and simplyyields nothing. Comparing or unifying the elements of such a collection with a value is accepted as well.
Constant keys, like
[][0], are still reported as undefined.Reported by @kholia.
v1.22.1Compare Source
This is a bugfix release for a rule indexer regression in v1.21.0.
x in {"a", input.y}never matches for a ref xFor an input of
{"x": "b", "y": "b"}, this should evaluate to true. Due to a bug in therule indexer, the rule body hadn't been returned, and
allowthus evaluated toundefined.Reported by @kholia.
v1.22.0Compare Source
This release contains a mix of new features, performance improvements and bug fixes. Notably:
rego.v2importeveryover a known domainConfigurable log level for HTTP access logs
Added
--log-level-request(defaultinfo) to control the level at which the HTTPserver's "Received request."/"Sent response." access log lines are emitted, independent
of the general
--log-level. Set it todebugto keep those lines out of logs unless--log-levelis also turned up.Authored by @srenatus
New
rego.v2import (#9224, #9269)import rego.v2enables theandandorkeywords and the improvednotsemantics in oneimport, in place of
future.keywords.and,future.keywords.or, andfuture.keywords.not.In a v0 module it also implies
rego.v1. It is gated by the newrego_v2_importcapabilityfeature.
See Importing
rego.v2.Additionally: bundles can be declared as Rego v2 by setting the
rego_versionmanifest attribute to2(individuabundle modules by setting
file_rego_versions); and the Go API accepts the newast.RegoV2rego-version when parsing,compiling, and formatting Rego modules.
The
rego.v2import is a redundant no-op for modules loaded these ways.See bundle file format.
Authored by @johanfylling
Stricter handling of bundle signature filenames (#9300)
Breaking change: We have corrected a long-standing bug in bundle signing and verification, which will cause bundles containing files matching the suffix pattern
*signatures.jsonto no longer pass verification in newer versions of OPA.These bundles will need to be re-signed by this or newer versions of OPA to have a correct
.signatures.jsonfile.Bundles that do not contain filenames with the
*signatures.jsonpattern are unaffected, and will continue to verify correctly across OPA versions.OPA has historically been very lax in deciding where to source bundle signature data from during bundle verification, and would attempt to load bundle signatures data from any file in the bundle that had the filename suffix pattern
*signatures.json.This could cause surprising behavior at bundle verification time, and resulted in all files with the
*signatures.jsonpattern being ignored for signing, allowing filenames likefoosignatures.jsonto be added to a bundle without being integrity-checked by the bundle signature.OPA now identifies the bundle signatures file by its exact basename
.signatures.json(the same way it locates the bundle manifest and data files), so it is found regardless of any directory prefix, and a bundle containing more than one signatures file is rejected.Additionally, OPA will now correctly detect and sign all other files with the suffix pattern
*signatures.json, which may cause bundles signed by this and future versions of OPA to have different signatures from the same content signed by older versions of OPA.Authored by @philipaconrad
Partial evaluation unrolls
everyover a known domainPartial evaluation now evaluates an
everyover a known collection of at most 32 elements (counting nestedeverys together) once per element, instead of keeping it in the result when its body has unknowns. The result is the conjunction of the body for each element, which the data filtering targets of the Compile API can translate. Seeevery.Authored by @srenatus
Runtime, SDK, Tooling
data.ymlfor bundle signatures (#9301) reported and authored by @philipaconradast.RegoV2enum to Go API (#9377) authored by @johanfyllingCompiler, Topdown and Rego
rego.v2import (#9224) reported and authored by @johanfyllingrego_v2capability impliestemplate_stringsandkeywords_in_refs(#9424) authored by @johanfyllingnet.cidr_containsfalse negatives on IPv6 subnets ending at::ffff:ffff:ffff(#9396) reported and authored by @7-Balaevery(#9383) authored by @choksi2212, reported by @saluc28Docs, Website, Ecosystem
Miscellaneous
Configuration
📅 Schedule: (UTC)
🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.
♻ Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.
🔕 Ignore: Close this PR and you won't be reminded about this update again.
This PR was generated by Mend Renovate. View the repository job log.