Document that securing exposed function endpoints is the application's responsibility
Les mainteneurs répondent en général sous 1 jour
É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
- Domaine
- documentation, security
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
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 asFunction,SupplierorConsumerbut are discovered as POJO functions. spring.cloud.function.definitionlimits what the application intends to expose, andspring.cloud.function.ineligible-definitionsremoves 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
- Aucun Dockerfile ni fichier Docker Compose
- Aucun modèle de pull request
- Lire le guide de contribution
Par où commencer
- Lisez l'issue en entier, puis le guide de contribution du projet.
- Signalez en commentaire que vous la prenez — cela évite que deux personnes fassent le même travail.
- Forkez le dépôt et travaillez sur une branche.
- Ouvrez une pull request qui référence le numéro de l'issue.
Autres issues de spring-cloud/spring-cloud-function
-
5.0.x backport bug
Difficulté 1/5 Moins d'une heure Accessibilité débutants 68/100
spring-cloud/spring-cloud-function#1569 ·
Les mainteneurs répondent en général sous 1 jour
-
Difficulté 3/5 1-2 jours Accessibilité débutants 55/100
spring-cloud/spring-cloud-function#1538 · 2 commentaires ·
Les mainteneurs répondent en général sous 1 jour
-
bug
Difficulté 4/5 3-5 jours Accessibilité débutants 22/100
spring-cloud/spring-cloud-function#1560 · 1 commentaire ·
Les mainteneurs répondent en général sous 1 jour
Toutes les issues de spring-cloud/spring-cloud-function
Issues similaires
-
enhancement infra
Difficulté 2/5 1-3 heures Accessibilité débutants 67/100
Les mainteneurs répondent en général sous 1 jour
-
Move the spring-cloud-commons version and BOM import from the bus parent to the stream parentPeut-être pris @olegz l’a pris aujourd’hui. Ouvertetask
Difficulté 2/5 1-3 heures Accessibilité débutants 74/100
spring-cloud/spring-cloud-stream#3355 ·
Les mainteneurs répondent en général sous 1 jour
-
NoSuchMethodError in the circuit breaker since 3.103.0 when resilience4j 2.x is on the classpathOuverte
Difficulté 2/5 1-3 heures Accessibilité débutants 76/100
oracle/oci-java-sdk#803 ·
-
area:cpan-port area:performance bug
Difficulté 2/5 1-3 heures Accessibilité débutants 72/100
fglock/PerlOnJava#2230 ·
Les mainteneurs répondent en général sous 1 jour
-
Difficulté 2/5 1-3 heures Accessibilité débutants 76/100