Skip to content

Changelog

Markdown · llms.txt

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.

  • 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 list obligations in context.supported_mandatory_extensions to receive obligations. Without it, the obligations member is removed from the Decision context, and a decision that required obligations becomes a deny. An adopting PEP only receives obligations whose type it listed in context.supported_obligations; if the policy required another type, the decision becomes a deny. An adopting PEP that sends no supported_obligations is treated as having sent an empty array. In a batch, a result that ends the batch keeps its obligations next to the short-circuit reason. In Search, the rule runs per result: a result entity whose own context.obligations the PEP may not receive is left out of the results. An empty obligations array is removed from the response.
  • With supported_obligations set, urn:openid:authzen:capability:obligations is added to the advertised capabilities. A signed_metadata JWT's capabilities claim must include it.

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.

  • The repository moved from github.com/kanywst/opa-authzen-plugin to github.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 and go.mod requirements when upgrading. v0.12.1 and earlier stay available under github.com/kanywst/opa-authzen-plugin in the Go module proxy.
  • Images are published as ghcr.io/dyokto/opa-authzen-plugin. The existing ghcr.io/kanywst/opa-authzen-plugin tags (up to 0.12.1, 0.12 and latest) stay available but receive no new pushes.
  • Release binaries and images are signed by the workflows in dyokto/opa-authzen-plugin, so cosign verification of new releases uses the identity regexp ^https://github\.com/dyokto/opa-authzen-plugin/.... Releases up to v0.12.1 keep the kanywst identity; RELEASE.md shows both.
  • The interop/todo suite and the Kubernetes example pull ghcr.io/dyokto/opa-authzen-plugin, pinned to 0.13.
  • Every GitHub Action in the workflows is pinned to a full commit SHA.
  • When decision_context is 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 as http.send, were evaluated twice per decision, potentially resulting in inconsistencies between the decision and its returned context.
  • Built against OPA v1.23.0, up from v1.22.4 in v0.12.1. OPA v1.23.0 roots a bundle at its .manifest file: a bundle tarball loaded from disk with -b must have .manifest at the root of the archive, and bundles signed with opa sign or opa build -b by 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.

A security rebuild of the binaries and the image, on OPA v1.22.4. No configuration change is needed to upgrade.

  • 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.24 tag 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/compress v1.20.0 → v1.20.3, fixing GO-2026-6865 (a panic on two-block frames), which is reachable from the plugin.
  • 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.

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_logs is configured, as Data API decisions are. Each evaluation is one event with path <path>/<decision>, the evaluated input and the returned Decision as result; each evaluated item of a batch is its own event, and the items of one request share a batch_decision_id. Searches are logged with path <path>/<search rule> and the returned page. Events carry metrics and, with nd_builtin_cache enabled, nd_builtin_cache, and the span gets opa.decision_id. The system.log mask and drop policies apply. Without decision_logs nothing changes, and responses are unchanged either way. See Decision logs.
  • example/kubernetes/: a Deployment and Service for the published image, applied with kubectl apply -k, with the plugin config and policy in a generated ConfigMap. example/kubernetes/test.sh runs it on a kind cluster against an image built from the checkout.
  • Built against OPA v1.22.0, unchanged from v0.11.0.

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.

  • The interop Todo PDP (policy, data, config and e2e suite) now lives in interop/todo/ instead of the separate kanywst/opa-authzen-interop repository. make test-interop runs it against the locally built image without cloning anything, make test-harness serves its policy from the working tree instead of a pinned commit, and the new make test-interop-rego checks, formats and unit-tests the policy with the OPA the plugin links. The suite comes over already tracking v0.10.0, including an assertion on signed_metadata.
  • 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.json and signs every other file ending in signatures.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.

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_metadata config option: publishes a JWT as signed_metadata in 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 an iss claim, or if its capabilities, supported_obligations, access_request_endpoint, jwks_uri or search_*_endpoint claims disagree with the config. Unset by default, which leaves the metadata unchanged.
  • 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 signing is configured without a keyid, or by an unsigned delta bundle (GHSA-g2pf-6v5v-qcc8).
  • Built against OPA v1.21.3, up from v1.21.2 in v0.9.3.

Moves to OPA v1.21.2. No plugin code changes, and no configuration change is needed to upgrade.

  • OPA v1.21.1 → v1.21.2, which fixes the basic authorizer and the Data API resolving %2F in a path to different documents (open-policy-agent/opa#9323).
  • Built against OPA v1.21.2, up from v1.21.1 in v0.9.2. Release binaries stay on Go 1.26.9.

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.

  • 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/net v0.58.0 → v0.60.0, fixing GO-2026-6617, GO-2026-6612, GO-2026-6611, GO-2026-6610 and GO-2026-6603.
  • 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.1 was built on Go 1.26.8 by its golang:1.26-alpine builder and links x/net v0.58.0. The 0.9.2 image is built on Go 1.26.9.

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.

  • Release binaries are built with Go 1.26.8. go.mod had no toolchain line, so the release workflow installed the go directive's 1.26.1 verbatim, and the v0.9.0 binaries carry 28 Go standard library vulnerabilities that govulncheck -mode=binary can 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.mod now pins toolchain go1.26.8; the go 1.26.1 minimum for building from source is unchanged. The container image was not affected: its golang:1.26-alpine builder already resolved to 1.26.8.
  • golang.org/x/crypto v0.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 govulncheck on the same Go the release is built with.
  • The draft GitHub Release that a tag push opens now carries the finished body: the release date, that version's CHANGELOG section, and the cosign commands that verify its assets and image tag. build/release-notes.sh writes it from CHANGELOG.md and 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.Z previews it, and the workflow fails if the version has no ## [vX.Y.Z] - YYYY-MM-DD section.
  • make test-harness now 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 in build/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 with name the 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.
  • 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.0 was already built on Go 1.26.8 and is not affected by the standard library findings above; the x/crypto bump applies to it too.

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.

  • 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 now rego_type_errors, so a policy that compiled under v0.8.0 can fail to load. Use count(x) == 0 to test for emptiness. The bundled examples under example/ are unaffected; one test policy in this repository used some 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, on and off are now strings rather than booleans everywhere OPA reads YAML, which includes the config file that carries plugins.authzen, --data files, bundles, and yaml.unmarshal. true and false are unaffected. If a config or data file relied on yes/no/on/off meaning a boolean, write true/false instead.
  • make test-contract checks evaluation requests and responses against the JSON Schemas published under api/schemas/ in openid/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 JSON null member treated as absent) listed by name.
  • make test-harness runs the AuthZEN working group's interop Todo harness against the plugin. CI runs both targets on every pull request and every push to main. It fails when the harness reports a missing case or the port is already taken, rather than passing vacuously.
  • 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/v6 is a new direct requirement in go.mod, used only by the contract tests. It is not linked into the binary.
  • Reviewed against openid/authzen commit b304f68 (2026-10-01). Since 6ed00ba, 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_endpoint as an https:// URI, the urn:openid:authzen:capability:access-request capability, and jwks_uri for a PDP that issues or verifies signed values — read the same, so access_request_endpoint and jwks_uri need no change. The companions all describe the Access Request Service, which the plugin does not host.

Settles the response shape of a batch request that carries no batch, and makes Content-Type matching follow RFC 9110.

  • The Content-Type check 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-8 and application/json ; charset=utf-8 all name application/json and were previously rejected with HTTP 400. application/json and application/json; charset=utf-8 were 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.
  • Breaking: POST /access/v1/evaluations now answers in the singular Access Evaluation shape ({"decision": ...}) when the request carries no evaluations array 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-level decision key on the evaluations array being present. The empty-array case was additionally a violation of certification c-3-3-1, which requires the response evaluations array 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 from decision_context now rides on the singular response's context member.

    Upgrade hazard: a PEP that reaches a permit by iterating the response evaluations array 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-level decision instead. Every other parsing pattern we could construct — indexing evaluations[0], guarding on the array's length, optional chaining — fails closed. If you post to /access/v1/evaluations without an evaluations array, check your PEP before upgrading.

  • 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/authzen commit 6ed00ba (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 under api/schemas/ did change, in both cases by dropping constraints that contradicted the API text — additionalProperties: false is gone from the request schema, and the response context is 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 evaluations response 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_id is now scoped to deployments where the Access Request Service shares or is delegated the PDP's state, and a binding_token is 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 the binding_token outside the plugin and publish its key at jwks_uri. The README and the example config now also call both opt-in profiles by their upstream titles, which are Draft 1 — the 1_0 in their URLs is the document name, not a released version.

Reaches into a second AuthZEN profile, and moves the release pipeline onto GoReleaser.

  • New access_request_endpoint and jwks_uri config 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 be https:// 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 of access_request_endpoint is 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, and binding_token signing 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 existing decision_context rule, and the profile's capability URN through capabilities.
  • Releases are now cut by GoReleaser (.goreleaser.yaml) instead of a Makefile loop plus build/github-release.sh. The published asset names are unchanged — bare opa_authzen_<os>_<arch> binaries, one module-wide opa_authzen_sbom.spdx.json, checksums.txt and its Sigstore bundle — so existing download URLs keep working. make release now runs the same pipeline locally in snapshot mode, which the previous arrangement could not do at all. Container image publishing is unchanged.
  • 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.

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 a checksums.txt signed into a Sigstore bundle (checksums.txt.sigstore.json), whose signature transitively covers every asset it lists. RELEASE.md documents the verification commands, with the signer identity pinned to this repository's tag workflows.
  • make docker-run published port 8181 to a listener that only accepted connections from inside the container, so every request from the host was refused. OPA has bound localhost by 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 image CMD is unchanged, so host-network and sidecar deployments keep OPA's conservative default.
  • Runtime base image moved from alpine:3.21 to alpine:3.24. 3.21 reaches end of support in November 2026 and stops receiving security patches then.
  • Bump github.com/open-policy-agent/opa from 1.17.0 to 1.20.0.
  • Built against OPA v1.20.0, up from v1.17.0 in v0.6.0. No configuration or policy change is required to upgrade.

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_obligations config option: opts the PDP into the AuthZEN Obligations Profile 1.0. The configured Obligation Types are advertised as the supported_obligations member of the PDP metadata document (profile section "Discovery: PDP Metadata Extension"), and the PEP-declared context.supported_obligations array 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 existing decision_context rule.
  • 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.

Packaging only. Plugin behavior is identical to v0.5.0 — internal/ has no non-comment changes since that release.

  • Removed tools.go. It pinned github.com/golangci/golangci-lint v1.64.8 in the main require block of go.mod while doing nothing useful: go-licenses was never added to go.mod, and golangci-lint/cmd/golangci-lint is package main and therefore not importable, so building with the tools tag 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.mod drops from 261 to 107 lines and go.sum from 727 to 275, leaving OPA as the sole direct dependency.
  • Lint and license tool versions are now pinned in the Makefile and run via make lint and make 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.sh read the OPA version from a fixed field position, which broke once OPA became the only direct dependency and go mod tidy collapsed 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 passes VERSION explicitly.
  • Built against OPA v1.17.0.

  • New decision_context config option: names a Rego rule whose object value is returned as the Decision's optional context member (spec Section 5.5.1), letting a policy convey reasons, obligations, or other metadata alongside the boolean decision. Applies to both POST /access/v1/evaluation and the per-evaluation results of POST /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 omits context, and a non-object result fails the request. Unset by default, preserving prior behavior.
  • Built against OPA v1.17.0.

  • New capabilities config block: a list of PDP capability URNs advertised in the capabilities field 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 with urn:) and the field is omitted from the metadata when unset.
  • Bump github.com/open-policy-agent/opa from 1.16.1 to 1.17.0

  • 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, and total fields; mid-pagination tampering returns 400
  • New search config block (subject, resource, action, max_limit) selecting Rego rules per endpoint
  • PDP metadata now advertises search_subject_endpoint, search_resource_endpoint, and search_action_endpoint when 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=3600 and Vary: X-Forwarded-Proto, X-Forwarded-Host on 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, or action.properties is 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 results to contain only entities of the searched-for type, and Section 5 makes type+id REQUIRED on Subjects/Resources and name REQUIRED on Actions; the plugin verifies each returned entity carries the appropriate strings and returns 500 on a mismatched policy result.

  • input field included in evaluation Debug log for easier troubleshooting
  • Increased usage of structured logging (logger.WithFields) in evaluation, batch evaluation, and reconfigure paths
  • Test helpers accept testing.TB so they can be shared between tests and benchmarks
  • mergeField uses the isJSONNull helper instead of raw string comparison for null checks

  • 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.type is required and must be a string")
  • Regression tests for malformed requests (23 cases covering type mismatches, null, arrays)
  • Tests for JSON null context treated as absent (single and batch endpoints)
  • Renamed supported_capabilities to capabilities in PDP metadata (aligns with Editor's Draft / IANA registry)
  • Version scheme documentation updated to reflect current semver usage
  • JSON null context no longer rejected as invalid (context is OPTIONAL per Section 6)
  • Required field null handling consistent between single and batch endpoints

  • 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_capabilities omission
  • Empty supported_capabilities now omitted from well-known response per Section 9.2.2 MUST
  • Removed unnecessary explicit initialization of SupportedCapabilities field
  • Bump github.com/open-policy-agent/opa from 1.15.1 to 1.15.2
  • Bump actions/checkout from 4 to 6
  • Bump actions/github-script from 8 to 9
  • Bump docker/setup-buildx-action from 3 to 4
  • Bump golangci/golangci-lint-action from 7 to 9

  • supported_capabilities field in well-known metadata response (Section 9, 12.3)
  • AuthZEN interop E2E test suite integration
  • Well-known metadata response uses typed struct instead of untyped map
  • Explicit JSON null in batch evaluation fields now correctly falls back to top-level defaults (Section 7.1.1)

  • Request payload size limit (1 MB) and batch size limit (100 evaluations) (Section 11.7)
  • Race detector and golangci-lint in CI
  • 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

  • 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 evaluations array 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
  • Simplified go.mod with OPA as an explicit direct dependency
  • Release script auto-generates release notes

  • 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

  • Initial release
  • AuthZEN authorization plugin for OPA
  • Main entry point for OPA authzen plugin