Skip to content

feat: hide TES backends in the service info #396

Closed

Description

@uniqueg

Problem

GET /service-info needs no token and lists every TES instance (identifier, URL, source, group, labels), including those at internal URLs. The only opt-out, service_info.runtime_fields: null, also hides gateway, which clients need to find out what they may choose per task. Point 2 of #366.

Proposal

A setting read by service_info_fields() that leaves out backends and keeps gateway. No FOCA change is needed, as proTES owns service_info_fields().

The default keeps today's behaviour (backends are listed): clients that choose backends with gateway.backends need their identifiers, and registries publish verified backends anyway. Hiding them is documented as an opt-out.

Acceptance criteria

  • With the setting off, the service info has no backends but still has gateway; with the default, nothing changes.
  • With the setting off, serving the service info doesn't read registries.
  • docs/configuration.md and the upgrade notes for 0.5.0 describe the setting and what it doesn't hide.

Activity

  1. added this to the v0.5.0 milestone on Nov 3, 2026
  2. added
    priority: medium
    status: in progress
    type: security
    workload: hours
    on Nov 3, 2026
  3. removed
    status: in progress
    on Nov 3, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    priority: mediumtype: securityworkload: hours

    Type

    No type

    Projects

    No projects

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions