Skip to content

Fix Heartbeat user lookup error values and Zoom field text - #53901

Closed
Anshuman-Prakash wants to merge 1 commit into
elastic:mainfrom
Anshuman-Prakash:fix/text-auditor-53567
Closed

Anshuman-Prakash wants to merge 1 commit into
elastic:mainfrom
Anshuman-Prakash:fix/text-auditor-53567

Conversation

@Anshuman-Prakash

Copy link
Copy Markdown
Contributor

Summary

  • Heartbeat (heartbeat/security/security.go, setNodeProcAttr):
    • When user.Lookup fails, localUser is nil, so the error read could not lookup '%!s(*user.User=<nil>)'. It now reports the requested localUserName.
    • The GID parse error printed localUser.Uid; it now prints localUser.Gid.
  • Filebeat Zoom webhook fields: The file source that was share → shared, and updating a object / related to a object → an object. The fix is applied in _meta/fields.yml, the exported field docs and the generated x-pack/filebeat/module/zoom/fields.go asset.

The issue's Jolokia autodected item is already covered by #53898, so it isn't repeated here.

Fixes #53567

Test plan

  • Only the arguments to the two fmt.Errorf calls changed, and both are still strings, so the format verbs still match
  • git grep finds none of the flagged Zoom text in the repository
  • Re-encoded the Zoom fields.go asset with Go's compress/zlib + base64 (as libbeat/asset.EncodeData does)
  • Added a bug-fix changelog fragment for Heartbeat

🤖 Generated with Claude Code

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>
@Anshuman-Prakash
Anshuman-Prakash requested review from a team as code owners October 20, 2026 07:47
@botelastic botelastic Bot added the needs_team Indicates that the issue/PR needs a Team:* label label Oct 20, 2026
@botelastic

botelastic Bot commented Oct 20, 2026

Copy link
Copy Markdown

This pull request doesn't have a Team:<team> label.

@github-actions

Copy link
Copy Markdown
Contributor

🤖 GitHub comments

Just comment with:

  • run docs-build : Re-trigger the docs validation. (use unformatted text in the comment!)
  • /test : Run the Buildkite pipeline.

@mergify

mergify Bot commented Oct 20, 2026

Copy link
Copy Markdown
Contributor

This pull request does not have a backport label.
If this is a bug or security fix, could you label this PR @Anshuman-Prakash? 🙏.
For such, you'll need to label your PR with:

  • The upcoming major version of the Elastic Stack
  • The upcoming minor version of the Elastic Stack (if you're not pushing a breaking change)

To fixup this pull request, you need to add the backport labels for the needed
branches, such as:

  • backport-8./d is the label to automatically backport to the 8./d branch. /d is the digit
  • backport-active-all is the label that automatically backports to all active branches.
  • backport-active-8 is the label that automatically backports to all active minor branches for the 8 major.
  • backport-active-9 is the label that automatically backports to all active minor branches for the 9 major.

@vishaangelova vishaangelova left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM for the docs

@bmorelli25

Copy link
Copy Markdown
Member

Please add these changes to #53898 instead.

@bmorelli25 bmorelli25 closed this Nov 3, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

needs_team Indicates that the issue/PR needs a Team:* label

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[text-auditor] Fix misleading Heartbeat errors and clear field-description text defects

3 participants