feat(spring): [Data Collection 6] Apply incoming request body policy#5802
Draft
adinauer wants to merge 2 commits into
Draft
feat(spring): [Data Collection 6] Apply incoming request body policy#5802adinauer wants to merge 2 commits into
adinauer wants to merge 2 commits into
Conversation
Use the Data Collection incoming request body decision for servlet request caching and event body extraction across all Spring variants. Keep existing body size, content length, and MIME type limits while preserving sendDefaultPii behavior when Data Collection is absent. Co-Authored-By: Claude <noreply@anthropic.com>
Contributor
|
📲 Install BuildsAndroid
|
This was referenced Jul 21, 2026
Contributor
Performance metrics 🚀
|
Bring the queue option removal and preceding stack updates into this layer.
This was referenced Jul 22, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
PR Stack (Data Collection)
📜 Description
Apply the incoming request body policy to Spring MVC request caching and extraction in the Spring, Spring Jakarta, and Spring 7 integrations.
The policy controls body content only. Existing MIME type, length, and
maxRequestBodySizechecks remain additive, and legacysendDefaultPiibehavior is preserved when Data Collection is absent.💡 Motivation and Context
Incoming server request bodies can contain customer data and need a direction-specific collection decision without changing technical request metadata.
Refs #5666
💚 How did you test it?
./gradlew spotlessApply apiDump📝 Checklist
sendDefaultPIIis enabled.🔮 Next steps
Apply the remaining client and server HTTP body directions.
#skip-changelog