Conversation
… input (#50097) x-pack/filebeat/input/azureblobstorage: Fix CSV decoder JSON escaping in azure-blob-storage input The azure-blob-storage input's decode path only matched the decoder.Decoder interface, calling Decode() which builds JSON via string concatenation without escaping field values. CSV values containing double quotes (e.g. RFC 2045 MIME type parameters) produce malformed JSON, causing downstream ingest pipeline failures. Added a decoder.ValueDecoder switch case ahead of decoder.Decoder, matching the pattern already used by the GCS input. ValueDecoder's DecodeValue() uses json.Marshal which handles escaping correctly. (cherry picked from commit 34634a3)
6 tasks
Contributor
🤖 GitHub commentsJust comment with:
|
Contributor
|
Pinging @elastic/security-service-integrations (Team:Security-Service Integrations) |
ShourieG
approved these changes
Apr 14, 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.
Type of change
Proposed commit message
NOTE
We changed an existing test case because after adding decodeValue it builds a map[string]any, then calls json.Marshal. Go's json.Marshal sorts map keys alphabetically so the expected test results needed to align accordingly.
Checklist
stresstest.shscript to run them under stress conditions and race detector to verify their stability../changelog/fragmentsusing the changelog tool.Disruptive User Impact
None
How to test this PR locally
Related issues
Use cases
Screenshots
Logs
This is an automatic backport of pull request #50097 done by [Mergify](https://mergify.com).