All notable changes to opa-authzen-plugin will be documented in this file.
The format is based on Keep a Changelog, and this project adheres to Semantic Versioning.
Changed
Section titled “Changed”- Breaking for deployments that set
supported_obligations: the plugin now follows the AuthZEN Obligations Core, which replaced the Obligations Profile upstream. A PEP has to listobligationsincontext.supported_mandatory_extensionsto receive obligations. Without it, theobligationsmember is removed from the Decision context, and a decision that required obligations becomes a deny. An adopting PEP only receives obligations whosetypeit listed incontext.supported_obligations; if the policy required another type, the decision becomes a deny. An adopting PEP that sends nosupported_obligationsis treated as having sent an empty array. In a batch, a result that ends the batch keeps itsobligationsnext to the short-circuit reason. In Search, the rule runs per result: a result entity whose owncontext.obligationsthe PEP may not receive is left out of the results. An emptyobligationsarray is removed from the response. - With
supported_obligationsset,urn:openid:authzen:capability:obligationsis added to the advertisedcapabilities. Asigned_metadataJWT'scapabilitiesclaim must include it.
v0.13.0 - 2026-12-03
Section titled “v0.13.0 - 2026-12-03”The first release from dyokto/opa-authzen-plugin. The Go module path changes, and so does the image name. Configuration and policies work as before.
Changed
Section titled “Changed”- The repository moved from
github.com/kanywst/opa-authzen-plugintogithub.com/dyokto/opa-authzen-plugin. GitHub redirects the old URLs. - Breaking: the Go module path is now
github.com/dyokto/opa-authzen-plugin. Update imports andgo.modrequirements when upgrading. v0.12.1 and earlier stay available undergithub.com/kanywst/opa-authzen-pluginin the Go module proxy. - Images are published as
ghcr.io/dyokto/opa-authzen-plugin. The existingghcr.io/kanywst/opa-authzen-plugintags (up to0.12.1,0.12andlatest) stay available but receive no new pushes. - Release binaries and images are signed by the workflows in
dyokto/opa-authzen-plugin, socosignverification of new releases uses the identity regexp^https://github\.com/dyokto/opa-authzen-plugin/.... Releases up to v0.12.1 keep thekanywstidentity; RELEASE.md shows both. - The
interop/todosuite and the Kubernetes example pullghcr.io/dyokto/opa-authzen-plugin, pinned to 0.13. - Every GitHub Action in the workflows is pinned to a full commit SHA.
- When
decision_contextis configured, the decision and its context are now evaluated within a single query rather than two separate queries. Previously, rules shared by both evaluations, including calls to built-in functions such ashttp.send, were evaluated twice per decision, potentially resulting in inconsistencies between the decision and its returned context.
Compatibility
Section titled “Compatibility”- Built against OPA v1.23.0, up from v1.22.4 in v0.12.1. OPA v1.23.0 roots a bundle at its
.manifestfile: a bundle tarball loaded from disk with-bmust have.manifestat the root of the archive, and bundles signed withopa signoropa build -bby older OPA versions must be re-signed. Bundles downloaded by the bundle plugin still load as before, with a warning. See the OPA v1.23.0 release notes.
v0.12.1 - 2026-11-18
Section titled “v0.12.1 - 2026-11-18”A security rebuild of the binaries and the image, on OPA v1.22.4. No configuration change is needed to upgrade.
Security
Section titled “Security”- The container image upgrades its alpine packages at build time. The v0.12.0 image ships zlib 1.3.2-r1 (CVE-2026-4738, fixed in 1.4-r0) because the
alpine:3.24tag lags the package index. The plugin binary does not link zlib. - CI scans the image with grype (
make image-scan) and fails on fixable High or Critical vulnerabilities. - Release binaries are built with Go 1.26.11, fixing GO-2026-6859 in net/http, which is reachable from the plugin on Go 1.26.10.
github.com/klauspost/compressv1.20.0 → v1.20.3, fixing GO-2026-6865 (a panic on two-block frames), which is reachable from the plugin.
Compatibility
Section titled “Compatibility”- Built against OPA v1.22.4, up from v1.22.0 in v0.12.0. The OPA releases in between are bug fixes for a rule indexer regression and two type checker regressions, and carry no breaking changes.
v0.12.0 - 2026-11-04
Section titled “v0.12.0 - 2026-11-04”AuthZEN decisions now reach OPA's decision log. No configuration change is needed to upgrade.
- AuthZEN decisions are written to OPA's decision log when
decision_logsis configured, as Data API decisions are. Each evaluation is one event with path<path>/<decision>, the evaluated input and the returned Decision asresult; each evaluated item of a batch is its own event, and the items of one request share abatch_decision_id. Searches are logged with path<path>/<search rule>and the returned page. Events carrymetricsand, withnd_builtin_cacheenabled,nd_builtin_cache, and the span getsopa.decision_id. Thesystem.logmask and drop policies apply. Withoutdecision_logsnothing changes, and responses are unchanged either way. See Decision logs. example/kubernetes/: a Deployment and Service for the published image, applied withkubectl apply -k, with the plugin config and policy in a generated ConfigMap.example/kubernetes/test.shruns it on a kind cluster against an image built from the checkout.
Compatibility
Section titled “Compatibility”- Built against OPA v1.22.0, unchanged from v0.11.0.
v0.11.0 - 2026-11-03
Section titled “v0.11.0 - 2026-11-03”Moves to OPA v1.22.0, which carries two breaking changes that reach users of the plugin binary (signed bundles, and Rego containing non-breaking spaces). No plugin code changes, and no plugin configuration change is needed to upgrade.
Changed
Section titled “Changed”- The interop Todo PDP (policy, data, config and e2e suite) now lives in
interop/todo/instead of the separatekanywst/opa-authzen-interoprepository.make test-interopruns it against the locally built image without cloning anything,make test-harnessserves its policy from the working tree instead of a pinned commit, and the newmake test-interop-regochecks, formats and unit-tests the policy with the OPA the plugin links. The suite comes over already tracking v0.10.0, including an assertion onsigned_metadata.
Compatibility
Section titled “Compatibility”- Built against OPA v1.22.0, up from v1.21.3 in v0.10.0. OPA now locates the bundle signatures file by its exact name
.signatures.jsonand signs every other file ending insignatures.json(open-policy-agent/opa#9300). Signed bundles that contain such a file must be re-signed with OPA v1.22.0 or later, or they fail verification. Bundles without such files keep verifying. - The Rego scanner now rejects non-breaking spaces (U+00A0) as illegal characters (open-policy-agent/opa#5796). A policy that has one, typically pasted from a web page or a document, fails to load until it is replaced with a regular space.
v0.10.0 - 2026-10-26
Section titled “v0.10.0 - 2026-10-26”Adds the signed_metadata config option, and rebuilds on Go 1.26.10 and OPA v1.21.3 for two security fixes. No configuration change is needed to upgrade.
- New
signed_metadataconfig option: publishes a JWT assigned_metadatain the PDP metadata document (spec Section 9.1.3). The plugin does not sign it; the JWT is signed outside the plugin and pasted in. Startup fails if the value is not a signed three-part JWS with anissclaim, or if itscapabilities,supported_obligations,access_request_endpoint,jwks_uriorsearch_*_endpointclaims disagree with the config. Unset by default, which leaves the metadata unchanged.
Security
Section titled “Security”- Release binaries are built with Go 1.26.10, fixing GO-2026-6809 in crypto/x509, which is reachable from the plugin on Go 1.26.9.
- OPA v1.21.2 → v1.21.3, which fixes bundle signature verification being side-stepped when
signingis configured without akeyid, or by an unsigned delta bundle (GHSA-g2pf-6v5v-qcc8).
Compatibility
Section titled “Compatibility”- Built against OPA v1.21.3, up from v1.21.2 in v0.9.3.
v0.9.3 - 2026-10-19
Section titled “v0.9.3 - 2026-10-19”Moves to OPA v1.21.2. No plugin code changes, and no configuration change is needed to upgrade.
Security
Section titled “Security”- OPA v1.21.1 → v1.21.2, which fixes the basic authorizer and the Data API resolving
%2Fin a path to different documents (open-policy-agent/opa#9323).
Compatibility
Section titled “Compatibility”- Built against OPA v1.21.2, up from v1.21.1 in v0.9.2. Release binaries stay on Go 1.26.9.
v0.9.2 - 2026-10-13
Section titled “v0.9.2 - 2026-10-13”A security rebuild. The v0.9.1 release binaries and container image were built on Go 1.26.8 with golang.org/x/net v0.58.0; this release rebuilds both on Go 1.26.9 with x/net v0.60.0. There are no functional changes, and no configuration change is needed to upgrade.
Security
Section titled “Security”- Release binaries are built with Go 1.26.9, fixing 11 Go standard library vulnerabilities reachable from the plugin on Go 1.26.8: GO-2026-6617, GO-2026-6613, GO-2026-6612, GO-2026-6611, GO-2026-6610, GO-2026-6605 and GO-2026-6603 in net/http, GO-2026-6608 in mime/multipart, GO-2026-6607 in crypto/tls, and GO-2026-6600 and GO-2026-6599 in html/template.
golang.org/x/netv0.58.0 → v0.60.0, fixing GO-2026-6617, GO-2026-6612, GO-2026-6611, GO-2026-6610 and GO-2026-6603.
Compatibility
Section titled “Compatibility”- Built against OPA v1.21.1, unchanged from v0.9.1.
- The container image is affected this time, unlike in v0.9.1:
ghcr.io/kanywst/opa-authzen-plugin:0.9.1was built on Go 1.26.8 by itsgolang:1.26-alpinebuilder and linksx/netv0.58.0. The 0.9.2 image is built on Go 1.26.9.
v0.9.1 - 2026-10-07
Section titled “v0.9.1 - 2026-10-07”A security rebuild. The v0.9.0 release binaries were built on Go 1.26.1 and linked a vulnerable golang.org/x/crypto; this release rebuilds them on Go 1.26.8 with x/crypto v0.57.0. It also carries the Search result member-order fix and the release tooling changes merged since v0.9.0. No configuration change is needed to upgrade.
Security
Section titled “Security”- Release binaries are built with Go 1.26.8.
go.modhad notoolchainline, so the release workflow installed thegodirective's 1.26.1 verbatim, and the v0.9.0 binaries carry 28 Go standard library vulnerabilities thatgovulncheck -mode=binarycan reach (among them GO-2026-5972 in encoding/asn1, GO-2026-6090 in crypto/tls, GO-2026-6089 in net/http and GO-2026-4601 in net/url).go.modnow pinstoolchain go1.26.8; thego 1.26.1minimum for building from source is unchanged. The container image was not affected: itsgolang:1.26-alpinebuilder already resolved to 1.26.8. golang.org/x/cryptov0.55.0 → v0.57.0, fixing GO-2026-6354 and GO-2026-6355, both linked into the v0.9.0 binaries. GO-2026-5932 has no fixed version yet and is not called.- CI runs
govulncheckon the same Go the release is built with.
Changed
Section titled “Changed”- The draft GitHub Release that a tag push opens now carries the finished body: the release date, that version's CHANGELOG section, and the
cosigncommands that verify its assets and image tag.build/release-notes.shwrites it fromCHANGELOG.mdand the tag workflow passes it to GoReleaser, which used to fill the draft with a raw commit list that had to be replaced by hand before publishing.make release-notes TAG=vX.Y.Zpreviews it, and the workflow fails if the version has no## [vX.Y.Z] - YYYY-MM-DDsection.
make test-harnessnow also runs the AuthZEN working group's Search interop harness (interop/authzen-search-demo), 198 Subject, Resource and Action Search cases, against a Rego transcription of the demo's authorization model inbuild/search-harness.rego. CI runs it next to the Todo harness, with the same rule that a missing case or a busy port fails the run.
- Subject and Resource Search results now serialize as
{"type": ..., "id": ...}followed by any other members in key order, instead of Go's sorted-key order ({"id": ..., "type": ...}). Action Search results lead withnamethe same way. JSON member order carries no meaning (RFC 8259 Section 4) and the values are unchanged, but the AuthZEN working group's Search interop harness compares results as serialized strings, so the old order failed all 78 of its Subject and Resource Search cases.
Compatibility
Section titled “Compatibility”- Built against OPA v1.21.1, up from v1.21.0 in v0.9.0 (a patch release; see the OPA v1.21.1 release notes).
- The container image
ghcr.io/kanywst/opa-authzen-plugin:0.9.0was already built on Go 1.26.8 and is not affected by the standard library findings above; thex/cryptobump applies to it too.
v0.9.0 - 2026-10-03
Section titled “v0.9.0 - 2026-10-03”Moves to OPA v1.21.0, which carries two breaking changes of its own. The plugin code is unchanged: internal/ has no non-test changes since v0.8.0, and every AuthZEN endpoint behaves identically. The minor bump is for what OPA now does to your policies and YAML, not for anything the plugin does.
Changed
Section titled “Changed”- Breaking (from OPA v1.21.0): the type checker now types empty composite literals as empty (open-policy-agent/opa#7275). Selecting from or iterating an empty literal —
some x in [],{}.foo— and comparing an empty object or array literal against a value whose type cannot be empty are nowrego_type_errors, so a policy that compiled under v0.8.0 can fail to load. Usecount(x) == 0to test for emptiness. The bundled examples underexample/are unaffected; one test policy in this repository usedsome u in []and was rewritten. - Breaking (from OPA v1.21.0): YAML is parsed against the 1.2 core schema (open-policy-agent/opa#5754). The bare words
y,n,yes,no,onandoffare now strings rather than booleans everywhere OPA reads YAML, which includes the config file that carriesplugins.authzen,--datafiles, bundles, andyaml.unmarshal.trueandfalseare unaffected. If a config or data file relied onyes/no/on/offmeaning a boolean, writetrue/falseinstead.
make test-contractchecks evaluation requests and responses against the JSON Schemas published underapi/schemas/inopenid/authzen, fetched at a pinned commit. Every schema-valid request, including the schema's own examples and the interop Todo fixtures, must get HTTP 200 with a schema-valid response, and every schema-invalid one HTTP 400, with the two places the plugin is deliberately lenient (a JSONnullmember treated as absent) listed by name.make test-harnessruns the AuthZEN working group's interop Todo harness against the plugin. CI runs both targets on every pull request and every push tomain. It fails when the harness reports a missing case or the port is already taken, rather than passing vacuously.
Compatibility
Section titled “Compatibility”- Built against OPA v1.21.0, up from v1.20.2 in v0.8.0. Read the OPA v1.21.0 release notes before upgrading; the two breaking changes above are the ones most likely to reach an AuthZEN deployment.
github.com/santhosh-tekuri/jsonschema/v6is a new direct requirement ingo.mod, used only by the contract tests. It is not linked into the binary.- Reviewed against
openid/authzencommitb304f68(2026-10-01). Since6ed00ba, the core API document, the JSON Schemas and the certification scenario are unchanged. The Access Request and Approval Profile was restructured into a core-first base profile plus four companions (catalog, bulk, callback, actor), but the PDP discovery rules this plugin implements —access_request_endpointas anhttps://URI, theurn:openid:authzen:capability:access-requestcapability, andjwks_urifor a PDP that issues or verifies signed values — read the same, soaccess_request_endpointandjwks_urineed no change. The companions all describe the Access Request Service, which the plugin does not host.
v0.8.0 - 2026-09-18
Section titled “v0.8.0 - 2026-09-18”Settles the response shape of a batch request that carries no batch, and makes Content-Type matching follow RFC 9110.
- The
Content-Typecheck on all three request endpoints now compares the parsed media type instead of the raw header, so it is case-insensitive and tolerant of surrounding whitespace as RFC 9110 Section 8.3.1 requires.Application/JSON,APPLICATION/JSON; CHARSET=utf-8andapplication/json ; charset=utf-8all nameapplication/jsonand were previously rejected with HTTP 400.application/jsonandapplication/json; charset=utf-8were already accepted and are unaffected, and a header whose parameters do not parse still falls back to the previous prefix match, so nothing that was accepted before is rejected now.
Changed
Section titled “Changed”-
Breaking:
POST /access/v1/evaluationsnow answers in the singular Access Evaluation shape ({"decision": ...}) when the request carries noevaluationsarray or an empty one, instead of wrapping the lone decision in{"evaluations": [...]}. Section 7.1 says such a request "behaves in a backwards-compatible manner with the (single) Access Evaluation API Request" without stating what the response looks like, and the plugin had read that ambiguity the other way. The AuthZEN certification scenario settles it: tests c-3-4-2 and c-3-4-3 require the PDP to "return an Access Evaluation response" and validate the response structure, so the previous shape was a Batch Core certification failure. Section 7.2 points the same way, conditioning the omission of the top-leveldecisionkey on theevaluationsarray being present. The empty-array case was additionally a violation of certification c-3-3-1, which requires the responseevaluationsarray to have the same number of elements as the request's — the plugin answered an empty array with a one-element one. A PEP that posts a batch-shaped request with one or more evaluations sees no change; only the array-absent and array-empty paths differ. Any decision context fromdecision_contextnow rides on the singular response'scontextmember.Upgrade hazard: a PEP that reaches a permit by iterating the response
evaluationsarray and denying only when some element denies will now permit vacuously on these two paths, because the array it loops over is gone. Such a PEP must read the top-leveldecisioninstead. Every other parsing pattern we could construct — indexingevaluations[0], guarding on the array's length, optional chaining — fails closed. If you post to/access/v1/evaluationswithout anevaluationsarray, check your PEP before upgrading.
Compatibility
Section titled “Compatibility”- Built against OPA v1.20.2, up from v1.20.0 in v0.7.0.
- Reviewed against the Authorization API 1.0 text at
openid/authzencommit6ed00ba(2026-09-17). The core API document has not changed since the v0.7.0 review, and neither has the certification scenario; the two JSON Schemas underapi/schemas/did change, in both cases by dropping constraints that contradicted the API text —additionalProperties: falseis gone from the request schema, and the responsecontextis now an unconstrained object rather than the draft-01{id, reason_admin, reason_user}shape. Both changes ratify behavior this plugin already had, so neither requires a change here. - The
evaluationsresponse shape above is the only change a PEP can observe, and only on the array-absent and array-empty paths. Deployments that set no new config key are otherwise byte-identical to v0.7.0. - The Access Request and Approval Profile (Draft 1) tightened its denial-binding rules in the same window (upstream issue #516): binding by reference through
context.evaluation_idis now scoped to deployments where the Access Request Service shares or is delegated the PDP's state, and abinding_tokenis required — and must be self-contained — when that service is independent of the PDP. The plugin neither synthesizes nor signs either value, so this changes no code, but it does narrow which topologies the plugin alone can serve. The README's profile section now states the split; if your Access Request Service is independent, sign thebinding_tokenoutside the plugin and publish its key atjwks_uri. The README and the example config now also call both opt-in profiles by their upstream titles, which are Draft 1 — the1_0in their URLs is the document name, not a released version.
v0.7.0 - 2026-09-03
Section titled “v0.7.0 - 2026-09-03”Reaches into a second AuthZEN profile, and moves the release pipeline onto GoReleaser.
- New
access_request_endpointandjwks_uriconfig options: advertise the discovery members of the AuthZEN Access Request and Approval Profile 1.0 in the PDP metadata document (profile section "Discovery"). Both must behttps://URIs with a host and are rejected at startup otherwise, since the values are published verbatim to every PEP that reads the metadata. Both are unset by default and omitted when unset — the absence ofaccess_request_endpointis how a PEP learns the PDP advertises no Access Request Endpoint. Only the PDP discovery half of the profile is implemented: the Access Request and Task Status endpoints, the approval workflow, andbinding_tokensigning are not, which the profile permits by allowing a service other than the PDP to host them. The requestable-denial hint (context.access_request) continues to travel through the existingdecision_contextrule, and the profile's capability URN throughcapabilities.
Changed
Section titled “Changed”- Releases are now cut by GoReleaser (
.goreleaser.yaml) instead of a Makefile loop plusbuild/github-release.sh. The published asset names are unchanged — bareopa_authzen_<os>_<arch>binaries, one module-wideopa_authzen_sbom.spdx.json,checksums.txtand its Sigstore bundle — so existing download URLs keep working.make releasenow runs the same pipeline locally in snapshot mode, which the previous arrangement could not do at all. Container image publishing is unchanged.
Compatibility
Section titled “Compatibility”- Built against OPA v1.20.0, unchanged from v0.6.1.
- No behavior change for a deployment that sets neither new option: the metadata document is byte-identical to v0.6.1.
v0.6.1 - 2026-09-02
Section titled “v0.6.1 - 2026-09-02”Packaging and supply chain. The plugin itself is unchanged: internal/ has no non-comment changes since v0.6.0, and every AuthZEN endpoint behaves identically.
- Release artifacts are now signed with Sigstore keyless signing and carry a bill of materials. The container image gets a BuildKit-generated SPDX SBOM plus max-mode SLSA provenance, and its pushed digest is signed. Each GitHub Release gets an SPDX SBOM of the module (
opa_authzen_sbom.spdx.json) and achecksums.txtsigned into a Sigstore bundle (checksums.txt.sigstore.json), whose signature transitively covers every asset it lists.RELEASE.mddocuments the verification commands, with the signer identity pinned to this repository's tag workflows.
make docker-runpublished port 8181 to a listener that only accepted connections from inside the container, so every request from the host was refused. OPA has boundlocalhostby default since v1.0; the target now passes--addr 0.0.0.0:8181, and the README documents the same flag for anyone running the published image directly. The imageCMDis unchanged, so host-network and sidecar deployments keep OPA's conservative default.
Changed
Section titled “Changed”- Runtime base image moved from
alpine:3.21toalpine:3.24. 3.21 reaches end of support in November 2026 and stops receiving security patches then.
Dependencies
Section titled “Dependencies”- Bump
github.com/open-policy-agent/opafrom 1.17.0 to 1.20.0.
Compatibility
Section titled “Compatibility”- Built against OPA v1.20.0, up from v1.17.0 in v0.6.0. No configuration or policy change is required to upgrade.
v0.6.0 - 2026-08-18
Section titled “v0.6.0 - 2026-08-18”First release to reach beyond the AuthZEN 1.0 core into a profile. The 1.0 normative requirements were already fully met and are unchanged.
- New
supported_obligationsconfig option: opts the PDP into the AuthZEN Obligations Profile 1.0. The configured Obligation Types are advertised as thesupported_obligationsmember of the PDP metadata document (profile section "Discovery: PDP Metadata Extension"), and the PEP-declaredcontext.supported_obligationsarray is filtered against that set before the input reaches Rego, satisfying the profile's requirement that a PDP ignore any declared value it did not itself advertise ("Negotiation: PEP-Declared Obligation Support"). Filtering applies to both evaluation endpoints and to Search, where it runs before the pagination hash so ignored values cannot invalidate a page token. Unset by default, in which case the metadata member is omitted and request context is passed through untouched, preserving prior behavior. The obligations themselves continue to travel through the existingdecision_contextrule.
Compatibility
Section titled “Compatibility”- Built against OPA v1.17.0.
- No behavior change for a deployment that does not set
supported_obligations: the metadata document is byte-identical and request context still reaches the policy untouched.
v0.5.1 - 2026-08-03
Section titled “v0.5.1 - 2026-08-03”Packaging only. Plugin behavior is identical to v0.5.0 — internal/ has no non-comment changes since that release.
Changed
Section titled “Changed”- Removed
tools.go. It pinnedgithub.com/golangci/golangci-lint v1.64.8in the mainrequireblock ofgo.modwhile doing nothing useful:go-licenseswas never added togo.mod, andgolangci-lint/cmd/golangci-lintispackage mainand therefore not importable, so building with thetoolstag failed on both imports. Its only effect was to pull golangci-lint and its transitive dependencies into the module graph of every consumer importing./plugin.go.moddrops from 261 to 107 lines andgo.sumfrom 727 to 275, leaving OPA as the sole direct dependency. - Lint and license tool versions are now pinned in the
Makefileand run viamake lintandmake licenses. CI derives its golangci-lint version from the same variable, and the linter moves from v2.9.0 to v2.12.2.
build/get-opa-version.shread the OPA version from a fixed field position, which broke once OPA became the only direct dependency andgo mod tidycollapsed the require block into a single-line directive. The version is now located by shape and reads correctly in both forms. Release artifacts were unaffected, since the tag workflow passesVERSIONexplicitly.
Compatibility
Section titled “Compatibility”- Built against OPA v1.17.0.
v0.5.0 - 2026-06-28
Section titled “v0.5.0 - 2026-06-28”- New
decision_contextconfig option: names a Rego rule whose object value is returned as the Decision's optionalcontextmember (spec Section 5.5.1), letting a policy convey reasons, obligations, or other metadata alongside the boolean decision. Applies to bothPOST /access/v1/evaluationand the per-evaluation results ofPOST /access/v1/evaluations. The decision and its context are evaluated under a single transaction so they observe the same policy/data snapshot. The rule must evaluate to a JSON object; an undefined result or empty object omitscontext, and a non-object result fails the request. Unset by default, preserving prior behavior.
Compatibility
Section titled “Compatibility”- Built against OPA v1.17.0.
v0.4.0 - 2026-06-06
Section titled “v0.4.0 - 2026-06-06”- New
capabilitiesconfig block: a list of PDP capability URNs advertised in thecapabilitiesfield of the PDP metadata document (GET /.well-known/authzen-configuration, spec Section 9.1.2). The AuthZEN core registers no capability URNs of its own, so values are operator-supplied; each entry must be a URN (start withurn:) and the field is omitted from the metadata when unset.
Dependencies
Section titled “Dependencies”- Bump
github.com/open-policy-agent/opafrom 1.16.1 to 1.17.0
v0.3.0 - 2026-05-13
Section titled “v0.3.0 - 2026-05-13”- AuthZEN Search APIs (spec Section 8):
POST /access/v1/search/subject,POST /access/v1/search/resource,POST /access/v1/search/action - Stateless opaque-token pagination (Section 8.5) with
next_token,count, andtotalfields; mid-pagination tampering returns 400 - New
searchconfig block (subject,resource,action,max_limit) selecting Rego rules per endpoint - PDP metadata now advertises
search_subject_endpoint,search_resource_endpoint, andsearch_action_endpointwhen the corresponding rule is configured (omitted otherwise per Section 9) - Example policy rules and config showing how to expose the Search APIs
Cache-Control: public, max-age=3600andVary: X-Forwarded-Proto, X-Forwarded-Hoston the PDP metadata response (GET /.well-known/authzen-configuration) so PEPs and shared caches can store the discovery document without cross-tenant bleed-over (spec Section 11.9; RFC 9111 §4.1)
- Reject requests where
subject.properties,resource.properties, oraction.propertiesis present but not a JSON object (spec Section 5: properties is OPTIONAL and MUST be an object). JSON null is still accepted and silently dropped. - Search responses now reject policy results that don't conform to the Information Model. Section 8.4 requires
resultsto contain only entities of the searched-for type, and Section 5 makestype+idREQUIRED on Subjects/Resources andnameREQUIRED on Actions; the plugin verifies each returned entity carries the appropriate strings and returns 500 on a mismatched policy result.
v0.2.5 - 2026-04-28
Section titled “v0.2.5 - 2026-04-28”inputfield included in evaluation Debug log for easier troubleshooting
Changed
Section titled “Changed”- Increased usage of structured logging (
logger.WithFields) in evaluation, batch evaluation, and reconfigure paths - Test helpers accept
testing.TBso they can be shared between tests and benchmarks mergeFielduses theisJSONNullhelper instead of raw string comparison for null checks
v0.2.4 - 2026-04-18
Section titled “v0.2.4 - 2026-04-18”- Envoy Gateway integration example (
example/envoy-gateway/)- ext-authz-bridge: translates Envoy gRPC ext_authz into AuthZEN evaluation requests
- Docker Compose setup with Envoy, bridge, OPA, and backend services
- Smoke test script (
test.sh) covering 9 authorization scenarios
- Strict information model validation with field-level error messages (e.g., "
subject.typeis required and must be a string") - Regression tests for malformed requests (23 cases covering type mismatches, null, arrays)
- Tests for JSON null
contexttreated as absent (single and batch endpoints)
Changed
Section titled “Changed”- Renamed
supported_capabilitiestocapabilitiesin PDP metadata (aligns with Editor's Draft / IANA registry) - Version scheme documentation updated to reflect current semver usage
- JSON null
contextno longer rejected as invalid (contextis OPTIONAL per Section 6) - Required field null handling consistent between single and batch endpoints
v0.2.3 - 2026-04-16
Section titled “v0.2.3 - 2026-04-16”- Todo app example with RBAC + resource ownership based on AuthZEN Interop scenario
- ABAC example with clearance levels, department matching, and context-based approval
- X-Request-ID echo on well-known metadata endpoint (Section 10.1.3)
- Tests for well-known X-Request-ID echo and empty
supported_capabilitiesomission
- Empty
supported_capabilitiesnow omitted from well-known response per Section 9.2.2 MUST - Removed unnecessary explicit initialization of
SupportedCapabilitiesfield
Dependencies
Section titled “Dependencies”- Bump
github.com/open-policy-agent/opafrom 1.15.1 to 1.15.2 - Bump
actions/checkoutfrom 4 to 6 - Bump
actions/github-scriptfrom 8 to 9 - Bump
docker/setup-buildx-actionfrom 3 to 4 - Bump
golangci/golangci-lint-actionfrom 7 to 9
v0.2.2 - 2026-04-11
Section titled “v0.2.2 - 2026-04-11”supported_capabilitiesfield in well-known metadata response (Section 9, 12.3)- AuthZEN interop E2E test suite integration
Changed
Section titled “Changed”- Well-known metadata response uses typed struct instead of untyped map
- Explicit JSON
nullin batch evaluation fields now correctly falls back to top-level defaults (Section 7.1.1)
v0.2.1 - 2026-04-11
Section titled “v0.2.1 - 2026-04-11”- Request payload size limit (1 MB) and batch size limit (100 evaluations) (Section 11.7)
- Race detector and golangci-lint in CI
Changed
Section titled “Changed”- Batch size limit exceeded now returns 413 Request Entity Too Large
- Improved error handling with HTTP status codes in per-evaluation error responses
- golangci-lint v2 migration with updated configuration
- errcheck lint errors in test code
v0.2.0 - 2026-04-07
Section titled “v0.2.0 - 2026-04-07”- Batch evaluations endpoint (
POST /access/v1/evaluations) with support for:- Default subject, action, resource, context fields (Section 7.1.1)
- AuthZEN semantic options:
execute_all,deny_on_first_deny,permit_on_first_permit(Section 7.1.2.1) - Per-evaluation error responses (Section 7.2.1)
- Backward compatibility when
evaluationsarray is absent or empty (Section 7.1)
- Well-known configuration endpoint (
GET /.well-known/authzen-configuration) - X-Request-ID request/response header support (Section 10.1.3)
- Content-Type validation for API requests (Section 10.1)
- Project governance documentation (CONTRIBUTING.md, SECURITY.md, MAINTAINERS.md, CODE_OF_CONDUCT.md)
- RELEASE.md with versioning scheme and release checklist
- Go version specification (.go-version)
- Dependabot configuration for automated dependency updates
- tools.go for golangci-lint and go-licenses
Changed
Section titled “Changed”- Simplified go.mod with OPA as an explicit direct dependency
- Release script auto-generates release notes
v0.1.0 - 2026-04-05
Section titled “v0.1.0 - 2026-04-05”- Single evaluation endpoint (
POST /access/v1/evaluation) per AuthZEN Section 6 - Required field validation for subject, action, resource
- Content-Type validation
- Release workflow and CODEOWNERS
- Rego policy evaluation with configurable package path and decision rule
- Plugin architecture following opa-envoy-plugin standards
- Docker support with example policy
v0.0.1 - 2026-04-02
Section titled “v0.0.1 - 2026-04-02”- Initial release
- AuthZEN authorization plugin for OPA
- Main entry point for OPA authzen plugin
© 2026 The opa-authzen-plugin Authors. Licensed under Apache-2.0. Part of dyokto.