Skip to content
elixir-cloud-aaiPublic

About

AuthZEN decision service and conformance harness for GA4GH TES authorization

Topics

Resources

Code of conduct

Contributing

Security policy

Stars

0 stars

Watchers

0 watching

Forks

Latest commit

 

History

74 Commits

Folders and files

ELIXIR On-Cloud

TES AuthZ

License Build_status Docs Coverage GitHub_tag Docker_image DOI

tes-authzen/1 is a specification for authorizing requests to GA4GH Task Execution Service (TES) implementations, brought to you by ELIXIR On-Cloud: a TES asks an external decision service, over AuthZEN 1.0, whether a caller may create, read, list or cancel tasks, so that access policy lives in one place instead of in every TES. The TES keeps authentication, an owner stamped on every task and a thin hook; by default it asks the decision service only on create and serves only the caller's own tasks, and operators can hand further operations to the decision service. The specification is a draft (draft 3, accepted for implementation on 2026-11-16; source), with the extensions tes-authzen/2 and /3. Around it, this repository holds reference tooling: an OPA decision service with the reference policy, shipped as a container image with a Kubernetes manifest, an OpenFGA decision service, and a conformance harness that TES implementations plug into (mock OIDC issuer, recording stub, golden requests). The tooling shows that the specification works with real engines and TES implementations; read the specification first.

Read the documentation for the specification, the reference policy and its configuration, the container image, the deployment with the manifest in deployment/, adding a TES or an engine, testing, the findings and the release notes.

Between releases, each push to dev that passes CI publishes a signed development image (dev, sha-<commit>), for testing only.

Quick start

With Git, Docker with the Compose plugin (version 2), uv, Python 3, make, curl and jq installed, clone the repository and start the decision services, the stub and the mock OIDC issuer:

git clone https://github.com/elixir-cloud-aai/tes-authz.git
cd tes-authz
make up

The OPA decision service then answers AuthZEN evaluations at http://localhost:18190/access/v1/evaluation (the OpenFGA one at port 18191); try it with one of the golden requests:

curl -s localhost:18190/access/v1/evaluation -d @<(jq .request harness/golden/requests/create-member-subgroup.json)

make test runs all checks and test suites against the services, and make down stops and removes them. The services are a local test setup: the engines' own APIs are published unauthenticated.

Citation

If you use TES AuthZ, please cite it with its DOI 10.5281/zenodo.24725457, which always resolves to the latest version on Zenodo; the Zenodo record lists the DOI of each version, too. The citation metadata is in CITATION.cff: on GitHub, "Cite this repository" in the sidebar of the repository formats it as APA or BibTeX.

Contributing

Contributions are welcome! See Contributing in the documentation and the organisation's contributing guide, and mind our code of conduct.

About

AuthZEN decision service and conformance harness for GA4GH TES authorization

Topics

Resources

Code of conduct

Contributing

Security policy

Stars

0 stars

Watchers

0 watching

Forks

Releases

Used by

Contributors

Languages