Repository navigation
Closed
Labels
priority: mediumMedium prioritytype: docsImprovements or additions to documentationworkload: hoursLikely takes hours to resolve
Milestone
Description
Low findings of the pre-release review of 0.4.0 that concern the docs. Code findings: #364; design questions: #366; FOCA side: elixir-cloud-aai/foca#577; foca-plugins releases for FOCA 0.19: elixir-cloud-aai/foca-plugins#32; hashed image lock (deferred): #365.
- Plugin trust model overstated:
docs/plugins.mdanddocs/access-control.mdsay plugins never see the credentials of TES instances. Plugins are in-process code: they can readPROTES_CLIENT_ID/PROTES_CLIENT_SECRETand Basic credentials from the environment, the token provider and the database. Say that plugins are fully trusted code, that the API limits only guard against mistakes, and recommend reviewed, hash-pinned plugins. - One client-credentials token for all TES instances of a registry: entries default to
auth: client_credentials, and the token is cached per issuer, client and scope, without a per-instance audience, so every registry-verified TES instance gets a token it could replay at the others (also the operator's own). Document the exposure and that the registry's admins decide which services get it. - Provenance params and annotations:
docs/operations.mdsays records hold no tokens and no personal data. That holds only if plugins declare secrets asSecretStrand annotate no personal data. Qualify the sentence and document theSecretStrrequirement. - Public service info lists backend URLs: the unauthenticated
GET /service-infolists every TES instance (id, URL, source, group, labels). Document it prominently (the only opt-out,runtime_fields: null, also hidesgateway). GET /pluginslists plugins only for callers who may choose pipelines:docs/api.mdanddocs/plugins.mdsay it lists the default pipeline; withclient_pipelines.enabled: false(default) it lists none.- Loop detection condition:
docs/upgrading.mdsays loop detection always applies; it needsserver.public_urlorplugins.gateway_id. - Outdated FOCA versions:
$commentofdeployment/values.schema.json(FOCA 0.17) anddeployment/README.md(FOCA 0.18 or later). keep_group_subjectswarning on every startup: document indocs/access-control.mdthat it is harmless for proTES (FOCA side: separate FOCA issue).name_prefixmatches the submitted name:GET /tasks?name_prefix=filters on the task as submitted, not on the name after request plugins (which may rename tasks). Document it.
Not in scope here:
- CI pins pip 24.0 without a comment (
ci.yml): belongs to build: drop pip by adopting the FOCA image without it #336. - Release-prep artefacts (CITATION.cff, release notes, breaking-changes list) and the verification commands (M1): the release-prep PR.
Metadata
Metadata
Assignees
Labels
priority: mediumMedium prioritytype: docsImprovements or additions to documentationworkload: hoursLikely takes hours to resolve
Activity