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

オープン
#1,559 コメント 0 件 リアクション 0 件 担当者 0 名 GitHub で見る

メンテナーはふだん 1 日以内に返信

@ruthst00 がすでに取り組んでいます。

2026年11月28日 から。

  • #1562 @ruthst00 による — オープン

評価

難易度
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 の本文から書いたものです。

説明

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.

主要言語
Java
スター
1.1k
フォーク
658
平均マージ
4時間 54分
マージ済み PR(30日)
10

環境構築

はじめの一歩

  1. issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
  2. 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
  3. リポジトリをフォークし、ブランチを切って変更します。
  4. issue 番号を参照したプルリクエストを送ります。

spring-cloud/spring-cloud-function のほかの issue

spring-cloud/spring-cloud-function の issue をすべて見る

似ている issue

Java の issue をもっと見る

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。