Document that securing exposed function endpoints is the application's responsibility

Ouverte
#1,559 0 commentaires 0 réactions 0 personnes assignées Voir sur GitHub

Les mainteneurs répondent en général sous 1 jour

@ruthst00 y travaille déjà.

Depuis le 28/11/2026.

  • #1562 par @ruthst00 — ouverte

Évaluation

Difficulté
3/5
Temps estimé
Une demi-journée
Accessibilité débutants
66/100
Type d'issue
Documentation
Clarté
Clairement spécifiée
Activité
Active
Stack technique
java

Piste de recherche

The change belongs in the web section of the Spring Cloud Function reference docs, with a short cross-reference from the function catalog and definition documentation. Before writing, confirm in the code how the first path segment is resolved against the catalog and how spring.cloud.function.definition and spring.cloud.function.ineligible-definitions filter it. Done when the section states the responsibility for security, what is reachable by default, and both properties with an example.

Rédigé par le modèle d'indexation à partir du texte de l'issue.

Description

5.0.x backport documentation

Spring Cloud Function is a framework for building applications, and the applications built on it are responsible for their own security. The reference documentation should say this explicitly in the web support section, together with what is reachable over HTTP by default.

Proposed content

  • With spring-cloud-function-web (MVC or WebFlux), the first path segment is used as a function name and looked up in the function catalog. Anything the catalog can resolve is invocable by that name, including beans that are not declared as Function, Supplier or Consumer but are discovered as POJO functions.
  • spring.cloud.function.definition limits what the application intends to expose, and spring.cloud.function.ineligible-definitions removes names from the catalog. Document both in this context and show an example.
  • The framework does not authenticate or authorize requests. Securing the exposed endpoints is the responsibility of the application, for example with Spring Security, or at a gateway or network layer.
  • Applications that put Spring Cloud Function web endpoints on an untrusted network should secure them and review the beans present in the application context.

Where

The web section of the reference docs, with a short cross-reference from the function catalog / definition documentation.

Langage dominant
Java
Étoiles
1.1k
Forks
658
Merge moyen
4 h 54 min
PR mergées (30 j)
10

Préparer son environnement

Par où commencer

  1. Lisez l'issue en entier, puis le guide de contribution du projet.
  2. Signalez en commentaire que vous la prenez — cela évite que deux personnes fassent le même travail.
  3. Forkez le dépôt et travaillez sur une branche.
  4. Ouvrez une pull request qui référence le numéro de l'issue.

Autres issues de spring-cloud/spring-cloud-function

Toutes les issues de spring-cloud/spring-cloud-function

Issues similaires

Plus d'issues Java

Recevez les nouvelles issues par e-mail

Un résumé court des issues GitHub adaptées aux débutants.