Skip to content

Releases

v0.1.0

v0.1.0 Pre-release
Pre-release

Choose a tag to compare

@github-actions github-actions released this 01 Dec 17:04
Immutable release. Only release title and notes can be modified.
v0.1.0
e061ce0

The first release of TES AuthZ: the tes-authzen specification for authorizing requests to GA4GH TES implementations over AuthZEN 1.0 (draft 3, with the profiles tes-authzen/1 to /3), and its reference tooling: decision services for OPA and OpenFGA, the shims they need, and a conformance harness that Poiesis, TESK, Funnel and TESP plug into. For the first time, the OPA reference decision service is published as an image, docker.io/elixircloud/tes-authz:0.1.0: OPA, the AuthZEN front and the reference policy of this release in one container, scanned, signed and attested, to run next to a TES, e.g. as a sidecar of the TESK API. Until now, deployments ran the Kubernetes manifest pinned to a commit; the breaking changes below are relative to those commits: read the upgrade notes before moving such a deployment to this release.

Breaking changes

  • Ask the decision service only on CreateTask by default, with the other operations owner only unless an operator hands them to it, in the new profile tes-authzen/3, which sends the owner on create and a list scope; the reference policy needs the entitlement only to create tasks and has no admins any more, so policy data that still has admins makes OPA deny every request and the OpenFGA setup job refuse to start (#1, #2, #23, #24)
  • Move the decision service, its policy and the reference policy data to service/, the harness (OpenFGA model, setup job and shim, golden cases, mock OIDC issuer, stub and TES adapters) to harness/ and the Kubernetes manifest to deployment/tes-authz.yaml: deployments and scripts that use the old paths (shims/, engines/, config/reference-policy.json, golden/, oidc/, stub/, tes/, deploy/kubernetes/tes-authz.yaml) take the new ones (#51, #61)

Features

  • Accept the profile tes-authzen/2, which Poiesis sends, with no admin powers for delegated tokens (#19, #20)
  • Deploy the OPA decision service on Kubernetes from a commit, with OPA's API on the pod's loopback only and a NetworkPolicy that admits only labelled clients (#15, #16)
  • Publish the OPA decision service as a container image, scanned, signed and attested, with OPA's API limited to the decision query and the health check, and with the Debian updates available when it is built (#25, #27, #37, #48)
  • Let service clients listed in the policy data create tasks with a client-credentials token, without the entitlement, in OPA and OpenFGA (#35, #36)
  • Publish a development image of each push to dev, scanned, signed and attested, tagged sha-<commit> and dev (#58, #66)

Security

  • Refuse empty and non-string prefixes in the policy data, which matched every entitlement or image in OPA: OPA denies every request for such data, and the image and the OpenFGA setup job refuse to start (#28, #47)
  • Echo a client's X-Request-ID only if it is a short token (1 to 128 characters of A-Z, a-z, 0-9, ., _ and -), so that a folded or line-broken value can't split the shims' response headers; other values and a missing header get a fresh ID (#67, #68)
  • Update OPA to 1.23.0 in the image, the Kubernetes manifest and the Compose file, which fixes CVE-2026-97045 and CVE-2026-78661 in its golang.org/x/net (#62)

Documentation

  • Publish the documentation as an MkDocs site on Read the Docs, with the specification in the repository (#6, #7, #9, #11, #13, #14)
  • Align the specification with the rule that delegated tokens get no admin powers, under every profile (#21, #22)
  • Align the README with the organisation's layout (#60, #64)

Maintenance

  • Align the repository with the organisation's practices: CI with one required gate, pre-commit hooks, Dependabot, a license and secret-free Docker build contexts (#3, #4)
  • Add semgrep and ast-grep project rules (#8, #12)
  • Add citation metadata and the release notes of the first release (#40, #41)
  • Group the tests by level (unit, integration, end to end) and rename the Compose file to docker-compose.yaml (#52, #53, #61)
  • Release from main, which a maintainer fast-forwards to the released commit of dev, and let GitHub link the organisation's contributing guide, with the developer page moved to docs/contributing/index.md (#55, #56, #65)
  • Check release readiness in CI before a version is tagged (#57, #66)
  • Report test coverage to Codecov (#59, #70)
  • Update the development, documentation and CI dependencies (#29, #31, #42, #43)

Commits

  • chore: align the repository with org practices by @uniqueg in #4
  • chore(deps): Bump python from 3.10.16-slim to 3.10.22-slim in /tes/tesp/pulsar in the docker group by @dependabot[bot] in #5
  • feat: require membership for owner access by @uniqueg in #2
  • docs: publish the docs as an MkDocs site by @uniqueg in #9
  • chore(deps-dev): Bump pymdown-extensions from 12.3 to 13.1 in the docs-dependencies group by @dependabot[bot] in #10
  • docs: move the tes-authzen/1 spec into the repo by @uniqueg in #11
  • build: add semgrep and ast-grep project rules by @uniqueg in #12
  • fix(docs): run uv as a module on Read the Docs by @uniqueg in #14
  • feat: deploy the OPA service on Kubernetes by @uniqueg in #16
  • chore(deps): Bump https://github.com/semgrep/pre-commit from v1.184.0 to 1.185.0 in the pre-commit group by @dependabot[bot] in #17
  • feat: accept the tes-authzen/2 profile by @uniqueg in #20
  • docs: align spec with the delegated admin rule by @uniqueg in #22
  • chore(deps-dev): Bump uv from 0.13.8 to 0.13.9 in the python-dependencies group across 1 directory by @dependabot[bot] in #18
  • fix!: owner-default contract with list scope by @uniqueg in #24
  • build: publish a decision service image by @uniqueg in #25
  • feat: service clients in the reference policy by @uniqueg in #35
  • build: prepare the 0.1.0 release by @uniqueg in #41
  • fix: reject empty prefixes in the policy data by @uniqueg in #47
  • build: upgrade OS packages of the image for good by @uniqueg in #48
  • ci: pin shared actions to .github v1.3.0 by @uniqueg in #49
  • refactor: group service, harness and deployment by @uniqueg in #61
  • docs: align the README with the org layout by @uniqueg in #64
  • ci: release from main, not dev by @uniqueg in #65
  • fix: validate X-Request-ID before echoing it by @uniqueg in #68
  • ci: check readiness and publish dev images by @uniqueg in #66
  • test: report coverage to Codecov by @uniqueg in #70
  • chore(deps): Bump the docker-compose group across 1 directory with 2 updates by @dependabot[bot] in #62
  • chore(deps-dev): Bump the python-dependencies group across 1 directory with 3 updates by @dependabot[bot] in #43
  • chore(deps-dev): Bump the docs-dependencies group across 1 directory with 2 updates by @dependabot[bot] in #31
  • chore(deps): Bump the github-actions group across 1 directory with 2 updates by @dependabot[bot] in #42
  • chore(deps): Bump https://github.com/semgrep/pre-commit from v1.185.0 to 1.187.0 in the pre-commit group across 1 directory by @dependabot[bot] in #29
  • build: prepare the 0.1.0 release by @uniqueg in #75
  • build: release 0.1.0 on 1 Dec by @uniqueg in #77

New Contributors

Full Changelog: https://github.com/elixir-cloud-aai/tes-authz/commits/v0.1.0