Skip to content

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

Open
ruthst00 wants to merge 1 commit into
spring-cloud:5.0.xfrom
ruthst00:fix/1559-securing-exposed-function-endpoints
Open

ruthst00 wants to merge 1 commit into
spring-cloud:5.0.xfrom
ruthst00:fix/1559-securing-exposed-function-endpoints

Conversation

@ruthst00

Copy link
Copy Markdown

Fixes #1559

The Problem

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.

The Fix

Made the following updates to the web section of the reference docs:

  • Added Securing Function Endpoints, covering default HTTP reachability, POJO discovery, application-owned authentication/authorization, and untrusted-network guidance.
  • Added a configuration example and a cross-reference from the function-definition documentation.
  • Preserved the branch’s actual behavior: spring.cloud.function.definition selects a default; it is not an HTTP allowlist.

Validation

  • Maven documentation build with Antora.
  • Rendered security section, example, and cross-reference checks.
  • git diff --check.

@ruthst00
ruthst00 changed the base branch from main to 5.0.x November 28, 2026 08:55
…s responsibility:

- Added Securing Function Endpoints, covering default HTTP reachability, POJO discovery, application-owned authentication/authorization, and untrusted-network guidance.
- Added a configuration example and a cross-reference from the function-definition documentation.
- Preserved the branch’s actual behavior: `spring.cloud.function.definition` selects a default; it is **not an HTTP allowlist**.

Signed-off-by: ruthes00 <ruthes00@gmail.com>
@ruthst00
ruthst00 force-pushed the fix/1559-securing-exposed-function-endpoints branch from 6dd396b to c2379ee Compare November 28, 2026 08:57

This branch has not been deployed

No deployments
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

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

1 participant