Skip to content

[main][Automation] Update elastic/beats to 3451fb9978cb - #17137

Closed
github-actions[bot] wants to merge 9 commits into
mainfrom
update-beats-main
Closed

github-actions[bot] wants to merge 9 commits into
mainfrom
update-beats-main

Conversation

@github-actions

@github-actions github-actions Bot commented Oct 12, 2026 •

Copy link
Copy Markdown
Contributor

What

Update elastic/beats to the latest version on branch main.

Changeset

@github-actions
github-actions Bot requested a review from a team as a code owner October 12, 2026 00:41
@github-actions
github-actions Bot requested a review from samuelvl October 12, 2026 00:41
@infra-vault-gh-plugin-prod

Copy link
Copy Markdown

Pinging @elastic/elastic-agent-control-plane (Team:Elastic-Agent-Control-Plane)

@mergify

mergify Bot commented Oct 12, 2026

Copy link
Copy Markdown
Contributor

This pull request does not have a backport label. Could you fix it @github-actions[bot]? 🙏
To fixup this pull request, you need to add the backport labels for the needed
branches, such as:

  • backport-./d./d is the label that automatically backports 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.

@github-actions

This comment has been minimized.

@github-actions github-actions Bot changed the title [main][Automation] Update elastic/beats to 860e48c8b710 [main][Automation] Update elastic/beats to 0ac58af7e779 Oct 13, 2026
@github-actions github-actions Bot changed the title [main][Automation] Update elastic/beats to 0ac58af7e779 [main][Automation] Update elastic/beats to e1c91d8b3de5 Oct 14, 2026
@swiatekm

Copy link
Copy Markdown
Member

Looks like this is caused by elastic/beats#53402. Validate() now loads TLS certs and key from disk because it unpacks into the beats auth config. @belimawr can you have a look?

@belimawr

Copy link
Copy Markdown
Member

Looks like this is caused by elastic/beats#53402. Validate() now loads TLS certs and key from disk because it unpacks into the beats auth config. @belimawr can you have a look?

I'll take a look

@belimawr

Copy link
Copy Markdown
Member

@swiatekm I fixed the tests and created a followup issue for Beats: elastic/beats#53800

@elastic-vault-github-plugin-prod

Copy link
Copy Markdown
Contributor

Dependency Update Analysis

Summary: This PR updates github.com/elastic/beats/v7 from v7.0.0-alpha2.0.20261008204943-7eff44ff320c to v7.0.0-alpha2.0.20261013201320-e1c91d8b3de5 (plus resulting go.mod/go.sum transitive updates); overall risk is low-to-moderate and merge-ready.

Dependency 1: github.com/elastic/beats/v7 v7.0.0-alpha2.0.20261008204943-7eff44ff320c → v7.0.0-alpha2.0.20261013201320-e1c91d8b3de5

Ecosystem: Go

Check Result
Breaking changes ✅ None found in final PR state (compatibility fixes included)
Testable in PR ✅ Yes
Changelog highlights (old → new)
  • Upstream release-note body for this pseudo-version bump is not published as a tagged release in GitHub Releases.
  • Confirmed local metadata from the PR body points to the upstream compare range: https://github.com/elastic/beats/compare/7eff44ff320c...e1c91d8b3de5.
  • CVE/security note: no explicit CVE/GHSA entries are present in the available local metadata for this bump.
Usage in this repository

beats is heavily used in this repo (41 Go files import github.com/elastic/beats/v7), including:

  • EDOT collectors/receivers/processors and command wiring (internal/edot/**)
  • Autodiscover providers for Docker/Kubernetes (internal/pkg/composable/providers/**)
  • OTEL translation/output paths (internal/pkg/otel/translate/**)
  • Build tooling (magefile.go, dev-tools/mage/target/update/update.go)

PR evidence of compatibility adaptation in this repo:

  • pkg/testing/fixture.go: collector status type aligned from int to cproto.CollectorComponentStatus.
  • testing/integration/ess/otel_test.go: assertions updated to the new collector status enum values and behavior.
Compatibility assessment
  • The dependency remains on major version v7 (no Go import-path major bump).
  • The PR includes the required downstream test/type adjustments for changed status typing/semantics, indicating the known integration surface has been updated in lockstep.
  • No evidence of removed APIs currently consumed by this repository in the analyzed diff.
  • Security/CVE assessment from available data: no explicit advisory/CVE entries were discoverable from local metadata; no newly introduced permissive/security-sensitive config changes were observed in this repo’s adaptation commits.

Dependency 2: Transitive Go module updates from the beats bump (notably in internal/edot/go.mod)

Ecosystem: Go

Check Result
Breaking changes ✅ None found (patch-level transitive updates)
Testable in PR ✅ Yes
Changelog highlights (old → new)
  • Alongside the beats bump, transitive modules were updated (examples: cloud.google.com/go/auth 0.24.0 → 0.24.1, github.com/aws/aws-sdk-go-v2 1.47.1 → 1.47.3, github.com/Azure/azure-sdk-for-go/sdk/azcore 1.23.2 → 1.23.3, github.com/microsoft/go-mssqldb 1.11.0 → 1.11.2).
  • These are primarily patch/minor increments, consistent with dependency graph refresh from upstream beats/module updates.
  • CVE/security note: no explicit CVE/GHSA entries are present in the available local metadata for these transitive bumps.
Usage in this repository
  • These modules are pulled through Go module resolution (especially under internal/edot/*) rather than direct app-level version pin management in many places.
  • No direct feature/config migration work was needed in this PR beyond the collector status compatibility fixes already included.
Compatibility assessment
  • No major-version import-path transitions detected in the PR.
  • Updates are consistent with a transitive refresh and do not introduce visible repo-level interface breaks.
  • Residual risk is uncertainty from unavailable upstream release-note bodies for pseudo-version commits; this keeps risk at low-to-moderate rather than low.

Labels Applied

  • oblt-aw/ai/merge-ready — applied because risk is low-to-moderate, no unresolved breaking changes remain in current PR state, and this is testable in PR CI context.

What is this? | From workflow: Observability Agentic Workflow — Pull Request

Give us feedback! React with 🚀 if perfect, 👍 if helpful, 👎 if not.

@github-actions github-actions Bot changed the title [main][Automation] Update elastic/beats to e1c91d8b3de5 [main][Automation] Update elastic/beats to 3451fb9978cb Oct 15, 2026
@belimawr belimawr self-assigned this Oct 15, 2026
@belimawr

Copy link
Copy Markdown
Member

Beats update is blocked by elastic/beats#53800. I'm working on it right now.

@elastic-vault-github-plugin-prod

Copy link
Copy Markdown
Contributor

Dependency Update Analysis

Summary: This PR updates the elastic/beats dependency from 7eff44ff320c to 553c98e61d31 (with corresponding Go module/lockfile refresh), and the overall risk is low-to-moderate with no repository-specific breaking usage identified.

elastic/beats 7eff44ff320c → 553c98e61d31

Ecosystem: Go

Check Result
Breaking changes ✅ None found in this repository’s consumed imports/APIs
Testable in PR ✅ Yes — repository workflows include pull_request triggers and this change is exercised by normal PR CI paths
Changelog highlights (7eff44ff320c → 553c98e61d31)

From the upstream commit range and PR metadata:

  • Beats submodule advanced from 7eff44ff320c to 553c98e61d31.
  • go.mod/internal/edot/go.mod, sums, and NOTICE files were refreshed accordingly.
  • Notable upstream changes in this range include:
    • OTel collector dependency refreshes (0.161.0 → 0.163.0 in related Beats updates)
    • Filebeat registrar lifecycle/startup behavior improvements
    • Packetbeat stability fixes (including panic-related fixes)
    • Winlogbeat event filtering/rendering behavior adjustments
    • System metrics reporting updates on macOS

Security/CVE assessment:

  • No explicit CVE or GHSA entries were identified in the reviewed upstream commit metadata for this range.
  • No clear authn/authz, permission-scope, or crypto/TLS default hardening/regression changes were identified in this PR’s dependency bump evidence.
  • Main residual risk is behavioral drift from upstream collector/input processing changes, not a known vulnerability introduction.
Usage in this repository

github.com/elastic/beats/v7 is used broadly across core and EDOT paths, including:

  • EDOT receivers/processors/extensions and beat command wiring:
    • internal/edot/otelcol/components/default.go
    • internal/edot/beats/cmd.go
    • internal/edot/connectors/elasticmonitoring/connector.go
  • Agent composable providers for Kubernetes/Docker:
    • internal/pkg/composable/providers/kubernetes/*.go
    • internal/pkg/composable/providers/docker/*.go
  • OTEL output translation paths:
    • internal/pkg/otel/translate/output_elasticsearch.go
    • internal/pkg/otel/translate/output_kafka.go

These call sites keep the same v7 import path and no code-level call-site changes were required in this PR.

Compatibility assessment
  • This is not a Go major-version transition (still github.com/elastic/beats/v7), so no import-path migration is required.
  • The PR does not change local code that consumes Beats APIs; changes are dependency/submodule and generated manifest artifacts.
  • I did not find evidence of removed/renamed consumed interfaces in the repository usage surfaces above.
  • Transitive module refreshes (OpenTelemetry/SDK and related indirect dependencies) increase change breadth but remain consistent with a coordinated upstream Beats update.

Overall, compatibility risk is contained but non-zero due to broad runtime usage of Beats internals; current evidence supports low-to-moderate risk.

Labels Applied

  • oblt-aw/ai/merge-ready — applied because risk is low-to-moderate, no repository-specific breaking usage was identified, and ecosystem checks for this Go dependency bump are acceptable.

What is this? | From workflow: Observability Agentic Workflow — Pull Request

Give us feedback! React with 🚀 if perfect, 👍 if helpful, 👎 if not.

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Automerge eligibility gates are all satisfied for this PR, including allowed author, oblt-aw/ai/merge-ready label, non-draft status, same-repo head/base, and distinct head/base refs.


What is this? | From workflow: Observability Agentic Workflow — Pull Request

Give us feedback! React with 🚀 if perfect, 👍 if helpful, 👎 if not.

@github-actions

Copy link
Copy Markdown
Contributor Author

Automerge did not merge yet because this pull request is not ready (required status checks are still pending).

This run stays successful. Deferred automerge on the frequent schedule (about every 15 minutes) will retry the squash-merge as the Vault app (CODEOWNERS bypass via classic pull_request_bypassers) once GitHub reports all required checks green.

Armed by workflow run: https://github.com/elastic/elastic-agent/actions/runs/38772891372 (head 93f51f2b16fea4585326e51fc6f4b33fcbe69f50)

@github-actions

This comment has been minimized.

@github-actions

This comment has been minimized.

@github-actions

github-actions Bot commented Oct 15, 2026 •

Copy link
Copy Markdown
Contributor Author

Automerge skipped

Automerge skipped this pull request because the changed files do not match any configured dependency collection.

If this update should be automerged, ask a maintainer to add or adjust a collection, or merge the pull request manually.

See Opt in or opt out for how to enable or disable Automerge collections on the Control Plane Dashboard.

Collections currently enabled for automerge: github-actions, pre-commit, update-beats, vm-images, package-version

Changed files considered:

  • NOTICE-fips.txt
  • NOTICE.txt
  • beats
  • go.mod
  • go.sum
  • internal/edot/README.md
  • internal/edot/go.mod
  • internal/edot/go.sum
  • internal/pkg/otel/translate/beatsauth_test.go

@elastic-vault-github-plugin-prod

Copy link
Copy Markdown
Contributor

Dependency Update Analysis

Summary: This PR updates elastic/beats plus synchronized Go module manifests (go.mod/go.sum, including internal/edot) with an overall low-to-moderate risk profile; no repository-usage breaking change was confirmed from the updated dependency surfaces.

github.com/elastic/beats/v7 / submodule (7eff44ff320c → 553c98e61d31, with go.mod pseudo-version ...-7eff44ff320c → ...-3451fb9978cb)

Ecosystem: Go

Check Result
Breaking changes ✅ None found in repository-consumed imports/config usage
Testable in PR ✅ Yes — repository CI includes pull_request-triggered workflows
Changelog highlights (old → new)

Upstream release-note body is not published as a tagged release for this commit-pinned bump. From local PR metadata/commits:

  • PR metadata links Beats compare: 7eff44ff320c...3451fb9978cb.
  • Commit 3451fb9978cb message: drop serverless Beats test trigger (CI behavior in Beats repo).
  • Follow-up in this PR updates submodule to 553c98e61d31 (update Beats to fix beatsauth).

Security/CVE review: no CVE or GHSA identifiers were present in the available upstream metadata for this bump.

Usage in this repository

github.com/elastic/beats/v7 is widely consumed in agent runtime paths, including:

  • internal/pkg/otel/translate/* (outputs/auth translation)
  • internal/pkg/composable/providers/* (kubernetes/docker autodiscover)
  • internal/edot/otelcol/components/* and internal/edot/beats/*
  • build tooling references in magefile.go and dev-tools/mage/target/update/update.go

The PR also refreshes many transitive Go deps in go.mod and internal/edot/go.mod (notably OTel collector/contrib v0.161.0 → v0.163.0 and OTel Go v1.46.0 → v1.47.0).

Compatibility assessment
  • No Go major-version import-path break was introduced by the updated module set.
  • OTel contrib v0.163.0 includes upstream breaking/deprecation notes, but local usage checks did not show direct use of removed prometheus_simple TLS keys or removed receiver settings in this repo’s consumed paths.
  • sqlserver rename in contrib remains alias-compatible upstream; repository SQL Server references remain compatible.
  • No commit-signature verification gate applies here (no GitHub Action SHA pin updates in PR diff).

Overall: changes are consistent with an automated Beats/main sync and accompanying lockfile/manifests update, with contained compatibility risk.

Labels Applied

  • oblt-aw/ai/merge-ready — applied because risk is low-to-moderate, no confirmed breaking usage impact, and PR-context CI testability is available.

What is this? | From workflow: Observability Agentic Workflow — Pull Request

Give us feedback! React with 🚀 if perfect, 👍 if helpful, 👎 if not.

@elastic-vault-github-plugin-prod

Copy link
Copy Markdown
Contributor

Dependency Update Analysis

Summary: This PR updates github.com/elastic/beats/v7 from v7.0.0-alpha2.0.20261008204943-7eff44ff320c to v7.0.0-alpha2.0.20261014202913-3451fb9978cb (plus transitive Go module refreshes); overall risk is low-to-moderate and compatible with current repository usage.

Dependency 1: github.com/elastic/beats/v7 v7.0.0-alpha2.0.20261008204943-7eff44ff320c → v7.0.0-alpha2.0.20261014202913-3451fb9978cb

Ecosystem: Go

Check Result
Breaking changes ✅ None found for consumed interfaces in this repository
Testable in PR ✅ Yes — repository CI includes pull_request workflows (for example golangci-lint.yml, macos-unit-tests.yml)
Changelog highlights (vOLD → vNEW)

Upstream release notes are not published for this pseudo-version/commit pin; analysis used local metadata and commit range references from the PR body (elastic/beats compare 7eff44ff320c...3451fb9978cb).

Observed endpoint commit context:

  • Old endpoint commit (7eff44ff...): Filebeat registrar lifecycle optimization (start registrar only when needed).
  • New endpoint commit (3451fb99...): remove obsolete serverless beats test trigger in elastic-agent CI integration.

No CVE/GHSA IDs were present in the available commit metadata for this bump.

Usage in this repository

github.com/elastic/beats/v7 is broadly used across core and EDOT paths (83 matches in 41 Go files), including:

  • internal/edot/otelcol/components/default.go (multiple beat receivers/processors/extensions)
  • internal/edot/beats/*.go (beat command wiring)
  • internal/pkg/composable/providers/{kubernetes,docker,...}
  • internal/pkg/otel/translate/*

go.mod also keeps replace github.com/elastic/beats/v7 => ./beats, and the submodule pointer changed from 7eff44ff... to 553c98e....

Compatibility assessment
  • Major version remains v7 (no Go import-path major migration required).
  • Repository code did not require runtime API refactors for beats imports.
  • The related test adjustment in internal/pkg/otel/translate/beatsauth_test.go was for OpenTelemetry exporter config construction (CreateDefaultConfig()), consistent with transitive OTel updates and not a beats API break.
  • Risk impact is mainly from broad transitive updates (go.mod, internal/edot/go.mod, go.sum, NOTICE*), but changes remain within existing major lines.

Dependency 2: OpenTelemetry transitive set (representative bumps)

  • go.opentelemetry.io/collector/* v1.67.0/v0.161.0 → v1.69.0/v0.163.0
  • github.com/open-telemetry/opentelemetry-collector-contrib/* v0.161.0 → v0.163.0
  • go.opentelemetry.io/otel/* v1.46.0 → v1.47.0

Ecosystem: Go

Check Result
Breaking changes ✅ None found affecting currently consumed repository paths
Testable in PR ✅ Yes — exercised through PR CI workflows (pull_request-triggered lint/test pipelines)
Changelog highlights (vOLD → vNEW)

From upstream release notes:

  • opentelemetry-collector-contrib v0.163.0: includes some breaking changes in specific components (for example opampsupervisor, connector/failover, signalfx, prometheus_simple) plus security-relevant hardening/fixes (redaction behavior fixes, auth/secret-provider enhancements, gRPC allowed-clients/rate-limit enforcement in yang_grpc).
  • opentelemetry-collector v0.163.0: includes bug fix to redact config-opaque map-list values in snapshots.
  • opentelemetry-go v1.47.0: logs API/SDK stability milestone and incremental API additions.

No explicit CVE/GHSA identifiers were listed in the reviewed release-note bodies.

Usage in this repository
  • OTel collector/exporter components are wired in internal/edot/otelcol/components/default.go.
  • elasticsearchexporter is used in component registration and tests (internal/pkg/otel/translate/beatsauth_test.go, internal/edot/processors/elasticmonitoring/convert_test.go).
  • This PR updates test config construction to exporter defaults, then sets mode explicitly (bodymap), matching current dependency behavior.
Compatibility assessment
  • The PR includes the necessary test-side adaptation for exporter config defaults.
  • No evidence of removed APIs/inputs used by this repository in updated dependencies.
  • Security posture is unchanged to improved (hardening fixes upstream; no new vulnerable surface identified in current usage).

Labels Applied

  • oblt-aw/ai/merge-ready — applied (overall risk low-to-moderate, no consumed-interface breakage found, ecosystem checks pass for this PR context).

What is this? | From workflow: Observability Agentic Workflow — Pull Request

Give us feedback! React with 🚀 if perfect, 👍 if helpful, 👎 if not.

@infra-vault-gh-plugin-prod

Copy link
Copy Markdown

💔 Build Failed

Failed CI Steps

History

cc @belimawr

@mergify

mergify Bot commented Oct 15, 2026

Copy link
Copy Markdown
Contributor

This pull request is now in conflicts. Could you fix it? 🙏
To fixup this pull request, you can check out it locally. See documentation: https://help.github.com/articles/checking-out-pull-requests-locally/

git fetch upstream
git checkout -b update-beats-main upstream/update-beats-main
git merge upstream/main
git push upstream update-beats-main

@mergify mergify Bot closed this Oct 15, 2026
@mergify

mergify Bot commented Oct 15, 2026

Copy link
Copy Markdown
Contributor

This pull request has been automatically closed by Mergify.
There are some other up-to-date pull requests.

@github-actions

Copy link
Copy Markdown
Contributor Author

TL;DR

Build #47880 failed before tests started because the Buildkite PR merge hook could not merge this PR commit onto main due to content conflicts in internal/edot/README.md, internal/edot/go.mod, and internal/edot/go.sum. Immediate action: rebase/merge main into this branch and resolve those conflicts, then rerun CI.

Remediation

  • Update branch update-beats-main with the latest main and resolve merge conflicts in:
    • internal/edot/README.md
    • internal/edot/go.mod
    • internal/edot/go.sum
  • Regenerate and commit any resulting dependency/generated-file updates (mage update, then commit).
  • Re-run Buildkite and confirm the :pipeline::arrow_up: Upload Pipeline: .buildkite/pipeline.yml step passes.
Investigation details

Root Cause

This is a configuration/branch-state failure (not a test flake and not an infra transient): Buildkite’s repository post-checkout hook intentionally performs a merge of the PR commit into the target branch, and that merge is now conflicting.

Hook path and behavior:

  • .buildkite/hooks/post-checkout:61-66 runs git merge --no-edit "${pr_commit}" and exits non-zero on conflict.
  • In this build, that merge failed with explicit conflicts and aborted the step.

Evidence

  • Build: https://buildkite.com/elastic/elastic-agent/builds/47880
  • Job/step: :pipeline::arrow_up: Upload Pipeline: .buildkite/pipeline.yml
  • Key log excerpts from /tmp/gh-aw/buildkite-logs/elastic-agent-pipelinearrow_up-upload-pipeline-buildkitepipelineyml.txt:
    • L121: CONFLICT (content): Merge conflict in internal/edot/README.md
    • L125: CONFLICT (content): Merge conflict in internal/edot/go.mod
    • L129: CONFLICT (content): Merge conflict in internal/edot/go.sum
    • L131: Automatic merge failed; fix conflicts and then commit the result.
    • L145: Error: running "repository post-checkout" shell hook: ... exited with status 1

Dedup check: the latest prior detective comments on this PR covered different failure modes (earlier test/check failures), not this merge-conflict hook failure.

Verification

  • Local tests not run (failure is in Buildkite checkout/merge phase before test execution).

Follow-up

  • I did not find evidence this maps to a flaky-test class; failure is deterministic branch conflict and aligns with Mergify’s subsequent “PR is now in conflicts” comment.

What is this? | From workflow: Observability Agentic Workflow — Status

Give us feedback! React with 🚀 if perfect, 👍 if helpful, 👎 if not.

@belimawr

Copy link
Copy Markdown
Member

Superseded by #17249

@belimawr
belimawr deleted the update-beats-main branch October 16, 2026 20:46
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants