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