Document that securing exposed function endpoints is the application's responsibility
維護者通常 1 天內回覆
評估
- 難度
- 3/5
- 預估耗時
- 半天
- 新手友好度
- 66/100
- Issue 類型
- 文件
- 描述清晰度
- 描述清楚
- 活躍度
- 活躍
- 技術堆疊
- java
研究方向
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.
由索引模型根據 Issue 內容生成。
描述
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.
- 主要語言
- Java
- 星號
- 1.1k
- 分支
- 658
- 平均合併
- 4 小時 54 分鐘
- 30 天內合併 PR
- 10
環境準備
- 沒有 Dockerfile 或 Docker Compose 檔案
- 沒有 Pull Request 範本
- 閱讀貢獻指南
從這裡開始
- 先讀完整個 Issue,再讀專案的貢獻指南。
- 在 Issue 下留言說明你要接手 —— 這能避免兩個人做同樣的事。
- Fork 儲存庫,在一個分支上完成修改。
- 送出 Pull Request,並在描述裡引用這個 Issue 編號。
spring-cloud/spring-cloud-function 的其他 Issue
-
5.0.x backport bug
難度 1/5 1 小時以內 新手友好度 68/100
spring-cloud/spring-cloud-function#1569 ·
維護者通常 1 天內回覆
-
難度 3/5 1-2 天 新手友好度 55/100
spring-cloud/spring-cloud-function#1538 · 2 則留言 ·
維護者通常 1 天內回覆
-
bug
難度 4/5 3-5 天 新手友好度 22/100
spring-cloud/spring-cloud-function#1560 · 1 則留言 ·
維護者通常 1 天內回覆
查看 spring-cloud/spring-cloud-function 的全部 Issue
相似的 Issue
-
enhancement infra
難度 2/5 1-3 小時 新手友好度 67/100
維護者通常 1 天內回覆
-
Move the spring-cloud-commons version and BOM import from the bus parent to the stream parent可能已有人在做 @olegz 今天認領。 未關閉task
難度 2/5 1-3 小時 新手友好度 74/100
spring-cloud/spring-cloud-stream#3355 ·
維護者通常 1 天內回覆
-
NoSuchMethodError in the circuit breaker since 3.103.0 when resilience4j 2.x is on the classpath未關閉
難度 2/5 1-3 小時 新手友好度 76/100
oracle/oci-java-sdk#803 ·
-
area:cpan-port area:performance bug
難度 2/5 1-3 小時 新手友好度 72/100
fglock/PerlOnJava#2230 ·
維護者通常 1 天內回覆
-
難度 2/5 1-3 小時 新手友好度 76/100