Repository navigation
Fix Heartbeat user lookup error values and Zoom field text - #53901
Closed
Anshuman-Prakash wants to merge 1 commit into
Closed
Anshuman-Prakash wants to merge 1 commit into
Anshuman-Prakash wants to merge 1 commit into
Conversation
heartbeat/security: when user.Lookup fails, the error formatted the nil *user.User instead of the requested name, and the GID parse error printed the UID. Report localUserName and localUser.Gid instead. Zoom webhook fields: "The file source that was share" -> "shared", and "a object" -> "an object" (source fields.yml, exported docs and the generated module fields.go asset). Fixes elastic#53567 Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
|
This pull request doesn't have a |
Contributor
🤖 GitHub commentsJust comment with:
|
Contributor
|
This pull request does not have a backport label.
To fixup this pull request, you need to add the backport labels for the needed
|
This was referenced Oct 27, 2026
Member
|
Please add these changes to #53898 instead. |
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.
Summary
heartbeat/security/security.go,setNodeProcAttr):user.Lookupfails,localUseris nil, so the error readcould not lookup '%!s(*user.User=<nil>)'. It now reports the requestedlocalUserName.localUser.Uid; it now printslocalUser.Gid.The file source that was share→shared, andupdating a object/related to a object→an object. The fix is applied in_meta/fields.yml, the exported field docs and the generatedx-pack/filebeat/module/zoom/fields.goasset.The issue's Jolokia
autodecteditem is already covered by #53898, so it isn't repeated here.Fixes #53567
Test plan
fmt.Errorfcalls changed, and both are still strings, so the format verbs still matchgit grepfinds none of the flagged Zoom text in the repositoryfields.goasset with Go'scompress/zlib+ base64 (aslibbeat/asset.EncodeDatadoes)bug-fixchangelog fragment for Heartbeat🤖 Generated with Claude Code