Skip to content

Update dependency @elastic/ecs to v9.3.0#254661

Merged
rStelmach merged 6 commits intoelastic:mainfrom
rStelmach:rstelmach/pr-252704-copy-20260224
Feb 25, 2026
Merged

Update dependency @elastic/ecs to v9.3.0#254661
rStelmach merged 6 commits intoelastic:mainfrom
rStelmach:rstelmach/pr-252704-copy-20260224

Conversation

@rStelmach
Copy link
Copy Markdown
Contributor

@rStelmach rStelmach commented Feb 24, 2026

closes: #252704

Summary

Bumps @elastic/ecs from 9.2.0 to 9.3.0 and fixes all resulting CI test failures.

Changes

Dependency bump

  • package.json / yarn.lock - updated @elastic/ecs from 9.2.0 to 9.3.0

Snapshot updates (ECS field expansion + version string change)

  • x-pack/platform/plugins/shared/stack_alerts/server/rule_types/es_query/util.test.ts - updated inline snapshot for getSourceFields() to include ~324 new ECS fields added in 9.3.0 (e.g. entity.*, entity.target.*, host.target.*)
  • src/core/packages/logging/server-internal/src/__snapshots__/logging_system.test.ts.snap - updated ecs.version from "9.3.0-dev" to "9.3.0" across all snapshot entries

Generated schema regeneration

  • src/platform/packages/shared/kbn-alerts-as-data-utils/src/schemas/generated/ecs_schema.ts - regenerated io-ts schemas to reflect the new ECS 9.3.0 field definitions in ecsFieldMap

Test fixture updates

  • x-pack/platform/test/api_integration/apis/maps/maps_telemetry.ts - updated geo_point field count assertion from 63 to 71 to account for new ECS geo_point fields in cluster stats
  • x-pack/solutions/security/test/fixtures/es_archives/security_solution/alerts/8.1.0/mappings.json.gz - raised total_fields.limit from 2500 to 3500 in test archive mappings to prevent illegal_argument_exception when loading the SIEM alert fixture with expanded ECS fields (same approach used in [Fields Metadata] Update dependency @elastic/ecs to ^9.2.0 and optimize bundle #245798 for 8.8.0 archives, test-only, production limit in alerts_service.ts remains at 2500)

@rStelmach rStelmach added release_note:skip Skip the PR/issue when compiling release notes backport:skip This PR does not require backporting Team:obs-onboarding Observability Onboarding Team labels Feb 24, 2026
@rStelmach rStelmach changed the title bump ecs to 9.3 Update dependency @elastic/ecs to v9.3.0 Feb 24, 2026
@rStelmach rStelmach marked this pull request as ready for review February 24, 2026 11:16
@rStelmach rStelmach requested review from a team as code owners February 24, 2026 11:16
@elasticmachine
Copy link
Copy Markdown
Contributor

Pinging @elastic/obs-onboarding-team (Team:obs-onboarding)

@rStelmach rStelmach marked this pull request as draft February 24, 2026 11:16
@rStelmach
Copy link
Copy Markdown
Contributor Author

/ci

@rStelmach rStelmach marked this pull request as ready for review February 24, 2026 16:30
Copy link
Copy Markdown
Contributor

@nreese nreese left a comment

Choose a reason for hiding this comment

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

kibana-presentation changes LGTM
code review only

Copy link
Copy Markdown
Contributor

@albertoblaz albertoblaz left a comment

Choose a reason for hiding this comment

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

Security Solution changes are only 1B in mappings so LGTM

@elasticmachine
Copy link
Copy Markdown
Contributor

💚 Build Succeeded

Metrics [docs]

Async chunks

Total size of all lazy-loaded chunks that will be downloaded as the user navigates the app

id before after diff
automaticImport 1.4MB 1.5MB +58.8KB
cases 1.6MB 1.7MB +58.8KB
embeddableAlertsTable 1.1MB 1.2MB +58.8KB
ml 5.8MB 5.8MB +58.8KB
observability 2.0MB 2.0MB +58.8KB
securitySolution 11.1MB 11.2MB +58.8KB
triggersActionsUi 1.8MB 1.9MB +58.8KB
total +411.5KB

History

@rStelmach rStelmach merged commit add95df into elastic:main Feb 25, 2026
17 checks passed
@rStelmach rStelmach deleted the rstelmach/pr-252704-copy-20260224 branch February 25, 2026 10:17
@albertoblaz albertoblaz linked an issue Feb 25, 2026 that may be closed by this pull request
2 tasks
qn895 pushed a commit to qn895/kibana that referenced this pull request Mar 11, 2026
closes: elastic#252704

## Summary

Bumps `@elastic/ecs` from `9.2.0` to `9.3.0` and fixes all resulting CI
test failures.

## Changes

### Dependency bump
- **`package.json` / `yarn.lock`** - updated `@elastic/ecs` from `9.2.0`
to `9.3.0`

### Snapshot updates (ECS field expansion + version string change)
-
**`x-pack/platform/plugins/shared/stack_alerts/server/rule_types/es_query/util.test.ts`**
- updated inline snapshot for `getSourceFields()` to include ~324 new
ECS fields added in 9.3.0 (e.g. `entity.*`, `entity.target.*`,
`host.target.*`)
-
**`src/core/packages/logging/server-internal/src/__snapshots__/logging_system.test.ts.snap`**
- updated `ecs.version` from `"9.3.0-dev"` to `"9.3.0"` across all
snapshot entries

### Generated schema regeneration
-
**`src/platform/packages/shared/kbn-alerts-as-data-utils/src/schemas/generated/ecs_schema.ts`**
- regenerated io-ts schemas to reflect the new ECS 9.3.0 field
definitions in `ecsFieldMap`

### Test fixture updates
- **`x-pack/platform/test/api_integration/apis/maps/maps_telemetry.ts`**
- updated `geo_point` field count assertion from `63` to `71` to account
for new ECS geo_point fields in cluster stats
-
**`x-pack/solutions/security/test/fixtures/es_archives/security_solution/alerts/8.1.0/mappings.json.gz`**
- raised `total_fields.limit` from `2500` to `3500` in test archive
mappings to prevent `illegal_argument_exception` when loading the SIEM
alert fixture with expanded ECS fields (same approach used in elastic#245798
for `8.8.0` archives, test-only, production limit in `alerts_service.ts`
remains at `2500`)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

backport:skip This PR does not require backporting release_note:skip Skip the PR/issue when compiling release notes Team:obs-onboarding Observability Onboarding Team v9.4.0

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Upgrade Kibana's ECS version to latest

7 participants